//public void UpdateView() //{ // if (window == null) // Activate(); // //window.UpdateView(); //} public void Close() { if (window == null) { window = package.FindToolWindow(typeof(ChartPoints.CPChartViewTW), 0, true) as CPChartViewTW; } IVsWindowFrame frame = window?.Frame as IVsWindowFrame; frame?.CloseFrame((uint)__FRAMECLOSE.FRAMECLOSE_NoSave); }
public void Activate() { window = package.FindToolWindow(typeof(ChartPoints.CPChartViewTW), 0, true) as CPChartViewTW; Show(); window?.Clear(); }