Ejemplo n.º 1
0
 public CreateStudentForm()
 {
     InitializeComponent();
     this.Business         = new StudentManagement();
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public IndexStudentForm()
 {
     InitializeComponent();
     this.Business                 = new StudentManagement();
     this.Load                    += IndexStudentForm_Load;
     this.btnCreate.Click         += btnCreate_Click;
     this.btnDelete.Click         += btnDelete_Click;
     this.grdStudents.DoubleClick += grdStudents_DoubleClick;
 }