DrawShape(Line object, Graphics gObject)
public void Draw(Graphics object);
On button Click()
Line object = new Line();
//I want to draw the line on mainform's panel for
//that i need Graphics object of Mainform.panel.
// Global.DrawShape(object, GraphicsObject);
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)