private void combox_PreviewKeyDown(object sender, System.Windows.Input.KeyEventArgs e) { if (sender is ComboBox) { InputSimulatorManager.PreviewKeyDown(sender, e); } if (sender is TextBox) { InputSimulatorManager.Instance.TextBoxPreviewKeyDown(sender, e); } }
private void combox_PreviewKeyDown(object sender, KeyEventArgs e) { InputSimulatorManager.PreviewKeyDown(sender, e); }