How to stretch PictureBox into Maximized screen size ?
Currently the size of picturebox is exactly the size of the image, I want to stretch to the resolution screen size excluding taskbar.
private void Form2_Load(object sender, EventArgs e)
{
Form2 f2 = new Form2();
pictureBox1.Size = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Width,
Screen.PrimaryScreen.Bounds.Height);
}