如下资料是关于C#控制Windows系统关机、重启和注销的代码。
protected void btnShutDown_Click(object sender, EventArgs e)
{
}
protected void btnRestart_Click(object sender, EventArgs e)
{
}
protected void btnLogOff_Click(object sender, EventArgs e)
{
}
原文地址:https://www.cnblogs.com/uigrls/p/10350866.html
时间: 2024-10-29 19:08:46