예제 #1
0
        public void Close()
        {
            if (window == null)
            {
                window = package.FindToolWindow(typeof(ChartPoints.CPTableViewTW), 0, true) as CPTableViewTW;
            }
            IVsWindowFrame frame = window?.Frame as IVsWindowFrame;

            frame?.CloseFrame((uint)__FRAMECLOSE.FRAMECLOSE_NoSave);
        }
예제 #2
0
 public void Activate()
 {
     window = package.FindToolWindow(typeof(ChartPoints.CPTableViewTW), 0, true) as CPTableViewTW;
     Show();
     window?.Clear();
 }