示例#1
0
        public override void WillShowViewController(UISplitViewController svc, UIViewController aViewController, UIBarButtonItem button)
        {
            SpeakerSessionMasterDetail dvc = svc.ViewControllers[1] as SpeakerSessionMasterDetail;

            if (dvc != null)
            {
                dvc.RemoveNavBarButton();
                dvc.Popover = null;
            }
        }
示例#2
0
        public override void WillHideViewController(UISplitViewController svc, UIViewController aViewController, UIBarButtonItem barButtonItem, UIPopoverController pc)
        {
            SpeakerSessionMasterDetail dvc = svc.ViewControllers[1] as SpeakerSessionMasterDetail;

            if (dvc != null)
            {
                dvc.AddNavBarButton(barButtonItem);
                dvc.Popover = pc;
            }
        }
示例#3
0
        public SpeakerSplitView()
        {
            Delegate = new SpeakerSplitViewDelegate();

            speakersList             = new SpeakersScreen(this);
            speakerDetailWithSession = new SpeakerSessionMasterDetail(-1);

            ViewControllers = new UIViewController[]
            { speakersList, speakerDetailWithSession };
        }
示例#4
0
		public SpeakerSplitView ()
		{
			Delegate = new SpeakerSplitViewDelegate();
			
			speakersList = new SpeakersScreen(this);
			speakerDetailWithSession = new SpeakerSessionMasterDetail(-1);
			
			ViewControllers = new UIViewController[]
				{speakersList, speakerDetailWithSession};
		}
示例#5
0
 public void ShowSpeaker(int speakerID)
 {
     speakerDetailWithSession = this.ViewControllers[1] as SpeakerSessionMasterDetail;
     speakerDetailWithSession.Update(speakerID);
 }
示例#6
0
		public void ShowSpeaker (int speakerID)
		{
			speakerDetailWithSession = this.ViewControllers[1] as SpeakerSessionMasterDetail;
			speakerDetailWithSession.Update(speakerID);
		}