I have been developing an application on the .Net platform for a while. When I run my application that I wrote on the Winforms platform and perform real time graphics operations on a computer without a screen card, I did not see any freezing problem. But a while ago I switched to wpf to take advantage of wpf. I wrote an application in wpf, very similar to the I wrote on the winforms platform. But the program freezes when real-time graphics in ZedGraph start.


1-How do I optimize the screen card needs of my wpf application?


When I tried the above code, there was some improvement but not enough.

2-If I use a winform companent(for example:ZedGraph) with winforms host inside my wpf application, will performance of companent decrease?


PC without screen card