Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Catching button click event in VS addin

$
0
0

I am trying to catch the Load test run button click event in an Addin I'm writing for vs2010

I've tried a couple of approaches in the OnConnection event

 var evt = _applicationObject.Events.get_CommandEvents("{7A368D2D-B70C-45EE-9854-D72059FCC7E3}", 8192);
  evt.BeforeExecute += new _dispCommandEvents_BeforeExecuteEventHandler(CommandEvents_BeforeExecute);

The event is caught only after I open the Addin manager uncheck the adding close the manager , enter again and check the Add in again

Any idea why this happens?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>