private void DoStatements()
        {
            DisableEverything();
            SetTopText("Please Wait : Retrieving Statements");
            string userName = _accountHandler.UserName;

            userName = userName.Trim();
            SetFirstText("For " + userName);

            _statements = _accountHandler.GetStatements(_startingStatementNumber, 5);
            _startingStatementNumber += 5;

            // say that we now have the Statements
            SetStatements();
        }
        private void StatementsButton_Click(object sender, EventArgs e)
        {
            try
            {
                // ask the account handler for the statements
                string [] statements = _accountHandler.GetStatements();

                // write out a nice message
                string line = "Statements for " + _accountName;
                MessagesListBox.Items.Add(line);

                // and for each statement add it
                foreach (string statementLine in statements)
                {
                    MessagesListBox.Items.Add(statementLine);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }