private void networkToolStripMenuItem_Click(object sender, EventArgs e) { // show network settings form NetworkSettingsForm nwsf = new NetworkSettingsForm(); nwsf.ShowDialog(); }