Пример #1
0
        private void confirmButton1_Click_1(object sender, EventArgs e)
        {
            controller = new TransactionModule(Util.CONNECTION_DETAILS.CONNECITION_STRING, Util.Tables.TABLE_INCOMING_TRANSACTIONS.TABLE_NAME);
            controller.confirmTransaction(this.transaction, this.apartment, this.incomeView);

            controller = new MainScreenController(Util.CONNECTION_DETAILS.CONNECITION_STRING, Util.Tables.TABLE_FLATS.TBL_FLATS);
            controller.showDetailsPanel(this.transaction.getPaidBy(), (Income)this.Parent);

            controller.updateBalance(this.apartment, this.mainScreen);

            this.Dispose();
            // receiptpanel1.Visible = false;
        }