Esempio n. 1
0
        /// <summary>
        /// 成绩新增
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button7_Click(object sender, EventArgs e)
        {
            var frm = new FrmStuSubManage();

            frm.ShowDialog();
            button8_Click(null, null);
        }
Esempio n. 2
0
        /// <summary>
        /// 成绩编辑
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button6_Click(object sender, EventArgs e)
        {
            if (dataGridView2.SelectedRows.Count < 1)
            {
                return;
            }
            var sub = studentManage.GetStuInfo((int)dataGridView2.SelectedRows[0].Cells[0].Value);
            var frm = new FrmStuSubManage(sub);

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