c# - TextBox Changed event -


The text box is changed when I want to wait until a word is entered from the string instead of the phone function . Although I do not think the code written to work, can anyone tell me the correct approach on this.

  Private zeros txtConsole_TextChanged (Object Sender, EventArgs e) {string FastModeTest = ""; If (FastModTest.indexoff ("ADR ="> gt; -1) {TestRoutine 2 (); }}  

  private zeros txtConsole_TextChanged (object sender, EventArgs e) {if (TxtConsole.Text! = "Some words") Return; // left}  

If no key is entered, this code will cancel this function.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -