From 6fb22273d15ed476ccbd3820de6af9bc0deee793 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 26 Nov 2018 14:19:06 +0200 Subject: Implemented Application Initialization Error and Handling. --- .../PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml | 28 ++++++++++++++++++++++ .../Tango.PPC.UI/Views/LoadingErrorView.xaml.cs | 28 ++++++++++++++++++++++ .../PPC/Tango.PPC.UI/Views/MainView.xaml | 1 + 3 files changed, 57 insertions(+) create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml.cs (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml new file mode 100644 index 000000000..7682ba4ce --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml @@ -0,0 +1,28 @@ + + + + + + Application Loading Error + The application has failed to load properly due to the following reason. + + + + + + RESTART + + + + + diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml.cs new file mode 100644 index 000000000..0713cc320 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace Tango.PPC.UI.Views +{ + /// + /// Interaction logic for LoadingErrorView.xaml + /// + public partial class LoadingErrorView : UserControl + { + public LoadingErrorView() + { + InitializeComponent(); + } + } +} diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml index 7eca6dba6..4ca7e39ec 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MainView.xaml @@ -77,6 +77,7 @@ + -- cgit v1.3.1