Пример #1
0
		private void ShowMainView()
		{
			View = new LoadingView();
			SettingsView.GetInstance().Connect(() =>
			                                   	{
			                                   		var view = new HiliteView();
			                                   		ApplicationBar = view.ApplicationBar;
			                                   		View = view;
			                                   	}, View as LoadingView);

		}
Пример #2
0
		public HilitePage()
		{
			InitializeComponent();
			DataContext = this;
			if (!IsolatedStorageSettings.ApplicationSettings.Contains("userID"))
			{
				View = new InitialView();
			}
			else
			{
				View = new LoadingView();
				SettingsView.GetInstance().Connect(() =>
				                                   	{
				                                   		var view = new HiliteView();
				                                   		ApplicationBar = view.ApplicationBar;
				                                   		View = view;
				                                   	}, View as LoadingView);
			}
		}