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(); }
private void simpleButtonAddStudent_Click(object sender, EventArgs e) { FRM_AddStudent fRM = new FRM_AddStudent(); fRM.ShowDialog(); }