Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
User interface Powershell GUI-经典主题而非Windows Aero_User Interface_Powershell_Aero - Fatal编程技术网

User interface Powershell GUI-经典主题而非Windows Aero

User interface Powershell GUI-经典主题而非Windows Aero,user-interface,powershell,aero,User Interface,Powershell,Aero,在Powershell ISE中创建GUI程序时,它是以Windows Aero为主题的。 从桌面运行相同的程序,其主题是Windows经典。 我希望能够在从.bat运行程序时使用aero主题。我做错了什么?您好,请编辑您的问题以包含GUI代码,以便我们提供帮助。找到它:[System.Windows.Forms.Application]::EnableVisualStyles()您好,请编辑您的问题以包含GUI代码,以便我们提供帮助。找到它:[System.Windows.Forms.Ap

在Powershell ISE中创建GUI程序时,它是以Windows Aero为主题的。

桌面运行相同的程序,其主题是Windows经典


我希望能够在从.bat运行程序时使用aero主题。我做错了什么?

您好,请编辑您的问题以包含GUI代码,以便我们提供帮助。找到它:[System.Windows.Forms.Application]::EnableVisualStyles()您好,请编辑您的问题以包含GUI代码,以便我们提供帮助。找到它:[System.Windows.Forms.Application]::EnableVisualStyles()