public override void OpenDialog(UIBarButtonItem aBarButtonItem) { if (iOptionDialog == null) { iOptionDialog = new OptionDialogIpad(iHelper, kManualUri, KinskyTouch.Properties.ResourceManager.Icon); } iOptionDialog.Open(aBarButtonItem); }
public override void OpenDialog(UIBarButtonItem aBarButtonItem) { if (iOptionDialog == null) { iOptionDialog = new OptionDialogIpad(iHelper, kManualUri, KinskyTouch.Properties.ResourceManager.Icon); } var getKazooButton = new UIBarButtonItem("Try Linn's latest control app", UIBarButtonItemStyle.Bordered, new EventHandler((s, e) => { iOptionDialog.NavigationController.DismissViewController(true, null); NotificationView.Instance.ShowCurrent(); })); iOptionDialog.Open(aBarButtonItem); iOptionDialog.NavigationController.ToolbarHidden = NotificationView.Instance.Current == null; iOptionDialog.NavigationController.TopViewController.SetToolbarItems(new UIBarButtonItem[] { getKazooButton }, false); }