/// <summary> /// is called when VS closes. Overridden to cancel VCC, if it's still running. /// </summary> /// <param name="canClose"></param> /// <returns></returns> protected override int QueryClose(out bool canClose) { VCCLauncher.Cancel(); canClose = true; return(VSConstants.S_OK); }
private static void Cancel(object sender, EventArgs e) { VCCLauncher.Cancel(); }