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