private void threadFormToolStripMenuItem_Click(object sender, EventArgs e) { ThreadForm threadForm = new ThreadForm(); threadForm.ShowDialog(); }