示例#1
0
        public override void OnToolWindowCreated()
        {
            base.OnToolWindowCreated();

            control.TrackSelection = (ITrackSelection)GetService(typeof(STrackSelection));
            windowFrameEventsHandler = new WindowStatus(this);
            (this.Frame as IVsWindowFrame).SetProperty(
                (int)__VSFPROPID.VSFPROPID_ViewHelper, windowFrameEventsHandler);
        }