12 2023 档案
摘要:C# 设置应用程序开机自启动 主要是通过动态生成vbs脚本,放置在系统自启动目录下,系统开机时会自动执行vbs脚本启动应用程序 开机自启动,自动生成vbs脚本 using (StreamWriter file = new StreamWriter($@"{Environment.GetFolderP
阅读全文
摘要:C# 控制台程序屏蔽关闭按钮,关闭快速编辑模式,注册关闭事件 using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using Sys
阅读全文