public createStudentForm()
 {
     InitializeComponent();
     this.Business         = new studentManagement();
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
 }
Пример #2
0
 public indexStudentForm()
 {
     InitializeComponent();
     this.Business                 = new studentManagement();
     this.Load                    += indexStudentForm_Load;
     this.btnAddStn.Click         += btnAddStn_Click;
     this.btnDeleteStn.Click      += btnDeleteStn_Click;
     this.grdStudents.DoubleClick += grdStudents_DoubleClick;
 }
 public UpdateStudentForm(int id)
 {
     InitializeComponent();
     this.studentID        = id;
     this.Business         = new studentManagement();
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
     this.Load            += UpdateStudentForm_Load;
 }