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(); } }
private void InvokeShellLoaded(ShellLoadedEventArgs e) { var handler = ShellLoaded; if (handler != null) handler(this, e); }