public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();

			sessionView = new SessionView(this);
			sessionView.Frame = new System.Drawing.RectangleF(0,0,540,620);
			sessionView.Update(session);

			View.AddSubview (sessionView);
		}
        public SessionDetailsScreen(int sessionID)
        {
            ShouldShowSpeakers = true;	// by default

            sessionId = sessionID;

            sessionView = new SessionView(this);
            sessionView.Frame = new RectangleF(0,0,320,100);
            sessionView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight;

            scrollView = new UIScrollView();
            scrollView.Frame = new RectangleF(0,0,320,370);
            Add (scrollView);
        }
		public SessionDetailsScreen (int sessionID)
		{
			ShouldShowSpeakers = true;	// by default

			sessionId = sessionID;

			View.BackgroundColor = UIColor.White;

			sessionView = new SessionView(this);
			sessionView.Frame = new CGRect(0,0,320,100);
			sessionView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight;

			var scrollViewHeight = View.Frame.Height - 92; // update for 4"
			scrollView = new UIScrollView();
			scrollView.Frame = new CGRect(0,0,320,scrollViewHeight); // was hardcoded 370
			Add (scrollView);
		}
        //, UIViewController speakerView)
        public SpeakerSessionMasterDetail(int speakerID)
        {
            speakerId = speakerID;

            navBar = new UINavigationBar(new RectangleF(0,0,768, 44));
            navBar.SetItems(new UINavigationItem[]{new UINavigationItem("Speaker & Session Info")},false);

            View.BackgroundColor = UIColor.LightGray;
            View.Frame = new RectangleF(0,0,768,768);

            speakerView = new SpeakerView(-1);
            speakerView.Frame = new RectangleF(0,44,colWidth1,728);
            speakerView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight;

            sessionView = new SessionView(false);
            sessionView.Frame = new RectangleF(colWidth1+1,44,colWidth2,728);
            sessionView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;

            View.AddSubview (speakerView);
            View.AddSubview (sessionView);
            View.AddSubview (navBar);

            //			if (_speakerID > 1)
            //			{
            //				var speaker = BL.Managers.SpeakerManager.GetSpeaker (_speakerID);
            //				var _sessions = BL.Managers.SessionManager.GetSessions ();
            //				if (_sessions != null)
            //				{
            //					_session = (from session in _sessions
            //							where session.SpeakerNames.IndexOf(speaker.Name) >= 0
            //							select session).FirstOrDefault();
            //				}
            //
            //				_sessionView = new SessionView(_session);
            //				_ssv.Frame = new RectangleF(colWidth1+1,0,colWidth2,728);
            //
            //				this.View.AddSubview (_ssv);
            //			}
        }
        public SessionSpeakersMasterDetail(int speakerID)
        {
            speakerId = speakerID;

            navBar = new UINavigationBar(new RectangleF(0,0,768, 44));
            navBar.SetItems(new UINavigationItem[]{new UINavigationItem("Session & Speaker Info")},false);

            View.BackgroundColor = UIColor.LightGray;
            View.Frame = new RectangleF(0,0,768,768);

            sessionView = new SessionView(this);
            sessionView.Frame = new RectangleF(0,44,colWidth1,728);
            sessionView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight;

            speakerView = new SpeakerView(-1);
            speakerView.Frame = new RectangleF(colWidth1+1,44,colWidth2,728);
            speakerView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;

            View.AddSubview (speakerView);
            View.AddSubview (sessionView);
            View.AddSubview (navBar);
        }