Пример #1
0
		protected void ShowHud ()
		{
			Hud = new MBProgressHUD (Util.MainWindow){
				Mode = MBProgressHUDMode.Indeterminate,
			};
			Util.MainWindow.AddSubview (Hud);
			Hud.Show (true);
		}
Пример #2
0
		protected void ShowHud ()
		{
			Hud = new MBProgressHUD (this.View){
				Mode = MBProgressHUDMode.Indeterminate,
			};
			this.View.AddSubview (Hud);
			Hud.Show (true);
		}
Пример #3
0
		protected void HideHud ()
		{
			if (Hud == null)
				return;
			
			Hud.Hide (true);
			Hud.RemoveFromSuperview ();
			Hud = null;
		}
Пример #4
0
		protected void ShowHud (string title = null)
		{
			Hud = new MBProgressHUD (Util.MainWindow){
				Mode = this.HUDMode,
				TitleText = title,
				TitleFont = UIFont.SystemFontOfSize(14f),
				//DetailText = title,
			};

			Util.MainWindow.AddSubview (Hud);
			Hud.Show (true);
		}