public CreateStudentForm() { InitializeComponent(); this.Business = new StudentManagement(); this.btnCancel.Click += btnCancel_Click; this.btnSave.Click += btnSave_Click; }
public UpdateStudentForm(int id) { InitializeComponent(); this.StudentId = id; this.btnSave.Click += btnSave_Click; this.btnCancel.Click += btnCancel_Click; this.Business = new StudentManagement(); this.Load += UpdateStudentForm_Load; }
public IndexStudentForm() { InitializeComponent(); this.btnCreate.Click += btnCreate_Click; this.btnDelete.Click += btnDelete_Click; this.grdStudent.DoubleClick += grdStudent_DoubleClick; this.Load += IndexStudentForm_Load; this.Business = new StudentManagement(); }