private void remoteCommandLineToolStripMenuItem_Click(object sender, EventArgs e) { using (RemoteCommandLineForm commandLineForm = new RemoteCommandLineForm()) { commandLineForm.ShowDialog(); } }