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