设置一个按钮,实现关机功能

    技术2022-05-11  21

     

     

     通过调用Windows 函数    WinExec('shutdown -s -t 0', sw_Show)  实现

     

     

     

     具体参考资料:

    http://www.tobgood.com/Neil/784.html


    最新回复(0)