Esempio n. 1
0
 private void SetTextInput()
 {
     // ensures that textbox is not already hooked before creating a new hook.
     if (_input == null)
     {
         _input = new RealText(_handle);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Removes the Focus of the textbox and Disposes the Hook to the windows keyboard events. 
 /// </summary>
 public void Blur()
 {
     this.HasFocus = false;
     _input.Dispose();
     _input = null;
 }