BudgetAnalyser.LedgerBook.LedgerRemarksController.Show C# (CSharp) Method

Show() public method

public Show ( LedgerEntryLine line, bool isNew ) : void
line BudgetAnalyser.Engine.Ledger.LedgerEntryLine
isNew bool
return void
        public void Show(LedgerEntryLine line, bool isNew)
        {
            LedgerEntryLine = line;
            Remarks = LedgerEntryLine.Remarks;
            IsReadOnly = !isNew;
            this.dialogCorrelationId = Guid.NewGuid();
            var dialogRequest = new ShellDialogRequestMessage(BudgetAnalyserFeature.LedgerBook, this, ShellDialogType.Ok)
            {
                Title = "Ledger Entry Remarks",
                CorrelationId = this.dialogCorrelationId
            };
            MessengerInstance.Send(dialogRequest);
        }