public SavingsTransactionController(Model.SavingsTransactionModel savingsTransactionModel, View.SavingsTransaction savingsTransaction, SavingsMenu savingsMenu)
 {
     this.savingsTransactionModel = savingsTransactionModel;
     this.savingsTransaction = savingsTransaction;
     this.savingsTransaction.setDataMember(this.savingsTransactionModel.selectMember());
     this.savingsTransaction.txtAccountNo_TextChanged(this.txtSearch);
     this.savingsTransaction.dataMember_CellContentClick(this.dataMemberCellClick);
     this.savingsTransaction.setBtnClearEventHandler(this.btnClear);
     this.savingsTransaction.setBtnSaveEventHandler(this.btnSave);
     this.savingsTransaction.disableDetails();
     this.savingsTransaction.MdiParent = savingsMenu;
     this.savingsTransaction.Show();
 }
 public TimeDepositWithdrawalController(Model.TimeDepositWithdrawalModel timeDepositWithdrawalModel, View.TimeDepositWithdrawal timeDepositWithdrawal, SavingsMenu savingsMenu)
 {
     this.timeDepositWithdrawal = timeDepositWithdrawal;
     this.timeDepositWithdrawalModel = timeDepositWithdrawalModel;
     this.timeDepositWithdrawal.setDataTimeDeposit(this.timeDepositWithdrawalModel.selectTimeDeposit());
     this.timeDepositWithdrawal.txtAccountNo_TextChanged(this.txtAccountNo);
     this.timeDepositWithdrawal.txtMemberName_TextChanged(this.txtMemberName);
     this.timeDepositWithdrawal.txtCertificateNo_TextChanged(this.txtCertificateNo);
     this.timeDepositWithdrawal.dataTimeDeposit_CellContentClick(this.dataTimeDeposit);
     this.timeDepositWithdrawal.setBtnClearEventHandler(this.btnSave);
     this.timeDepositWithdrawal.setBtnSaveEventHandler(this.btnSave);
     this.timeDepositWithdrawal.MdiParent = savingsMenu;
     this.timeDepositWithdrawal.Show();
 }
 public MaximumWithdrawalController(Maintenance.Model.MaximumWithdrawalModel maximumWithdrawalModel, Maintenance.View.MaximumWithdrawal maximumWithdrawal, SavingsMenu savingsMenu)
 {
     this.maximumWithdrawalModel = maximumWithdrawalModel;
     this.maximumWithdrawal = maximumWithdrawal;
     this.maximumWithdrawal.btnAddEventHandler(this.btnAdd);
     this.maximumWithdrawal.btnCancelEventHandler(this.btnCancel);
     this.maximumWithdrawal.btnEditEventHandler(this.btnEdit);
     this.maximumWithdrawal.btnSaveEventHandler(this.btnSave);
     this.maximumWithdrawal.checkArchived_CheckStateChanged(this.checkArchived);
     this.maximumWithdrawal.maxWithGrid(this.maximumWithdrawalModel.selectMaximumWithdrawal());
     this.maximumWithdrawal.removeColumns();
     this.maximumWithdrawal.MdiParent = savingsMenu;
     this.maximumWithdrawal.disableFunction();
     this.maximumWithdrawal.Show();
 }
 public TimeDepositController(Model.TimeDepositModel timeDepositModel, View.TimeDepositApplication timeDeposit, SavingsMenu savingsMenu)
 {
     this.timeDepositModel = timeDepositModel;
     this.timeDeposit = timeDeposit;
     this.timeDeposit.initAccountType(this.timeDepositModel.selectTimeDeposit());
     this.timeDeposit.setDataMember(this.timeDepositModel.selectMember());
     this.timeDeposit.txtAccountNo_TextChanged(this.txtAccountNo);
     this.timeDeposit.txtMemberName_TextChanged(this.txtMemberName);
     this.timeDeposit.numDuration_ValueChanged(this.numDuration);
     this.timeDeposit.comboDuration_SelectedIndexChanged(this.comboDuration);
     this.timeDeposit.setBtnClearEventHandler(this.btnClear);
     this.timeDeposit.setBtnSaveEventHandler(this.btnSave);
     this.timeDeposit.MdiParent = savingsMenu;
     this.timeDeposit.Show();
 }
 public DormancyController(Maintenance.Model.DormancyModel dormancyModel, Maintenance.View.Dormancy dormancy, SavingsMenu savingsMenu)
 {
     this.dormancyModel = dormancyModel;
     this.dormancy = dormancy;
     this.dormancy.setBtnAddEventHandler(this.btnAdd);
     this.dormancy.setBtnCancelEventHandler(this.btnCancel);
     this.dormancy.setBtnEditEventHandler(this.btnEdit);
     this.dormancy.setBtnSaveEventHandler(this.btnSave);
     this.dormancy.checkArchived_CheckStateChanged(this.checkArchived);
     this.dormancy.disableFunction();
     this.dormancy.dormancyGrid(this.dormancyModel.selectDormancy());
     this.dormancy.removeColumns();
     this.dormancy.MdiParent = savingsMenu;
     this.dormancy.Show();
 }
 public EarlyWithdrawalController(Maintenance.Model.EarlyWithdrawalModel earlyWithdrawalModel, Maintenance.View.EarlyWithdrawal earlyWithdrawal, SavingsMenu savingsMenu)
 {
     this.earlyWithdrawalModel = earlyWithdrawalModel;
     this.earlyWithdrawal = earlyWithdrawal;
     this.earlyWithdrawal.setBtnAddEventHandler(this.btnAdd);
     this.earlyWithdrawal.setBtnCancelEventHandler(this.btnCancel);
     this.earlyWithdrawal.setBtnEditEventHandler(this.btnEdit);
     this.earlyWithdrawal.setBtnSaveEventHandler(this.btnSave);
     this.earlyWithdrawal.txtSearch_TextChanged(this.txtSearch);
     this.earlyWithdrawal.checkArchived_CheckStateChanged(this.checkArchived);
     this.earlyWithdrawal.disableFunction();
     this.earlyWithdrawal.timeDepositGrid(this.earlyWithdrawalModel.selectEarlyWithdrawal());
     this.earlyWithdrawal.removeColumns();
     this.earlyWithdrawal.MdiParent = savingsMenu;
     this.earlyWithdrawal.Show();
 }
 public MaintainingBalanceController(Maintenance.Model.MaintainingBalancesModel maintaningBalancesModel, Maintenance.View.MaintainingBalances maintainingBalances, SavingsMenu savingsMenu)
 {
     this.maintainingBalancesModel = maintaningBalancesModel;
     this.maintainingBalances = maintainingBalances;
     this.maintainingBalances.setBtnAddEventHandler(this.btnAdd);
     this.maintainingBalances.setBtnCancelEventHandler(this.btnCancel);
     this.maintainingBalances.setBtnEditEventHandler(this.btnEdit);
     this.maintainingBalances.setBtnSaveEventHandler(this.btnSave);
     this.maintainingBalances.checkArchived_CheckStateChanged(this.checkedArchived);
     this.maintainingBalances.maintainingBalanceGrid(this.maintainingBalancesModel.selectMaintainingBalances());
     this.maintainingBalances.removeColumns();
     this.maintainingBalances.disableFunction();
     this.maintainingBalances.MdiParent = savingsMenu;
     isAdd = false;
     this.maintainingBalances.Show();
 }
 public TerminationController(Transaction.Model.TerminationModel terminationModel, Transaction.View.MemberTermination termination, SavingsMenu savingsMenu)
 {
     this.terminationModel = terminationModel;
     this.termination = termination;
     this.termination.setBtnSaveEventHandler(this.btnSave);
     this.termination.setBtnSearchMemberEventHandler(this.btnSearchMember);
     this.termination.setTxtAccountNameEventHandler(this.typeSearchMember);
     this.termination.setTxtAccountNoEventHandler(this.typeSearchMember);
     this.termination.classGridSearch(this.terminationModel.selectActiveMember());
     this.termination.setDataSearchEventHandler(this.dataSearch_CellClick);
     this.termination.MdiParent = savingsMenu;
     this.termination.Show();
     if(this.terminationModel.checkEmpty!=0)this.termination.noRowsSelected();
     this.terminationModel.checkEmpty = 0;
     this.termination.clearFields();
 }
 public OpenAccountController(Model.SavingsAccountModel savingsAccountModel, View.OpenAccount openAccount, SavingsMenu savingsMenu)
 {
     this.savingsAccountModel = savingsAccountModel;
     this.openAccount = openAccount;
     this.openAccount.initAccountType(this.savingsAccountModel.selectAccountType());
     this.openAccount.setAccountTypeSelectedItemChanged(this.accountTypeItemChanged);
     this.openAccount.setPassbookNo(this.savingsAccountModel.generateSavingsPassbook().ToString());
     this.openAccount.setAccountNo("SV-" + this.savingsAccountModel.generateAccountNo().ToString("D5"));
     this.openAccount.txtSearchTextChanged(this.txtSearch);
     this.openAccount.btnForwardEventHandler(this.btnForward);
     this.openAccount.btnBackwardEventHandler(this.btnBackward);
     this.openAccount.btnClearEventHandler(this.btnClear);
     this.openAccount.btnSaveEventHandler(this.btnSave);
     this.openAccount.MdiParent = savingsMenu;
     this.openAccount.Show();
 }
 public InterestRatesController(Maintenance.Model.InterestRatesModel interestRatesModel, Maintenance.View.InterestRates interestRates, SavingsMenu savingsMenu)
 {
     this.interestRatesModel = interestRatesModel;
     this.interestRates = interestRates;
     this.interestRates.setBtnAddEventHandler(this.btnAdd);
     this.interestRates.setBtnCancelEventHandler(this.btnCancel);
     this.interestRates.setBtnEditEventHandler(this.btnEdit);
     this.interestRates.setBtnSaveEventHandler(this.btnSave);
     this.interestRates.checkArchived_CheckStateChanged(this.checkArchived);
     this.interestRates.txtSearch_TextChanged(this.txtSearch);
     this.interestRates.interestRatesGrid(this.interestRatesModel.selectInterestRates());
     this.interestRates.removeColumns();
     this.interestRates.disableFunction();
     this.interestRates.MdiParent = savingsMenu;
     InterestId = 0;
     accountType = 0;
     this.interestRates.Show();
 }