예제 #1
0
        //Back to account form
        private void btn_back_Click(object sender, EventArgs e)
        {
            ATM_account accForm = new ATM_account();

            this.Hide();
            accForm.Show();
        }
예제 #2
0
        //Return to previous form
        private void Transfer_confirm_FormClosed(object sender, FormClosedEventArgs e)
        {
            ATM_account accForm = new ATM_account();

            this.Hide();
            accForm.Show();
        }
예제 #3
0
        //Transfer confirmation button
        private void btn_confirm_transfer_Click(object sender, EventArgs e)
        {
            //Takes money from owner account
            UpdateAccWallet();

            //Transfer money to receiver account
            TransferMoneyToReceiver();
            ATM_account accForm = new ATM_account();

            this.Hide();
            accForm.Show();
            MessageBox.Show("Succeeded!");
        }