protected override IntPtr OnCreateChild()
            {
                controller = new MilSpaceProfileGraphsController();

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


                return(m_windowUI.Handle);
            }
        public DockableWindowMilSpaceProfileGraph(object hook, MilSpaceProfileGraphsController controller)
        {
            InitializeComponent();

            profilesTabControl.TabPages.Clear();

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

            this.Hook     = hook;
            this.Instance = this;
            SubscribeForEvents();
        }
 public DockableWindowMilSpaceProfileGraph(MilSpaceProfileGraphsController controller)
 {
     this.Instance = this;
     SetController(controller);
     controller.SetView(this);
 }
 internal void SetView(DockableWindowMilSpaceProfileGraph view)
 {
     View = view;
 }