예제 #1
0
 private void AddTextChangedHandler()
 {
     TextBoxHintTextChangedHandler handler = new TextBoxHintTextChangedHandler(this);
     this.TextChanged += handler.ShowHintTextWhenEmpty;
     this.TextChanged += this.RemoveTildeKeyChars;
 }
예제 #2
0
 private void AddLoadedHandler()
 {
     TextBoxHintTextChangedHandler handler = new TextBoxHintTextChangedHandler(this);
     this.Loaded += handler.ShowHintTextWhenEmpty;
 }