Triger an event in the code

  • Thread starter Thread starter james ou
  • Start date Start date
J

james ou

hi, everybody,

Can I triger an event in the code? For example, can I
triger a keydown event of textbox?

thanks
 
Hi James,

Handling the keydown event will, automatically call the event.

You could also just explicitly call the event, (not very elegant)
// TextBox1_KeyPress(null, null);

Regards,
Sankalp
 
Back
Top