Monday, February 17, 2014

Creating and consuming custom control events in C#

In my autocomplete textbox control, I have a listbox that shows the suggested items based on user input. However, as a requirement I want to create an event that will trigger once a selection has been done in the listbox and this event will be consumed in the calling program (Main Form). To do that, you must define a custom event.
After googling for a while, here are the references that made me accomplish the task:
Creating Custom Events in C#
Quick and Easy Custom Events
Cheers!

0 comments:

Post a Comment