BudgetAnalyser.LedgerBook.LedgerTransactionsController.ShowBankBalanceAdjustmentsDialog C# (CSharp) Метод

ShowBankBalanceAdjustmentsDialog() публичный Метод

Show the Ledger Transactions view, for viewing and editing Balance Adjustments
public ShowBankBalanceAdjustmentsDialog ( LedgerEntryLine ledgerEntryLine, bool isNew ) : void
ledgerEntryLine BudgetAnalyser.Engine.Ledger.LedgerEntryLine
isNew bool
Результат void
        public void ShowBankBalanceAdjustmentsDialog(LedgerEntryLine ledgerEntryLine, bool isNew)
        {
            if (ledgerEntryLine == null)
            {
                return;
            }

            InBalanceAdjustmentMode = true;
            InLedgerEntryMode = false;
            LedgerEntry = null;
            this.entryLine = ledgerEntryLine;
            ShownTransactions = new ObservableCollection<LedgerTransaction>(ledgerEntryLine.BankBalanceAdjustments);
            Title = "Balance Adjustment Transactions";
            ShowDialogCommon(isNew);
        }