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); }
public void Activate() { window = package.FindToolWindow(typeof(ChartPoints.CPTableViewTW), 0, true) as CPTableViewTW; Show(); window?.Clear(); }