예제 #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();
        }
예제 #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();
        }