Event

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

How can I fire an event in a custom control (composite control)
sending a command value and argument?

Thanks,
Miguel
 
in your control define a commandarg event:

public event CommandEventHandler myEvent;

then fire the event whenever you want:

myEvent(this, new CommandEventArgs(cmdName,cmdArg));


-- bruce (sqlwork.com)
 
Back
Top