System.Drawing.Color in a public class?



I'm a bit baffled. I'm fairly new to VB.NET so maybe I'm missing
something. I'm creating a class that has some application-specific
methods and properties and one thing I'd like to do is define some
properties specific to form colors. So what I want to do is define my
class like

Imports System.Windows.Forms
Imports System.Drawing.Color
Public Class Forms
... my stuff here...
End Class

However, when I include "Imports System.Drawing.Color" I get an error
"Namespace or type 'Color' for the Imports 'System.Drawing.Color'
cannot be found.". In fact after typing "System.Drawing." the only
option in IntelliSence is "Design".

Is there some reason that I cannot import System.Drawing.Color into my
class? This is just a regular class, not one associated with a form,
usercontrol, etc.

.



Relevant Pages

  • Re: Microsoft.VisualBasic.String.Left
    ... I was missing an Imports and I added System.String as one option. ... Knowing the command I want to use, ... out what Imports I need to reference to use it? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: System.Drawing.Color in a public class?
    ... You should import the namespace containing the class you want, ... > properties specific to form colors. ... > Imports System.Windows.Forms ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Re: Group address book
    ... "Wmshwe" wrote in message ... contact.pst file and import it on another machine, it imports the contacts and group but members in the groups are missing. ...
    (microsoft.public.outlook)
  • Help trying to program with SDK
    ... Imports Microsoft.SharePoint ... Am I missing something to install to recognize the ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: create subdir
    ... don't want to use the absolute path, what am i missing? ... Imports System.IO .. ... Path.Combine, "backup") _) ...
    (microsoft.public.dotnet.languages.vb)