public void ShowDialog(BudgetAnalyserFeature source, Guid?correlationId = null) { this.dialogCorrelationId = correlationId ?? Guid.NewGuid(); var dialogRequest = new ShellDialogRequestMessage(source, this, ShellDialogType.OkCancel) { CorrelationId = this.dialogCorrelationId, Title = "Create new surprise regular payment monitor", HelpAvailable = true }; MessengerInstance.Send(dialogRequest); }
public void ShowDialog(BudgetAnalyserFeature source, string title, Guid?correlationId = null, bool showBankAccountSelector = false) { this.dialogCorrelationId = correlationId ?? Guid.NewGuid(); ShowBankAccount = showBankAccountSelector; var dialogRequest = new ShellDialogRequestMessage(source, this, ShellDialogType.OkCancel) { CorrelationId = this.dialogCorrelationId, Title = title }; MessengerInstance.Send(dialogRequest); }
public void ShowDialog(BudgetAnalyserFeature source, Guid? correlationId = null) { this.dialogCorrelationId = correlationId ?? Guid.NewGuid(); var dialogRequest = new ShellDialogRequestMessage(source, this, ShellDialogType.OkCancel) { CorrelationId = this.dialogCorrelationId, Title = "Create new surprise regular payment monitor", HelpAvailable = true }; MessengerInstance.Send(dialogRequest); }
public ShellDialogRequestMessage(BudgetAnalyserFeature location, object content, ShellDialogType type) { Location = location; Content = content; DialogType = type; }
public void ShowDialog(BudgetAnalyserFeature source, string title, Guid? correlationId = null) { if (correlationId == null) { this.dialogCorrelationId = Guid.NewGuid(); } else { this.dialogCorrelationId = correlationId.Value; } var dialogRequest = new ShellDialogRequestMessage(source, this, ShellDialogType.OkCancel) { CorrelationId = this.dialogCorrelationId, Title = title, }; MessengerInstance.Send(dialogRequest); }
public void ShowDialog(BudgetAnalyserFeature source, string title, Guid? correlationId = null, bool showBankAccountSelector = false) { this.dialogCorrelationId = correlationId ?? Guid.NewGuid(); ShowBankAccount = showBankAccountSelector; var dialogRequest = new ShellDialogRequestMessage(source, this, ShellDialogType.OkCancel) { CorrelationId = this.dialogCorrelationId, Title = title }; MessengerInstance.Send(dialogRequest); }