简体   繁体   中英

Windows Form control not working properly in WPF application

I have a Windows Form with progress bar, the progress bar working fine when I open the form in Windows Application, now we are migrating our windows application to wpf application. We are doing this migration step-by-step, we are following below procedure in migration.

  • Created new C# WPF application project.
  • Re-designed some important windows form as WPF window (MetroWindow from MahApps)
  • Added the existing Windows form application in WPF app's project reference.
  • Now, we are opening a existing project's windows form in new WPF app.

In this way, the windows form that included the progress bar control not showing progress when I open the form in WPF application.

Can anyone help me to overcome this situation?

您可以尝试托管的方法,其中有一些演练...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM