use image class c# code example
Example 1: c# image
private void ImageExampleForm_Paint(object sender, PaintEventArgs e)
{
Image newImage = Image.FromFile("SampImag.jpg");
Point ulCorner = new Point(100, 100);
e.Graphics.DrawImage(newImage, ulCorner);
}
Example 2: c# display image
OpenFileDialog open = new OpenFileDialog();
open.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";
if (open.ShowDialog() == DialogResult.OK) {
pictureBox1.Image = new Bitmap(open.FileName);
textBox1.Text = open.FileName;
}