Application.Idle event not firing in WPF application

前端 未结 2 1223
我在风中等你
我在风中等你 2020-12-11 07:19

I am using a third-party Windows Forms control that performs some actions \"delayed\" using the Application.Idle event.

Now that we\'re moving our application to WPF

2条回答
  •  青春惊慌失措
    2020-12-11 07:45

    If you are using a WPF Application, you are actually no longer using the System.Windows.Forms.Application class to run your application, even if your application contains a Windows Forms Control.

    Instead, you are using the System.Windows.Application class (different namespace).

提交回复
热议问题