How can i fire an event from another event handling function.

eg: i want to invoke the command1_click() from winsock1_dataarrival()

can you help me??


Thank you