c# events in script

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

hi,
i have a question regarding events:
i have a button MyButton in C# with the event called OnClick(...)and
embedded the vsa in my application to be able to execute jscript and
vbscript files.
I'm able to pass the button as object to the scripts but how can i
define my event handling within the script file ??
--> jscript or vbscript should do the event handling for Mybutton, if
its clicked on the form...

thanks,
splash
 
sorry, i posted this question a bit too fast...

i found the answer. Just do a delegate and handle the event in the jscript file
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top