private void webControlToolStripMenuItem_Click(object sender, EventArgs e) { using (var dlg = new WebDialog()) { dlg.ShowDialog(this); } }