Search code examples
c#visual-studio-2015desktop-applicationwindows-forms-designer

I want method to run (event to occur) while i am typing something in textbox


I want method to run (event to occur) while i am typing something in textbox ( i dont want to click button) for example i have a a textbox and a listbox in a same form and while i am writing text in textbox it should simultaneously print that in listbox without clicking an button


Solution

  • use Text Changed event for your textbox Text Changed event