상속: PForm
예제 #1
0
        public override bool SelectItem(object item)
        {
            var f = new PatronForm(DocumentAppDelegate.Shared.GetPatronMonthlyPrices());

            f.NavigationItem.RightBarButtonItem = new UIKit.UIBarButtonItem(UIKit.UIBarButtonSystemItem.Done, (s, e) => {
                if (f != null && f.PresentingViewController != null)
                {
                    f.DismissViewController(true, null);
                }
            });
            if (this.Form.NavigationController != null)
            {
                this.Form.NavigationController.PushViewController(f, true);
            }
            return(false);
        }
예제 #2
0
		public async Task ShowPatronAsync ()
		{
			var pform = new PatronForm (GetPatronMonthlyPrices ());
			var nav = new UINavigationController (pform);
			nav.ModalPresentationStyle = UIModalPresentationStyle.FormSheet;
			await CurrentDocumentListController.PresentViewControllerAsync (nav, true);
		}
예제 #3
0
 public override void ViewWillDisappear(bool animated)
 {
     base.ViewWillDisappear(animated);
     visibleForm = null;
 }
예제 #4
0
 public override void ViewWillAppear(bool animated)
 {
     base.ViewWillAppear(animated);
     visibleForm = this;
 }
예제 #5
0
		public override void ViewWillDisappear (bool animated)
		{
			base.ViewWillDisappear (animated);
			visibleForm = null;
		}
예제 #6
0
		public override void ViewWillAppear (bool animated)
		{
			base.ViewWillAppear (animated);
			visibleForm = this;
		}
예제 #7
0
		public override bool SelectItem (object item)
		{
			var f = new PatronForm (DocumentAppDelegate.Shared.GetPatronMonthlyPrices ());
			f.NavigationItem.RightBarButtonItem = new UIKit.UIBarButtonItem (UIKit.UIBarButtonSystemItem.Done, (s, e) => {
				if (f != null && f.PresentingViewController != null) {
					f.DismissViewController (true, null);
				}
			});
			if (this.Form.NavigationController != null) {
				this.Form.NavigationController.PushViewController (f, true);
			}
			return false;
		}