コード例 #1
0
        //增加一条教师记录
        private void btnAdd_Click_1(object sender, EventArgs e)
        {
            InputTeacherForm itf = new InputTeacherForm();

            itf.MdiParent = this.MdiParent;
            itf.Show();
        }
コード例 #2
0
        //修改
        private void btnUpdate_Click_1(object sender, EventArgs e)
        {
            Teacher          t   = TeacherManageAction0.QueryTeacherInfo(tbWorkerNo.Text);
            InputTeacherForm asf = new InputTeacherForm(t);

            asf.MdiParent = this.MdiParent;
            asf.Show();
            TeacherManageAction0.loadAllTeacher(lvWorkerList, "", "", "");
        }
コード例 #3
0
 private void 增加ToolStripMenuItem2_Click(object sender, EventArgs e)
 {
     TeacherManager.InputTeacherForm it = new TeacherManager.InputTeacherForm();
     it.MdiParent = this;
     it.Show();
 }