Performance issues when displaying a WinForm dialog from a WPF application

I am currently developing a WPF application that will use existing WinForm dialogs. I experience a big lag between the time that I call ShowDialog()in WinForm before it is displayed.

Even when reusing WinForm dialog objects, the lag time is almost as bad on a second hit. This means that the problem is not in the constructor.

Does anyone have a job to increase speed or find out why speed is so slow?

+3
source share
1 answer

WPF- Forms , " ", Win7. , WPF-Forms interop . , , , .

  • Load FormShown? , , ?
  • ? , , .

, , , , .

0

Source: https://habr.com/ru/post/1760780/


All Articles