摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace HelloCsharp { class Program { static 阅读全文
posted @ 2021-09-22 12:50
ZuoTian
阅读(311)
评论(0)
推荐(0)
摘要:
private void Form1_Load(object sender, EventArgs e) { bool Exist;//定义一个bool变量,用来表示是否已经运行 //创建Mutex互斥对象 System.Threading.Mutex newMutex = new System.Th 阅读全文
posted @ 2021-09-22 12:48
ZuoTian
阅读(130)
评论(0)
推荐(0)
摘要:
第一种:(调用系统API) 首先引入两个命名空间 using System.Runtime.InteropServices;using System.Reflection; 然后导入API [DllImport("user32.dll")]public static extern IntPtr Lo 阅读全文
posted @ 2021-09-22 12:47
ZuoTian
阅读(205)
评论(0)
推荐(0)
摘要:
//根据实际需要使用 using System; using System.Collections.Generic; using System.Text; using System.Data.OleDb; using System.Data; using System.Collections; us 阅读全文
posted @ 2021-09-22 12:28
ZuoTian
阅读(311)
评论(0)
推荐(0)

浙公网安备 33010602011771号