need event arguments for mshtml.HTMLElementEvents2_onclickEventHandler
-
hi i have adde handler for html document like this but i am not able to find arguments for the event could any one help me for this mshtml.HTMLElementEvents2_Event the_event = (mshtml.HTMLElementEvents2_Event)elem; the_event.onclick += new mshtml.HTMLElementEvents2_onclickEventHandler(htmlonclick);
with regards Balagurunathan.B
-
hi i have adde handler for html document like this but i am not able to find arguments for the event could any one help me for this mshtml.HTMLElementEvents2_Event the_event = (mshtml.HTMLElementEvents2_Event)elem; the_event.onclick += new mshtml.HTMLElementEvents2_onclickEventHandler(htmlonclick);
with regards Balagurunathan.B
If you're using Visual Studio, you can just click on the delegate name, hit the F12 key, and it will show you the arguments. You can also use a class inspector tool like the free Lutz Reflector[^] to show you this information.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: What this world needs... (Video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
hi i have adde handler for html document like this but i am not able to find arguments for the event could any one help me for this mshtml.HTMLElementEvents2_Event the_event = (mshtml.HTMLElementEvents2_Event)elem; the_event.onclick += new mshtml.HTMLElementEvents2_onclickEventHandler(htmlonclick);
with regards Balagurunathan.B
What I usually do is when adding the event handler, I just push tab twice, to get the following effect...
SomeObject.SomeEvent += // push 'TAB' to accept the delegate and method VS assigns
SomeObject.SomeEvent += SomeEventHandler(SomeMethod); // push 'TAB' again when VS highlights
// 'SomeMethod', and the signiture for that method will be created for you.
private void SomeMethod(...) {}
Hope this helps in the future,
Sounds like somebody's got a case of the Mondays -Jeff