PowerShell 2.0:禁用关闭按钮? [英] PowerShell 2.0: Disable close button?

查看:155
本文介绍了PowerShell 2.0:禁用关闭按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PS noob。在网上找到我想要使用的PS 2.0脚本。它发布了一个表单,我想禁用表单的"关闭"按钮。这可能吗?

解决方案

您好,


您可以在此处举例: http://mymsworld.kahsky.com/?p=154


此脚本将禁用主窗口上的关闭按钮。当您尝试为chid窗口执行此操作时,只需更改进程标题的名称,脚本可以使用。


问候,


卡尔


PS noob. Found a PS 2.0 script on the web I want to use. It posts a form, and I'd like to disable the form's Close button. Is that possible?

解决方案

Hi,

You can se an example here : http://mymsworld.kahsky.com/?p=154

This script will disable the close button on the main window. As you are trying to do this for a chid Window, just change the name of the process title, the script may use.

Regards,

Karl


这篇关于PowerShell 2.0:禁用关闭按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆