Пример #1
0
        private void btnTransactionHistory_Click(object sender, EventArgs e)
        {
            // Creates a new dialog window
            TransactionHistoryForm dlg = new TransactionHistoryForm(customer.TransactionHistory);
            dlg.ShowDialog();

            // Closes the dialog window
            dlg.Dispose();
        }
Пример #2
0
        private void btnTransactionHistory_Click(object sender, EventArgs e)
        {
            // Creates a new dialog window
            TransactionHistoryForm dlg = new TransactionHistoryForm(customer.TransactionHistory);

            dlg.ShowDialog();

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