private void button1_Click(object sender, EventArgs e) { if (textBox3.Text == "") { return; } for (int i = 0; i < int.Parse(textBox3.Text); i++) { ScoreManageAction.getClass(listView1, listView1.Items[i].SubItems[2].Text); } ScoreManageAction.scoreAnalysis(listView1, textBox1.Text); }
public ScoreUpdate(Teacher t) { this.t = t; InitializeComponent(); Hashtable htCourseNo = new Hashtable(); Hashtable htCourseName = new Hashtable(); ScoreManageAction.getCourseList(htCourseNo, htCourseName, t.workerNo); foreach (DictionaryEntry de in htCourseName) { comboBox2.Items.Add(de.Key); } }
private void button2_Click(object sender, EventArgs e) { ScoreManageAction.loadAllStudent(listView1, textBox2.Text); }
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { textBox2.Text = ScoreManageAction.getCourseNo(comboBox2.Text, t.workerNo); textBox1.Text = CourseManageAction.NumberInClass(textBox2.Text).ToString(); }
public ScoreResearch(Student s) { InitializeComponent(); this.s = s; ScoreManageAction.QueryScoreInfo(listView1, s.studentNo); }
private void button2_Click(object sender, EventArgs e) { ScoreManageAction.scoreAnalysis(listView1, textBox1.Text); }
private void textBox1_TextChanged(object sender, EventArgs e) { textBox2.Text = ScoreManageAction.getCourseName(textBox1.Text); textBox3.Text = CourseManageAction.NumberInClass(textBox1.Text).ToString(); }