Mercurial > silverbladetech
comparison SilverlightGlimpse/SilverlightValidation/App.xaml.cs @ 84:5cb6117d80b1
title removed
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Tue, 24 Apr 2012 00:51:53 +0100 |
parents | dd6bcd2535b6 |
children |
comparison
equal
deleted
inserted
replaced
83:30a7e46611c6 | 84:5cb6117d80b1 |
---|---|
15 InitializeComponent(); | 15 InitializeComponent(); |
16 } | 16 } |
17 | 17 |
18 private void Application_Startup(object sender, StartupEventArgs e) | 18 private void Application_Startup(object sender, StartupEventArgs e) |
19 { | 19 { |
20 const string appName = "Silverlight Glimpse"; | |
21 try | 20 try |
22 { | 21 { |
23 this.RootVisual = new Views.UserView(); | 22 this.RootVisual = new Views.UserView(); |
24 Glimpse.Service.Load(this, appName); | 23 Glimpse.Service.Load(this); |
25 } | 24 } |
26 catch (Exception ex) | 25 catch (Exception ex) |
27 { | 26 { |
28 Glimpse.Service.DisplayLoadFailure(this, ex, appName); | 27 Glimpse.Service.DisplayLoadFailure(this, ex); |
29 } | 28 } |
30 } | 29 } |
31 | 30 |
32 private void Application_Exit(object sender, EventArgs e) | 31 private void Application_Exit(object sender, EventArgs e) |
33 { | 32 { |