private void txtAccountNameOperations_TextChanged(object sender, EventArgs e) { manipulation = new Manipulations(); richTextBoxText.Clear(); if (manipulation.SearchAccountNumber(accountNumber, account) == true) { index = manipulation.getIndexOf(accountNumber, account); richTextBoxText.Text = manipulation.getText(index, text).ToString(); output += manipulation.getText(index, text).ToString(); } }
public BankAccountClass(ArrayList num, ArrayList acc, ArrayList bal, ArrayList txt) { this.name = num; this.account = acc; this.balance = bal; this.text = txt; for (int i = 0; i < n; i++) { name.Insert(i, dummy); account.Insert(i, dummy); balance.Insert(i, dummy); text.Insert(i, dummy); } //creating the constructors to link the arrays accountInfo = new Account_info(name, account, balance, text); manipulation = new Manipulations(name, account, balance, text); }
public BankAccountClass(ArrayList num, ArrayList acc, ArrayList bal,ArrayList txt) { this.name = num; this.account = acc; this.balance = bal; this.text = txt; for (int i = 0; i < n; i++) { name.Insert(i, dummy); account.Insert(i, dummy); balance.Insert(i, dummy); text.Insert(i, dummy); } //creating the constructors to link the arrays accountInfo = new Account_info(name, account, balance, text); manipulation = new Manipulations(name, account, balance, text); }