private void ClickPaywaySearchButton(object sender, EventArgs e) { String emplID = _editPaywayEmplIDTB.Text; _salaryPresentationModel.setEmplID(emplID); _salaryController = new SalaryController(_salaryPresentationModel); _salaryPresentationModel = _salaryController.SearchDataByEmplID(); if (_salaryPresentationModel.getEmplID() == null || _salaryPresentationModel.getEmplID() == "") return; ResetSearchEditPaywayUI(); SetEditPaywayUIToEnable(); }
private void ClickPaywayEditButton(object sender, EventArgs e) { this.SetAllEditPaywayVariableToPM(); _salaryController = new SalaryController(_salaryPresentationModel); if (_salaryController.editPayway()) { this.ResetEditPaywayVariable(); this.ResetEditPaywayUI(); } }
private void ClickAddPaywayButton(object sender, EventArgs e) { this.setAllNewPaymentToPM(); _salaryController = new SalaryController(_salaryPresentationModel); _salaryController.AddPayway(); this.ResetNewPaywayUI(); }