更新时间:2023-12-06 09:45:10
您需要致电EnableVisualStyles
方法 [ ^ ]
如何:在混合应用程序中启用视觉样式 [ ^ ]
Hello every one. When i open a windows form in wpf windows host form the style of the form and buttons changes, I want to preserve the actual styles of buttons ,How can I do that?
You need to call theEnableVisualStyles
method[^] when the WPF window is loaded.
How to: Enable Visual Styles in a Hybrid Application[^]