Beispiel #1
0
		private void OnShellLoaded(object sender, ShellLoadedEventArgs e)
		{
			if (e.Exception != null)
			{
				UIHelper.Error(e.Exception.Message);
			}
			if (e.Success)
			{
				ServiceLocator.I.GetInstance<IEventService>().InvokeServicesInitializationComplete();
			}else
			{
				Current.Shutdown();
			}
		}
Beispiel #2
0
		private void InvokeShellLoaded(ShellLoadedEventArgs e)
		{
			var handler = ShellLoaded;
			if (handler != null) handler(this, e);
		}