private void setActiveWordListToolStripMenuItem_Click(object sender, EventArgs e) { using (SelectWordList selectWordList = new SelectWordList()) { selectWordList.SelectHandler += MyListFormSelectedHandler; selectWordList.ShowDialog(); selectWordList.StartPosition = FormStartPosition.CenterParent; TranslationGridView.Show(); } }
private void setActiveWordListToolStripMenuItem_Click(object sender, EventArgs e) { using (SelectWordList selectWordList = new SelectWordList()) { selectWordList.SelectHandler += MyListFormSelectedHandler; selectWordList.ShowDialog(); selectWordList.StartPosition = FormStartPosition.CenterParent; TranslationGridView.Show(); editModeToolStripMenuItem.Checked = true; practiceModeToolStripMenuItem.Checked = false; AddButton.Show(); RemoveButton.Show(); PracticeButton.Show(); } }