Invoke KeyDown on WPF Control?
I have two entire开发者_如何转开发ly uncoupled WPF windows, however, if something particular is happening in window 1, I do want to invoke or 'simulate' a Key.Up/.Down on a control on the 2nd window. Is that possible?
Are they sharing an application? If they do, you should be able to call BeginInvoke
on the control's event handler
But why to simulate a key press when you can just call a function?
精彩评论