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.

Recommended Answers

All 2 Replies

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.-.-

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.