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
 
Back
Top