public UpdateMemberController(Transaction.Model.UpdateMemberModel updateMemberModel, Transaction.View.UpdateMember updateMember, Loan_Management.LoanManagementMenu loanManagementMenu)
 {
     this.updateMemberModel = updateMemberModel;
     this.updateMember = updateMember;
     this.updateMember.setBtnSearchEventHandler(this.btnSearch);
     this.updateMember.setTxtAccountNoEventHandler(this.btnSearch);
     this.updateMember.setTxtMemberNameEventHandler(this.btnSearch);
     this.updateMember.setBtnUpdateEventHandler(this.btnUpdate);
     this.updateMember.setBtnAddEventHandler(this.btnAdd);
     this.updateMember.MdiParent = loanManagementMenu;
     this.loanManagementMenu = loanManagementMenu;
     this.updateMember.setDataMembers(this.updateMemberModel.selectMember());
     this.updateMember.Show();
 }
 public MembershipApplicationController(Transaction.Model.MembershipApplicationModel memberModel, Transaction.View.MembershipApplication membershipApplication, String accountNo, Transaction.Model.UpdateMemberModel updateMemberModel, Transaction.View.UpdateMember updateMember, Loan_Management.LoanManagementMenu loanManagementMenu)
 {
     this.memberModel = memberModel;
     this.membershipApplication = membershipApplication;
     this.updateMemberModel = updateMemberModel;
     this.updateMember = updateMember;
     this.membershipApplication.btnSaveEventHandler(this.btnUpdate);
     this.membershipApplication.btnGenerateCapitalEventHandler(this.btnGenerateCapital);
     this.membershipApplication.btnGenerateLoanEventHandler(this.btnGenerateLoan);
     this.membershipApplication.setDateBirthEventHandler(this.dateBirth_ValueChanged);
     this.membershipApplication.initMemberType(this.memberModel.selectMemberTypes(this.membershipApplication.getAge()));
     this.membershipApplication.comboMemberTypeSelectedIndexChanged(this.memberTypeIndexChanged);
     this.membershipApplication.setPage1NextEventHandler(this.button1_Click);
     this.membershipApplication.setPage2PrevEventHandler(this.button3_Click);
     this.membershipApplication.setPage2NextEventHandler(this.button2_Click);
     this.membershipApplication.setPage3PrevEventHandler(this.button4_Click);
     this.membershipApplication.setAccountNo(accountNo);
     this.membershipApplication.Text = "Update Member Information - " + accountNo;
     this.setvaluesForUpdate(accountNo);
     //initReqChecklist
     this.membershipApplication.MdiParent = loanManagementMenu;
     this.membershipApplication.Show();
     isNew = false;
 }