예제 #1
0
 public CreateForm()
 {
     InitializeComponent();
     this.Business         = new EmployeeManagement();
     this.btnSave.Click   += btnSave_Click;
     this.btnCancel.Click += btnCancel_Click;
 }
예제 #2
0
 public UpdateForm(int id)
 {
     InitializeComponent();
     this.Business         = new EmployeeManagement();
     this.EmployeeId       = id;
     this.btnCancel.Click += btnCancel_Click;
     this.btnSave.Click   += btnSave_Click;
     this.Load            += UpdateForm_Load;
 }
예제 #3
0
 public IndexForm()
 {
     InitializeComponent();
     this.Business         = new EmployeeManagement();
     this.Load            += IndexForm_Load;
     this.btnCreate.Click += btnCreate_Click;
     this.btnDelete.Click += btnDelete_Click;
     this.btnSalary.Click += btnSalary_Click;
     this.grdViewAllEmployees.DoubleClick += grdViewAllEmployees_DoubleClick;
 }