コード例 #1
0
        //点击下一步的事件
        private void b_next_Click_1(object sender, EventArgs e)
        {
            cou_id  = t_id.Text.Trim();
            cou_num = t_num.Text.Trim();
            Add_Stu_Info a = new Add_Stu_Info(tea_id, cou_id, cou_num);

            a.Show();
            this.Hide();
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: qaz734913414/CallNames
        private void Picture_Click_addStu(object sender, EventArgs e)
        {
            PictureBox p = (PictureBox)sender;

            DataTable dt = teacherBll.getCourseIdAndNum(tea_id);

            cou_id  = dt.Rows[Convert.ToInt32(p.Name)][0].ToString();
            cou_num = dt.Rows[Convert.ToInt32(p.Name)][1].ToString();

            Add_Stu_Info a = new  Add_Stu_Info(tea_id, cou_id, cou_num);

            a.Show();
            this.Hide();
        }