private void btnAdd_Click(object sender, EventArgs e)
 {
     string flag="Exercise";
     AddExercise adex = new AddExercise(flag,false);
     adex.Show();
     this.Hide();
 }
Esempio n. 2
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     AddExercise adexer = new AddExercise("Exercise", true);
     adexer.Show();
     toolStripButton5.Visible = true;
     toolStripButton2.Enabled = false;
     toolStripButton3.Enabled = false;
     toolStripButton4.Enabled = false;
     tV.Enabled = false;
     toolStripButton5.Enabled = true;
     rTB.Enabled = false;
     toolStripButton1.Enabled = false;
 }