摘要:
方法一:使用Mutex来进行1. 首先要添加如下的namespace: using System.Threading;2. 修改系统Main函数,大致如下: bool bCreatedNew;//Create a new mutex using specific mutex name Mutex m =new Mutex( false, "myUniqueName", out bCreatedNe... 阅读全文
摘要:
窗体抖动...仿MSN............. int formwinL = this.Left; int formwinT = this.Top; Random randomx = new Random(); for (int i = 0; i < 100; i++) { int x = randomx.Next(i+2-1); int y = randomx.Next(i+2-1)... 阅读全文