Software Development Network>> Windows Forms>> Display image using c#
Tell me how to display image in c# forms using c#
Use a PictureBox... Then to load the image you can use:
pictureBox1.Image =
I works fine. Thank you for making simples things for simple people.
I want to draw a rectangle OVER the image
ControlPaint.DrawReversibleFrame(rc, Color.Red, FrameStyle.Thick);
The trouble is that the image is painted back after drawing the rectangle...
Is there something like "On Paint" with MFC
Regards
Display image using c#
Firas Saltaji
Adi.Condor
Use a PictureBox... Then to load the image you can use:
pictureBox1.Image =
Image.FromFile("c:\\filename.jpg");SanjeevUpd
I want to draw a rectangle OVER the image
ControlPaint.DrawReversibleFrame(rc, Color.Red, FrameStyle.Thick);
The trouble is that the image is painted back after drawing the rectangle...
Is there something like "On Paint" with MFC
Regards