I need to create basic MyControl - Custom (User) Control having the only "Line" method drawing straight line inside MyControl.
I want to call this method as MyControl1.Line(x1,y1,x2,y2) from the Main Form on Button_Click Event.
And no more code in this form for now.
--------
And I'm confused about all this Graphics graphics....
With different "Invalidate","Dispose", etc....
--------
Does anybody can help me? Thanx in advance.
I want to call this method as MyControl1.Line(x1,y1,x2,y2) from the Main Form on Button_Click Event.
And no more code in this form for now.
--------
And I'm confused about all this Graphics graphics....
With different "Invalidate","Dispose", etc....
--------
Does anybody can help me? Thanx in advance.