السلام عليكم
i have made an object from Graphics class like the following
Graphics g = pictureBox1.CreateGraphics();
then i used four variables
int x1,y1,x2,y2 ;
to hold the points of MouseDown and MousUp events
and in the MouseUp i wrote
g.DrawLine(new Pen(Color.Black),x1,y1,x2,y2)
So that i can draw lines in the picturebox.....
now i made a button to open a saveFileDialog, and i want to save what i've drew in the form of Bitmat
Can any one pleeeeeeeeeeeeeeeeeease tell me how ??????????
thanx
