摘要: 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)
摘要: AWiconsPro--绘制彩虹鼠标指针 实际效果(因为转换的问题,所以看着有点模糊) 鼠标指针制作工具软件下载地址:http://www.cloveo.cn/cloveofiles/01.zip 阅读全文
posted @ 2021-09-19 17:25 ZuoTian 阅读(83) 评论(0) 推荐(0)
摘要: 具体操作: 添加达梦类库DmProvider。 添加引用using Dm; 引用下方DaMengHelper(). 代码如下: using System; using System.Collections; using System.Collections.Generic; using System 阅读全文
posted @ 2021-09-19 16:08 ZuoTian 阅读(343) 评论(0) 推荐(0)