aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-11-26 14:19:06 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-11-26 14:19:06 +0200
commit6fb22273d15ed476ccbd3820de6af9bc0deee793 (patch)
tree35c40b14471bbc191d12a1dafcd807ec16aacb87 /Software/Visual_Studio/PPC/Tango.PPC.Common
parent10a9435c7fece43c588addb744952d92596a8f5b (diff)
downloadTango-6fb22273d15ed476ccbd3820de6af9bc0deee793.tar.gz
Tango-6fb22273d15ed476ccbd3820de6af9bc0deee793.zip
Implemented Application Initialization Error and Handling.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs10
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs1
2 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
index 0feb551b1..003229e65 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs
@@ -41,6 +41,11 @@ namespace Tango.PPC.Common.Application
event EventHandler SetupRequired;
/// <summary>
+ /// Occurs when the application has encountered an error when initializing.
+ /// </summary>
+ event EventHandler<Exception> ApplicationInitializationError;
+
+ /// <summary>
/// Gets a value indicating whether the application is shutting down.
/// </summary>
bool IsShuttingDown { get; }
@@ -51,6 +56,11 @@ namespace Tango.PPC.Common.Application
void ShutDown();
/// <summary>
+ /// Restarts the application.
+ /// </summary>
+ void Restart();
+
+ /// <summary>
/// Gets the application version.
/// </summary>
Version Version { get; }
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs
index c86cf148b..eefb298f7 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/NavigationView.cs
@@ -12,6 +12,7 @@ namespace Tango.PPC.Common.Navigation
public enum NavigationView
{
LoadingView,
+ LoadingErrorView,
LayoutView,
LoginView,
MachineSetupView,