示例#1
0
        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;
        }
示例#2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     AddButton.Hide();
     RemoveButton.Hide();
     PracticeButton.Hide();
 }