Exemple #1
0
 private void VerifyThis(object sender, EventArgs e)
 {
     if (OptionPage != null)
     {
         if (!VSIntegration.DocumentsSavedCheck(OptionPage))
         {
             return;
         }
         VCCLauncher.VerifyThis(VSIntegration.StartFileName, VSIntegration.ActiveFileFullName, VSIntegration.CurrentLine, OptionPage);
     }
 }
Exemple #2
0
 private void CustomVerify(object sender, EventArgs e)
 {
     if (OptionPage != null)
     {
         if (!VSIntegration.DocumentsSavedCheck(OptionPage))
         {
             return;
         }
         VCCLauncher.CustomVerify(VSIntegration.StartFileName, OptionPage);
     }
 }
Exemple #3
0
 private void ReVerify(object sender, EventArgs e)
 {
     if (OptionPage != null)
     {
         if (!VSIntegration.DocumentsSavedCheck(OptionPage))
         {
             return;
         }
         VCCLauncher.LaunchVCC(LastAction);
     }
 }
Exemple #4
0
 /// <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);
 }
Exemple #5
0
 private static void Cancel(object sender, EventArgs e)
 {
     VCCLauncher.Cancel();
 }