private void applicationOptionToolStripMenuItem_Click(object sender, EventArgs e) { ToolStripMenuItem option = (ToolStripMenuItem)sender; ApplicationOption frmOption = new ApplicationOption(option.Text); frmOption.ShowDialog(); }