Beispiel #1
0
        private void transactionButton_Click(object sender, EventArgs e)
        {
            Account account = new Account();

            account.Id = (long)accountListGrid.CurrentRow.Cells["id"].Value;
            account.Load(DatabaseFactory.Default);

            Form transactionsForm = new TransactionsForm(account);

            transactionsForm.MdiParent = MdiParent;
            transactionsForm.Show();
        }
Beispiel #2
0
        private void transactionButton_Click(object sender, EventArgs e)
        {
            Account account = new Account();
            account.Id = (long)accountListGrid.CurrentRow.Cells["id"].Value;
            account.Load(DatabaseFactory.Default);

            Form transactionsForm = new TransactionsForm(account);
            transactionsForm.MdiParent = MdiParent;
            transactionsForm.Show();
        }