//Add for assignments private void button13_Click(object sender, EventArgs e) { count[0] += 1; number[0] = double.Parse(Grade1.Text); total[0] += number[0]; Grade1.Clear(); }
//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(); }