示例#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;
		}