コード例 #1
0
ファイル: MainForm.cs プロジェクト: rjgodia30/bcit-courses
        private void btnWithdraw_Click(object sender, EventArgs e)
        {
            // Creates a new dialog window
            WithdrawForm dlg = new WithdrawForm(customer, lstAccounts.SelectedIndex);
            dlg.ShowDialog();

            // Closes the dialog window
            dlg.Dispose();
        }
コード例 #2
0
        private void btnWithdraw_Click(object sender, EventArgs e)
        {
            // Creates a new dialog window
            WithdrawForm dlg = new WithdrawForm(customer, lstAccounts.SelectedIndex);

            dlg.ShowDialog();

            // Closes the dialog window
            dlg.Dispose();
        }