コード例 #1
0
ファイル: Operations.cs プロジェクト: LordGreed1994/project
        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();
            }
        }
コード例 #2
0
ファイル: Operations.cs プロジェクト: insonia78/project
        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();
            }
            

        }
コード例 #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);
 }
コード例 #4
0
ファイル: BankAccountClass.cs プロジェクト: insonia78/project
 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); 
     
 }