drawing.graphics
dear all!
Pls help me!
i want to draw a cross line with start point and end point .
my code :
Pen p=new Pen(Color.Black,1);
Graphics g= new Graphics();
g.DrawLine(p,new Point(0,0),new Point(100,100));
mesg " system.darwing.graphics has no constructors defined !
Pls help me!
i want to draw a cross line with start point and end point .
my code :
Pen p=new Pen(Color.Black,1);
Graphics g= new Graphics();
g.DrawLine(p,new Point(0,0),new Point(100,100));
mesg " system.darwing.graphics has no constructors defined !
Comments
You can catch the event and take Graphics object from the event.
Something like this: