Пример #1
0
		void Initialize ()
		{
			Title = _currentDay.ToString ("dd.MM.yyyy");
			ServiceAgent.Current.ServiceClient.TodaysMenuCompleted += HandleTodaysMenuCompleted;
			
			_hud = new LoadingHUDView (){ 
				HudBackgroundColor = Util.LbkBackgroundColor (0.8f),
				ShowRoundedRectangle = true
			};
		}
Пример #2
0
		void Initialize ()
		{
			Title = Locale.GetText ("Events");
			ServiceAgent.Current.ServiceClient.GetEventsCompleted += HandleGetEventsCompleted;
			
			_hud = new LoadingHUDView (){ 
				HudBackgroundColor = Util.LbkBackgroundColor (0.8f),
				ShowRoundedRectangle = true
			};
			
			_dvc = new DialogViewController (null, true);
			_dvc.RefreshRequested += delegate {
				GetEvents ();
			};
			_dvc.Style = UITableViewStyle.Plain;
			_dvc.TableView.SeparatorStyle = UITableViewCellSeparatorStyle.None;
			_dvc.TableView.BackgroundColor = UIColor.Clear;
		}
Пример #3
0
		public override void ViewDidUnload ()
		{
			base.ViewDidUnload ();
			
			// Release any retained subviews of the main view.
			// e.g. myOutlet = null;
			ReleaseDesignerOutlets ();
			_hud = null;
		}