摘要: string ip = "127.0.0.1"; //要检查的IP地址 Ping pingSender = new Ping(); try { PingReply reply = pingSender.Send(ip, 120); if (reply.Status == IPStatus.Succe 阅读全文
posted @ 2024-03-27 09:28 芈璐 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 问题解决一: 如果是窗体属性加载了背景图导致的内存占用,在关闭窗体前,释放掉背景图资源即可释放占用的内存 private Image backgroundImage; public Form2() { InitializeComponent(); backgroundImage = Image.Fr 阅读全文
posted @ 2024-03-27 09:18 芈璐 阅读(384) 评论(0) 推荐(0) 编辑