コード例 #1
0
            protected override IntPtr OnCreateChild()
            {
                controller = new MilSpaceProfileGraphsController();

                m_windowUI = new DockableWindowMilSpaceProfileGraph(this.Hook, controller);


                return(m_windowUI.Handle);
            }
コード例 #2
0
        public DockableWindowMilSpaceProfileGraph(object hook, MilSpaceProfileGraphsController controller)
        {
            InitializeComponent();

            profilesTabControl.TabPages.Clear();

            SetController(controller);
            controller.SetView(this);

            this.Hook     = hook;
            this.Instance = this;
            SubscribeForEvents();
        }
コード例 #3
0
 public DockableWindowMilSpaceProfileGraph(MilSpaceProfileGraphsController controller)
 {
     this.Instance = this;
     SetController(controller);
     controller.SetView(this);
 }
コード例 #4
0
 internal void SetView(DockableWindowMilSpaceProfileGraph view)
 {
     View = view;
 }