/// <summary> /// 开机启动项 . /// </summary> /// <param name="Started">是否启动</param> /// <param name="name">启动值的名称</param> /// <param name="path">启动程序的路径</param> public void RunWhenStart(bool Started, string name, string path) Read More
posted @ 2013-03-11 10:27 指尖的流星 Views(183) Comments(0) Diggs(0)
[DllImport("user32.dll")] static extern bool SystemParametersInfo(uint uiAction, bool uiParam, ref bool pvParam, uint fWinIni); const uint SPI_GETSCREENSAVEACTIVE = 0x0010; const uint SPI_SETSCREENSAVEACTIVE = 0x0011; const uint SPIF_SENDCHANGE = 0x0002; const uint SPIF_SENDWININICHANGE = Read More
posted @ 2013-03-11 10:24 指尖的流星 Views(360) Comments(0) Diggs(0)