// Given the account nickname & the amount, it deposits the amount into the account & returns the new balance.
        protected void deposit(object sender, EventArgs e)
        {
            ServiceReference1.myInterfaceClient myPxy = new ServiceReference1.myInterfaceClient();
            string owner = myPxy.GetOwner(Nickname.Text);

            string[] info = myPxy.GetAccountInfo(owner).Split(' ');
            if (info.Length > 2)
            {
                OldBalance.Text = info[2];
                Balance.Text    = myPxy.Deposit(Nickname.Text, Amount.Text);
            }
            else
            {
                OldBalance.Text = "Invalid input";
            }
            myPxy.Close();
        }
 // Gets the account number, nickname, & balance.
 protected void getInfo(object sender, EventArgs e)
 {
     ServiceReference1.myInterfaceClient myPxy = new ServiceReference1.myInterfaceClient();
     result.Text = myPxy.GetAccountInfo(Owner.Text);
     myPxy.Close();
 }