Please correct if I am wrong in Design or suggest me to go through right way..
I have created one small assignment. and i need your suggestions to work that application.
As my previous mfc code was unmanaged and thinking the same way,
so I m getting little confused to work with managed c# code.
Mainform class:- which runs through main application which contains 2 panels.
DrawShape(Line object, Graphics gObject)
public void Draw(Graphics object);
Form1 class:- Its independent form. contains one button
On button Click()
Line object = new Line();