using system.drawing does not load

Posted on 2007-10-14
Last Modified: 2012-08-14
I am very new to C# and am having a problem with using Graphics...  I am creating a component for a traffic light, and can not using Graphics because I cannot load System.Drawing. When I type in using system.
the drawing option does not appear... what am I doing wrong?
Question by:brassmon
    LVL 21

    Expert Comment

    Make sure you are typing using above the namespace tag?

    using System.Drawing;

    namespace EE.Questions.C#

    Which project are you trying to type using in? web /windows/ services ??

    Author Comment

    I am typing above the namespace.. and all of the other namespaces are working fine...

    I'm not sure what you mean by your question.. I'm writing a windows program..

    when I type using system.    why would drawing not show up in the list of choices?
    LVL 21

    Expert Comment

    Try adding System.Drawing into the references
    LVL 21

    Accepted Solution

    right click ur project-> add reference -> choose .net -> look for system.drawing

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video discusses moving either the default database or any database to a new volume.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now