MAY
"Scatropolis" <
[email protected]> ???
???...
it's actually best to draw on a Image/Bitmap and put that image on the form.
pictureBox1.Image =ew Bitmap(pictureBox1.Width, pictureBox1.Height);
Image bmp =ictureBox1.Image;
Graphics g =raphics.FromImage(bmp);
//Edit bmp
g.FillRectangle(new SolidBrush(Color.White), 0, 0, pictureBox1.Width,
pictureBox1.Height);
for(int I= I < pictureBox1.Width; I+)
g.DrawLine(new Pen(Color.Black), pictureBox1.Width - I, 0, 0, I);
//Display bmp
pictureBox1.Image =mp;
then to save the image all you'd have to do is make the image public or
something and
bmp.SaveTo("C:\stuff.png");
Hope that helps