4
Reply

Drawing Lines on a panel, not the form itself

Guan

Guan

Aug 24 2010 7:43 PM
3.4k
Hello CSharpCorner

I'm working on a paintapplication working with GDI+ in C# and i have a little problem.

In my first step i want to draw a simple line in A PANEL.
There are many tutorials that explain how it works on the form itself but it's quite important for my project it's in a panel.

Even when i put the code to draw on the form itself it gives a error.

With what code can i simply draw this line on a panel?

greetz

Answers (4)