﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Create a Solid Brush</Title>
      <Author>Microsoft Corporation</Author>
      <Description>Creates a SolidBrush object.</Description>
      <Shortcut>drawBrush</Shortcut>
    </Header>
    <Snippet>
      <References>
        <Reference>
          <Assembly>System.Drawing.dll</Assembly>
        </Reference>
      </References>
      <Imports>
        <Import>
          <Namespace>System</Namespace>
        </Import>
        <Import>
          <Namespace>Microsoft.VisualBasic</Namespace>
        </Import>
        <Import>
          <Namespace>System.Drawing</Namespace>
        </Import>
      </Imports>
      <Declarations>
        <Object>
          <ID>color</ID>
          <Type>System.Drawing.Color</Type>
          <ToolTip>Replace with the color of the brush to be created.</ToolTip>
          <Default>Color.PeachPuff</Default>
        </Object>
      </Declarations>
      <Code Language="VB" Kind="method body"><![CDATA[Dim aBrush As System.Drawing.SolidBrush
aBrush = New System.Drawing.SolidBrush($color$)

            ]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>