Beispiel #1
0
 private void btn_AddRubrics_Click(object sender, EventArgs e)
 {
     Rubric.getInstance().Show();
     Rubric.getInstance().Refresh();
     Rubric.getInstance().Location = this.Location;
     this.Close();
 }
Beispiel #2
0
 public static Rubric getInstance()
 {
     if (instance == null)
     {
         instance = new Rubric();
     }
     return(instance);
 }
        private void btn_AddRubrics_Click(object sender, EventArgs e)
        {
            Rubric.getInstance().Show();

            Rubrics r = new Rubrics();

            Rubric.getInstance().cmb_CLO.Items.Clear();
            r.AddToComboBox(Rubric.getInstance().cmb_CLO);

            Rubric.getInstance().Refresh();
            Rubric.getInstance().Location = this.Location;
            this.Close();
        }