private void SetFocus() { this.Focus(); ClientInterface.SendCommand(new ConsoleCommand("GotFocus")); }
protected override void OnLostFocus(System.Windows.RoutedEventArgs e) { base.OnLostFocus(e); ClientInterface.SendCommand(new ConsoleCommand("LostFocus")); }