public ChartOfAccount(CommonExchange.SysAccess userInfo, ChartOfAccountLogic chartOfAccountManager) { this.InitializeComponent(); _userInfo = userInfo; _chartOfAccountManager = chartOfAccountManager; _errProvider = new ErrorProvider(); _toolTip = new ToolTip(); _toolTip.SetToolTip(this.btnSearchSummaryAccount, "Search summary account"); _toolTip.SetToolTip(this.btnClearSummaryAccount, "Delete summary account"); this.Load += new EventHandler(ClassLoad); this.cboAccountCategory.SelectedIndexChanged += new EventHandler(cboAccountCategorySelectedIndexChanged); this.txtAccountCode.Validated += new EventHandler(txtAccountCodeValidated); this.txtAccountName.Validated += new EventHandler(txtAccountNameValidated); this.txtAccountDescription.Validated += new EventHandler(txtAccountDescriptionValidated); this.txtCompanyPolicy.Validated += new EventHandler(txtCompanyPolicyValidated); this.rdbYesDebitSide.CheckedChanged += new EventHandler(rdbIsDebitIncreaseCheckedChanged); this.rdbNoDebitSide.CheckedChanged += new EventHandler(rdbNoDebitSideCheckedChanged); this.rdbYesActiveAccount.CheckedChanged += new EventHandler(rdbYesActiveAccountCheckedChanged); this.rdbNoActiveAccount.CheckedChanged += new EventHandler(rdbNoActiveAccountCheckedChanged); this.btnSearchSummaryAccount.Click += new EventHandler(btnSearchSummaryAccountClick); this.btnClearSummaryAccount.Click += new EventHandler(btnClearSummaryAccountClick); }
public ChartOfAccountCreate(CommonExchange.SysAccess userInfo, ChartOfAccountLogic chartOfAccountManager) : base(userInfo, chartOfAccountManager) { this.InitializeComponent(); this.FormClosing += new FormClosingEventHandler(ClassClossing); this.btnCancel.Click += new EventHandler(btnCancelClick); this.btnCreate.Click += new EventHandler(btnCreateClick); }
public ChartOfAccountsSearchedOnTextBoxList(CommonExchange.SysAccess userInfo, ChartOfAccountLogic chartOfAccountManager, Boolean isForUpdateChartOfAccount) { this.InitializeComponent(); _userInfo = userInfo; _chartOfAccountManager = chartOfAccountManager; _isForUpdateChartOfAccount = isForUpdateChartOfAccount; this.pbxRefresh.Click += new EventHandler(pbxRefreshClick); }
public ChartOfAccountManager(CommonExchange.SysAccess userInfo) { this.InitializeComponent(); _userInfo = userInfo; _chartOfAccountManager = new ChartOfAccountLogic(_userInfo); this.Load += new EventHandler(ClassLoad); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnCreateChartOfAccount.Click += new EventHandler(btnCreateChartOfAccountClick); this.btnSearchChartOfAccount.Click += new EventHandler(btnSearchChartOfAccountClick); this.btnPrintChartOfAccounts.Click += new EventHandler(btnPrintChartOfAccountsClick); }
public ChartOfAccountUpdate(CommonExchange.SysAccess userInfo, CommonExchange.ChartOfAccount chartOfAccountInfo, ChartOfAccountLogic chartOfAccountManager) : base(userInfo, chartOfAccountManager) { this.InitializeComponent(); _chartOfAccountInfo = chartOfAccountInfo; _tempChartOfAccountInfo = (CommonExchange.ChartOfAccount)chartOfAccountInfo; this.FormClosing += new FormClosingEventHandler(ClassClossing); this.btnClose.Click += new EventHandler(btnCloseClick); this.btnUpdate.Click += new EventHandler(btnUpdateClick); }