/// <summary> /// Load the Bitmap image in current picturebox /// </summary> /// <param name="sender"></param> /// <param name="e">Contains information for current event</param> private void loadToolStripMenuItem_Click(object sender, EventArgs e) { //Exception handling in case load dialog is opened and not used try { openFileDialog1.ShowDialog(); OutputWindow.Load(openFileDialog1.FileName); } catch (Exception) { } }