Index: Application/Riskeer/src/Application.Riskeer/App.xaml.cs
===================================================================
diff -u -rd6430cde7d1d502f73e80983350da992f7862f7c -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Application/Riskeer/src/Application.Riskeer/App.xaml.cs (.../App.xaml.cs) (revision d6430cde7d1d502f73e80983350da992f7862f7c)
+++ Application/Riskeer/src/Application.Riskeer/App.xaml.cs (.../App.xaml.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -128,8 +128,6 @@
SupportHeader = ApplicationResources.HelpdeskWater_DisplayName,
SupportText = ApplicationResources.HelpdeskWater_Description,
SupportWebsiteAddressUrl = "https://www.helpdeskwater.nl/",
- SupportEmailAddressUrl = "https://www.helpdeskwater.nl/onderwerpen/applicaties-modellen/applicaties-per/omgevings/omgevings/riskeer/contact/vraag-ringtoets/",
- SupportPhoneNumberUrl = "https://www.helpdeskwater.nl/secundaire-navigatie/contact/",
SupportPhoneNumber = "088-7977102",
ManualFilePath = "Gebruikershandleiding Riskeer 21.1.1.pdf"
};
Index: Core/Gui/src/Core.Gui/Commands/MainWindowCommands.cs
===================================================================
diff -u -r628a729daf3bed1d5cca1d4d0c107afb59134f54 -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Core/Gui/src/Core.Gui/Commands/MainWindowCommands.cs (.../MainWindowCommands.cs) (revision 628a729daf3bed1d5cca1d4d0c107afb59134f54)
+++ Core/Gui/src/Core.Gui/Commands/MainWindowCommands.cs (.../MainWindowCommands.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -67,20 +67,5 @@
/// The command for opening the user manual.
///
public static readonly ICommand OpenUserManualCommand = new RoutedCommand();
-
- ///
- /// The command for opening the support desk website.
- ///
- public static readonly ICommand OpenSupportDeskWebsiteCommand = new RoutedCommand();
-
- ///
- /// The command for opening the support desk call information website.
- ///
- public static readonly ICommand OpenCallSupportDeskWebsiteCommand = new RoutedCommand();
-
- ///
- /// The command for opening the support desk email information website.
- ///
- public static readonly ICommand OpenEmailSupportDeskWebsiteCommand = new RoutedCommand();
}
}
\ No newline at end of file
Index: Core/Gui/src/Core.Gui/Forms/Backstage/BackstageViewModel.cs
===================================================================
diff -u -r05b63bf3a91f31ec8bc2125730554f19eeca73d1 -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Core/Gui/src/Core.Gui/Forms/Backstage/BackstageViewModel.cs (.../BackstageViewModel.cs) (revision 05b63bf3a91f31ec8bc2125730554f19eeca73d1)
+++ Core/Gui/src/Core.Gui/Forms/Backstage/BackstageViewModel.cs (.../BackstageViewModel.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -62,31 +62,13 @@
AboutViewModel = new AboutViewModel(settings.ApplicationName, version);
SupportViewModel = new SupportViewModel(settings);
- OpenSupportDeskWebsiteCommand = new RelayCommand(OnOpenSupportDeskWebsite);
- OpenEmailSupportDeskWebsiteCommand = new RelayCommand(OnOpenEmailSupportDeskWebsite);
- OpenCallSupportDeskWebsiteCommand = new RelayCommand(OnOpenCallSupportDeskWebsite);
OpenUserManualCommand = new RelayCommand(OnOpenUserManual, CanOpenUserManual);
SetSelectedViewModelCommand = new RelayCommand(OnSetCurrentViewModel);
SelectedViewModel = InfoViewModel;
}
///
- /// Gets command for opening the support desk website.
- ///
- public ICommand OpenSupportDeskWebsiteCommand { get; }
-
- ///
- /// Gets command for opening the support desk email information website.
- ///
- public ICommand OpenEmailSupportDeskWebsiteCommand { get; }
-
- ///
- /// Gets command for opening the support desk call information website.
- ///
- public ICommand OpenCallSupportDeskWebsiteCommand { get; }
-
- ///
/// Gets the command to open the user manual.
///
public ICommand OpenUserManualCommand { get; }
@@ -185,21 +167,6 @@
SupportSelected = selectedViewModel is SupportViewModel;
}
- private void OnOpenSupportDeskWebsite(object obj)
- {
- Process.Start(settings.SupportWebsiteAddressUrl);
- }
-
- private void OnOpenEmailSupportDeskWebsite(object obj)
- {
- Process.Start(settings.SupportEmailAddressUrl);
- }
-
- private void OnOpenCallSupportDeskWebsite(object obj)
- {
- Process.Start(settings.SupportPhoneNumberUrl);
- }
-
private bool CanOpenUserManual(object obj)
{
return File.Exists(settings.ManualFilePath);
Index: Core/Gui/src/Core.Gui/Forms/Main/MainWindow.xaml
===================================================================
diff -u -rc988b15b9c98392c4b35d575ad4ead1b28c482b5 -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Core/Gui/src/Core.Gui/Forms/Main/MainWindow.xaml (.../MainWindow.xaml) (revision c988b15b9c98392c4b35d575ad4ead1b28c482b5)
+++ Core/Gui/src/Core.Gui/Forms/Main/MainWindow.xaml (.../MainWindow.xaml) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -55,12 +55,6 @@
Command="{Binding Path=OpenLogFileCommand, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=metro:MetroWindow}}" />
-
-
-
Index: Core/Gui/src/Core.Gui/Settings/GuiCoreSettings.cs
===================================================================
diff -u -rd6430cde7d1d502f73e80983350da992f7862f7c -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Core/Gui/src/Core.Gui/Settings/GuiCoreSettings.cs (.../GuiCoreSettings.cs) (revision d6430cde7d1d502f73e80983350da992f7862f7c)
+++ Core/Gui/src/Core.Gui/Settings/GuiCoreSettings.cs (.../GuiCoreSettings.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -54,16 +54,6 @@
public string SupportWebsiteAddressUrl { get; set; }
///
- /// Gets or sets the support email address url.
- ///
- public string SupportEmailAddressUrl { get; set; }
-
- ///
- /// Gets or sets the support phone number url.
- ///
- public string SupportPhoneNumberUrl { get; set; }
-
- ///
/// Gets or sets the support phone number.
///
public string SupportPhoneNumber { get; set; }
Index: Core/Gui/test/Core.Gui.Test/Commands/MainWindowCommandsTest.cs
===================================================================
diff -u -r628a729daf3bed1d5cca1d4d0c107afb59134f54 -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Core/Gui/test/Core.Gui.Test/Commands/MainWindowCommandsTest.cs (.../MainWindowCommandsTest.cs) (revision 628a729daf3bed1d5cca1d4d0c107afb59134f54)
+++ Core/Gui/test/Core.Gui.Test/Commands/MainWindowCommandsTest.cs (.../MainWindowCommandsTest.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -40,9 +40,6 @@
ICommand toggleBackstageCommand = MainWindowCommands.ToggleBackstageCommand;
ICommand openLogFileCommand = MainWindowCommands.OpenLogFileCommand;
ICommand openUserManualCommand = MainWindowCommands.OpenUserManualCommand;
- ICommand openSupportDeskWebsiteCommand = MainWindowCommands.OpenSupportDeskWebsiteCommand;
- ICommand openCallSupportDeskWebsiteCommand = MainWindowCommands.OpenCallSupportDeskWebsiteCommand;
- ICommand openEmailSupportDeskWebsiteCommand = MainWindowCommands.OpenEmailSupportDeskWebsiteCommand;
// Assert
Assert.IsInstanceOf(newProjectCommand);
@@ -53,9 +50,6 @@
Assert.IsInstanceOf(toggleBackstageCommand);
Assert.IsInstanceOf(openLogFileCommand);
Assert.IsInstanceOf(openUserManualCommand);
- Assert.IsInstanceOf(openSupportDeskWebsiteCommand);
- Assert.IsInstanceOf(openCallSupportDeskWebsiteCommand);
- Assert.IsInstanceOf(openEmailSupportDeskWebsiteCommand);
}
}
}
\ No newline at end of file
Index: Core/Gui/test/Core.Gui.Test/Forms/Backstage/BackstageViewModelTest.cs
===================================================================
diff -u -r51a9721e725b26c1cd23d0cd54dc384aa8bbb927 -r9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928
--- Core/Gui/test/Core.Gui.Test/Forms/Backstage/BackstageViewModelTest.cs (.../BackstageViewModelTest.cs) (revision 51a9721e725b26c1cd23d0cd54dc384aa8bbb927)
+++ Core/Gui/test/Core.Gui.Test/Forms/Backstage/BackstageViewModelTest.cs (.../BackstageViewModelTest.cs) (revision 9b08badc8fdf41af1c1ecbfbfe1ec6a0b513f928)
@@ -72,9 +72,6 @@
Assert.AreEqual(settings.SupportHeader, viewModel.SupportViewModel.SupportHeader);
Assert.AreEqual(settings.SupportText, viewModel.SupportViewModel.SupportText);
- Assert.IsNotNull(viewModel.OpenSupportDeskWebsiteCommand);
- Assert.IsNotNull(viewModel.OpenCallSupportDeskWebsiteCommand);
- Assert.IsNotNull(viewModel.OpenEmailSupportDeskWebsiteCommand);
Assert.IsNotNull(viewModel.OpenUserManualCommand);
Assert.IsNotNull(viewModel.SetSelectedViewModelCommand);