// Executed when the user clicks on Tools -> Options private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { using (OptionsForm of = new OptionsForm()) { of.ShowDialog(this); } }
// Executed when the user clicks on Tools -> Options private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { try { using (OptionsForm of = new OptionsForm()) { of.ShowDialog(this); } } catch (Exception ex) { Program.ShowMessageBox("FrmWebBrowser", ex); } }