|
|
@ -119,11 +119,10 @@ public partial class MainWindowViewModel : ViewModelBase |
|
|
|
{ |
|
|
|
{ |
|
|
|
var dialog = new BetterContentDialog |
|
|
|
var dialog = new BetterContentDialog |
|
|
|
{ |
|
|
|
{ |
|
|
|
Title = "Stability Matrix is already running", |
|
|
|
Title = Resources.Label_StabilityMatrixAlreadyRunning, |
|
|
|
Content = |
|
|
|
Content = Resources.Label_AnotherInstanceAlreadyRunning, |
|
|
|
"Another instance of Stability Matrix is already running. Please close it before starting a new one.", |
|
|
|
|
|
|
|
IsPrimaryButtonEnabled = true, |
|
|
|
IsPrimaryButtonEnabled = true, |
|
|
|
PrimaryButtonText = "Close", |
|
|
|
PrimaryButtonText = Resources.Action_Close, |
|
|
|
DefaultButton = ContentDialogButton.Primary |
|
|
|
DefaultButton = ContentDialogButton.Primary |
|
|
|
}; |
|
|
|
}; |
|
|
|
await dialog.ShowAsync(); |
|
|
|
await dialog.ShowAsync(); |
|
|
|