private void bt_Lesson_Click(object sender, EventArgs e)
        {
            FrmAddLesson frmlesson = new FrmAddLesson();

            frmlesson.updatelist2 += new UpdateEventHandler2(updata);
            frmlesson.ShowDialog();
        }
        private void bt_ReviceLesson_Click(object sender, EventArgs e)
        {
            int          rows       = dgv_Lesson.CurrentRow.Index;            //得到行
            int          column     = dgv_Lesson.CurrentCell.ColumnIndex + 1; //得到列
            string       Course     = dgv_Lesson.Rows[rows].Cells[0].Value.ToString();
            int          Course_Id  = Convert.ToInt32(dgv_Lesson.Rows[rows].Cells[1].Value);
            string       Department = dgv_Lesson.Rows[rows].Cells[2].Value.ToString();
            int          key        = 1;
            FrmAddLesson revice     = new FrmAddLesson(Course, Course_Id, Department, key);

            revice.updatelist2 += new UpdateEventHandler2(updata);
            revice.ShowDialog();
        }