Exemplo n.º 1
0
 public CreateStudentForm()
 {
     InitializeComponent();
     this.Business         = new StudentManagement();
     this.btnCancel.Click += btnCancel_Click;
     this.btnSave.Click   += btnSave_Click;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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();
 }