public CreateStudentForm() { InitializeComponent(); this.Business = new StudenManagement(); this.btnSave.Click += btnSave_Click; this.btnCancel.Click += btnCancel_Click; }
public IndexStudenFrom() { InitializeComponent(); this.Business = new StudenManagement(); this.Load += IndexStudenFrom_Load; this.btnCreate.Click += btnCreate_Click; this.btnDelete.Click += btnDelete_Click; this.grdStudents.DoubleClick += grdStudents_DoubleClick; }
public UpdateStudentForm(int id) { InitializeComponent(); this.Student_id = id; this.Business = new StudenManagement(); this.btnSave.Click += btnSave_Click; this.btnCancel.Click += btnCancel_Click; this.Load += UpdateStudentForm_Load; }