更新时间:2023-12-06 14:00:46
Windows窗体将承担任何主题他们正在运行的机器已启用 - 这是设计。老实说,在Windows 7上运行的Windows窗体看起来像XP窗体形式是没有意义的。你能给出一些上下文,为什么你想让窗体看起来像是在XP上运行吗?
Windows forms are going to take on whatever "theme" the machine they are running on has enabled - which is by design. Honestly, it wouldn't make sense for a windows form running on Windows 7 to look like an XP windows form. Could you give some sort of context for why you want your windows form to look like it's always running on XP?