我在 WPF 页面中有 WindowsFormsHost,比如 Page1
WindowsFormsHost 有子 winform 说 Form1。
Form1 有 Paint 方法 Form1_Paint();
我正在使用 NavigationService 从 Page1 导航到 Page2。
当我使用 NavigationService.GoBack() 从 Page2 返回 Page1 时, Page1 的 Page_Loaded 事件会触发,但 Form1_Paint() 方法不会触发。
我想要通过 Back Navigation 触发 Page_Loaded() 事件时触发的 WinForm 事件。