1.这个比较有效

this.Dispatcher.BeginInvoke(DispatcherPriority.Background,
(Action)(() => { Keyboard.Focus(tbReceiveMoney); }));

2.一般方式

   tbReceiveMoney.Focus();

不知道为什么用下面这方法不行

tbReceiveMoney.Invoke(() =>
{
tbReceiveMoney.Focus();
});

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案