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