private void AddTextChangedHandler() { TextBoxHintTextChangedHandler handler = new TextBoxHintTextChangedHandler(this); this.TextChanged += handler.ShowHintTextWhenEmpty; this.TextChanged += this.RemoveTildeKeyChars; }
private void AddLoadedHandler() { TextBoxHintTextChangedHandler handler = new TextBoxHintTextChangedHandler(this); this.Loaded += handler.ShowHintTextWhenEmpty; }