作者:飘移zj_114 | 来源:互联网 | 2023-09-25 21:02
Ihaveanelementhostwith3WPFcontrols.Iamplacingtheelementhostonawinform.Whenmyappl
I have an element host with 3 WPF controls. I am placing the element host on a winform. When my application is coming up, the element host is taking few seconds and the winform is getting displayed as a blank screen.
我有一个带有3个WPF控件的元素主机。我将元素主机放在winform上。当我的应用程序出现时,元素主机需要几秒钟,winform将显示为空白屏幕。
How to fix this? Any ideas are appreciated. Basically, I don't want to display the blank screen as it looks ugly when the application is coming up.
如何解决这个问题?任何想法都表示赞赏。基本上,我不想显示空白屏幕,因为它在应用程序出现时看起来很难看。
2 个解决方案