Exemple #1
0
        /// <summary>
        /// 课程新增
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button15_Click(object sender, EventArgs e)
        {
            var frm = new FrmSubjectManage();

            frm.ShowDialog();
            button16_Click(null, null);
        }
Exemple #2
0
        /// <summary>
        /// 课程编辑
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button14_Click(object sender, EventArgs e)
        {
            if (dataGridView4.SelectedRows.Count < 1)
            {
                return;
            }
            var sub = subjectManage.GetSubject((string)dataGridView4.SelectedRows[0].Cells[2].Value);
            var frm = new FrmSubjectManage(sub);

            frm.ShowDialog();
            button16_Click(null, null);
        }