01 2010 档案
摘要:今天从CSDN上看到一篇关于待机状态下使用程序唤醒电脑的代码,感觉很好,不过没有试过,现把代码转过来以供日后有用的时候再试一下。using System;using System.Runtime.InteropServices;using Microsoft.Win32.SafeHandles;using System.Threading;using System.ComponentModel;namespace ConsoleApplication1 { class Program { [DllImport("kernel32.dll")] public static extern Safe
阅读全文
摘要:今天在CSDN看到有为星星大哥问了个关于耗时处理的问题,其实这个问题应该使我们在项目中经常会碰到的。当时我尝试了一下,现在吧自己的实现方法写下来,供有需要的同志参考:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace AsynCallMethod{ public partial
阅读全文