private void VerifyThis(object sender, EventArgs e) { if (OptionPage != null) { if (!VSIntegration.DocumentsSavedCheck(OptionPage)) { return; } VCCLauncher.VerifyThis(VSIntegration.StartFileName, VSIntegration.ActiveFileFullName, VSIntegration.CurrentLine, OptionPage); } }
private void CustomVerify(object sender, EventArgs e) { if (OptionPage != null) { if (!VSIntegration.DocumentsSavedCheck(OptionPage)) { return; } VCCLauncher.CustomVerify(VSIntegration.StartFileName, OptionPage); } }
private void ReVerify(object sender, EventArgs e) { if (OptionPage != null) { if (!VSIntegration.DocumentsSavedCheck(OptionPage)) { return; } VCCLauncher.LaunchVCC(LastAction); } }
/// <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(); }