public frmNewStudent(frmStudentList parent, int editIndex) { InitializeComponent(); ParentFrm = parent; this.editIndex = editIndex; LoadStudent(parent.GetStudent(editIndex)); }
public frmNewStudent(frmStudentList parent) { InitializeComponent(); ParentFrm = parent; }