private void deleteToolStripMenuItem_Click(object sender, EventArgs e) { if (commandList.SelectedItems.Count == 1) { NewTCForm tcForm = new NewTCForm(this, commandList.SelectedItems[0]); tcForm.Show(); } }
private void addNewToolStripMenuItem_Click(object sender, EventArgs e) { NewTCForm tcForm = new NewTCForm(this); tcForm.Show(); }