如何在更改域后隐藏“立即重新启动”按钮。 [英] How to hide the Restart Now button after changing the domain.

查看:89
本文介绍了如何在更改域后隐藏“立即重新启动”按钮。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用C#代码调用计算机选项卡系统属性,当我使用此选项卡更改域时,它要求系统立即重启或稍后重启。 / p>

但我的要求是我要禁用或隐藏立即重启按钮。



请帮帮我,如何隐藏立即重启按钮。



谢谢


Deepak Sharma



解决方案

这是不可能的。 这些是您无法控制的固定系统对话框。


如果您需要该级别的控制,那么您可能需要在自己的应用程序中更改域而不是使用系统属性对话框。  这也不容易。


Hi,

I'm invoking computer tab system properties using C# code, When I Changed the domain using this tab it's ask for system Restart Now or Restart later.

But my requirement is I want to disable or hide the Restart Now button.

Please help me out, how can I hide the Restart now button.

Thanks

Deepak Sharma

解决方案

That's impossible.  Those are canned system dialogs that you do not control.

If you need that level of control, then perhaps you need to change the domain in your own application instead of using the system properties dialog.  That's not going to be easy, either.


这篇关于如何在更改域后隐藏“立即重新启动”按钮。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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