コード例 #1
0
        SessionWindowTabViewController(IntPtr handle) : base(handle)
        {
            sessionEventAdapter = new SessionViewControllerAdapter <SessionWindowTabViewController> (this);

            ToolbarSegmentedControl = new NSSegmentedControl {
                SegmentStyle = NSSegmentStyle.Automatic,
                TrackingMode = NSSegmentSwitchTracking.SelectOne
            };

            ToolbarSegmentedControl.Activated += ToolbarSegmentedControl_Activated;

            TransitionOptions = NSViewControllerTransitionOptions.None;
        }
コード例 #2
0
 protected SessionSplitViewController(IntPtr handle) : base(handle)
 {
     adapter = new SessionViewControllerAdapter <SessionSplitViewController> (this);
 }