Beispiel #1
0
 public CreateForm()
 {
     InitializeComponent();
     this.Business         = new ClassManagement();
     this.Load            += CreateForm_Load;
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
 }
Beispiel #2
0
 public UpdateForm(int ID)
 {
     InitializeComponent();
     this.StaffId          = ID;
     this.Business         = new ClassManagement();
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
     this.Load            += UpdateForm_Load;
 }
Beispiel #3
0
 public IndexStaffForm()
 {
     InitializeComponent();
     this.Business                  = new ClassManagement();
     this.Load                     += IndexStaffForm_Load;
     this.btnCreate.Click          += btnCreate_Click;
     this.btnDelete.Click          += btnDelete_Click;
     this.grdDataStaff.DoubleClick += grdDataStaff_DoubleClick;
     this.btnStatistic.Click       += btnStatistic_Click;
     this.btnSort.Click            += btnSort_Click;
 }
Beispiel #4
0
 public SortForm()
 {
     InitializeComponent();
     this.Business = new ClassManagement();
     this.Load    += SortForm_Load;
 }