Exemple #1
0
 private void btnReprogram_Click(object sender, EventArgs e)
 {
     try
     {
         Programming pro = new Programming();
         pro.TableForm = this;
         pro.StartAlgorithm(this.year, this.semester);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.TargetSite + "\n" + ex.Message);
     }
 }
 private void programmingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Management.Programming pro = new Management.Programming();
     pro.ParentForm = this;
     pro.StartAlgorithm();
 }