Ejemplo n.º 1
0
        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();
            }
        }
Ejemplo n.º 2
0
        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();
            }
            

        }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 4
0
 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); 
     
 }