private void PracticeButton_Click(object sender, EventArgs e) { PracticeControl practiceControl = new PracticeControl(); Controls.Add(practiceControl); practiceControl.Dock = DockStyle.Fill; practiceControl.Show(); TranslationGridView.Hide(); AddButton.Hide(); RemoveButton.Hide(); PracticeButton.Hide(); practiceModeToolStripMenuItem.Checked = true; editModeToolStripMenuItem.Checked = false; }
private void MainForm_Load(object sender, EventArgs e) { AddButton.Hide(); RemoveButton.Hide(); PracticeButton.Hide(); }