I have a method which does something. However to do the desired thing i must call the CreateGraphics method. I Created a new class (added a new class) and now inside my method i can t call this method. What am i missing? I can call the CreateGraphics method inside my main class.

Is this graphics context for a control, or for an off-screen image? Do you have a small sample application that we can work with?

I forgot to call the base class FORMS,now i m able to see that method.-.-