예제 #1
0
        private void repositoryEditStudent_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            int            id_Student = int.Parse(gvMain1.GetFocusedRowCellValue("id_Student").ToString());
            FRM_AddStudent frm        = new FRM_AddStudent(id_Student);

            frm.ShowDialog();
            loadStudent();
        }
예제 #2
0
        private void simpleButtonAddStudent_Click(object sender, EventArgs e)
        {
            FRM_AddStudent fRM = new FRM_AddStudent();

            fRM.ShowDialog();
        }