升级到VS2008,但winform控件还是VS2003风格
我已升级到 Visual Studio 2008 和 .net 3.5。我已经迁移了在 .net 1.1 上运行的应用程序,并且我的所有控件仍然具有 1.1 的外观和感觉。在设计器中,控件的外观/样式已更新,但在运行时期间并未更新。
如何强制切换?
I've upgraded to Visual Studio 2008 and .net 3.5. I've migrated an application that was running on .net 1.1, and all of my controls still have the 1.1 look and feel. In the designer, the look/style of the controls has updated, but during runtime, it's not.
How do I force the switch?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
调用
Application.EnableVisualStyles()
位于
Main()
的开头。Call
Application.EnableVisualStyles()
at the beginning ofMain()
.