Example #1
0
        public void btnContinue_Click(object sender, EventArgs e)
        {
            bool   validate = false;
            string empty    = "";

            validate = Validate();
            if (validate == true)
            {
                if (manipulation.SearchAccountNumber(accountNumber, account) == false && manipulation.ValidateIndex(account) == true)
                {
                    manipulation.setName(index, accountName, name);
                    manipulation.setAccount(index, accountNumber, account);
                    manipulation.setBalance(index, balanceValue, balance);
                    manipulation.setEmptyText(index, empty, text);
                }


                new Operations(text, accountName, accountNumber, balanceValue, name, account, balance).Show();
                this.Hide();
            }
        }
Example #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();
            }
        }
Example #3
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();
            }
            

        }