コード例 #1
0
 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);
 }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     ScoreManageAction.loadAllStudent(listView1, textBox2.Text);
 }
コード例 #4
0
 private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
 {
     textBox2.Text = ScoreManageAction.getCourseNo(comboBox2.Text, t.workerNo);
     textBox1.Text = CourseManageAction.NumberInClass(textBox2.Text).ToString();
 }
コード例 #5
0
 public ScoreResearch(Student s)
 {
     InitializeComponent();
     this.s = s;
     ScoreManageAction.QueryScoreInfo(listView1, s.studentNo);
 }
コード例 #6
0
 private void button2_Click(object sender, EventArgs e)
 {
     ScoreManageAction.scoreAnalysis(listView1, textBox1.Text);
 }
コード例 #7
0
 private void textBox1_TextChanged(object sender, EventArgs e)
 {
     textBox2.Text = ScoreManageAction.getCourseName(textBox1.Text);
     textBox3.Text = CourseManageAction.NumberInClass(textBox1.Text).ToString();
 }