public IndexStaffForm()
 {
     InitializeComponent();
     this.Business              = new LogicLayer();
     this.Load                 += IndexForm_Load;
     this.btnCreate.Click      += btnCreate_Click;
     this.btnDelete.Click      += btnDelete_Click;
     this.grdStaff.DoubleClick += grdStaff_DoubleClick;
     this.btnShow.Click        += btnShow_Click;
     this.txtFind.TextChanged  += txtFind_TextChanged;
     this.txtFind.Leave        += txtFind_Leave;
     this.txtFind.Enter        += txtFind_Enter;
     this.btnSort.Click        += btnSort_Click;
     this.btnFind.Click        += btnFind_Click;
 }
Example #2
0
 public RoomForm()
 {
     InitializeComponent();
     this.Business = new LogicLayer();
     this.Load    += RoomForm_Load;
 }