private void ShowDialogCommon(bool isNew)
{
IsReadOnly = !isNew;
this.dialogCorrelationId = Guid.NewGuid();
var dialogRequest = new ShellDialogRequestMessage(BudgetAnalyserFeature.LedgerBook, this, IsReadOnly ? ShellDialogType.Ok : ShellDialogType.OkCancel)
{
CorrelationId = this.dialogCorrelationId,
Title = Title
};
MessengerInstance.Send(dialogRequest);
}
}