Exemplo n.º 1
0
 //Add for Midterms
 private void button11_Click(object sender, EventArgs e)
 {
     count[3] += 1;
     number[3] = double.Parse(Grade3.Text);
     total[3] += number[3];
     Grade3.Clear();
 }
Exemplo n.º 2
0
 //Clear function
 private void ClearListBoxes()
 {
     Avg1.Clear();
     Avg2.Clear();
     Avg3.Clear();
     Avg4.Clear();
     Avg5.Clear();
     Avg6.Clear();
     GrdNeeded.Clear();
     Ovrl.Clear();
     like.Clear();
     think.Clear();
     Grade1.Clear();
     Grade2.Clear();
     Grade3.Clear();
     Grade4.Clear();
     Assign.Checked     = false;
     Quizz.Checked      = false;
     Labs.Checked       = false;
     Midterm.Checked    = false;
     checkBonus.Checked = false;
     W1.Clear();
     W2.Clear();
     W3.Clear();
     W4.Clear();
 }