2012年4月27日

winForm写cookie经过

摘要: 1.引进 名称空间 using System.Runtime.InteropServices;2.注册[DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)]public static extern bool InternetSetCookie(string lpszUrlName, string lbszCookieName, string lpszCookieData);3.#region 写入cookie// set cookieInternetSetCookie(url, &quo 阅读全文

posted @ 2012-04-27 16:16 HOT SUMMER 阅读(2889) 评论(0) 推荐(0)

Winform开发框架之终极应用 - 伍华聪 - 博客园

摘要: http://www.cnblogs.com/wuhuacong/archive/2011/05/17/2049368.html 阅读全文

posted @ 2012-04-27 15:47 HOT SUMMER 阅读(1995) 评论(0) 推荐(1)

定时执行

摘要: usingSystem;usingSystem.Timers;namespace定时器ConsoleApplication1{classClass1{ [STAThread] staticvoidMain(string[]args){System.Timers.TimeraTimer=newSystem.Timers.Timer();aTimer.Elapsed+=newElapsedEventHandler(TimeEvent);//设置引发时间的时间间隔 此处设置为1秒(1000毫秒)aTimer.Interval=1000;aTimer.Enabled=true;Console.Writ 阅读全文

posted @ 2012-04-27 09:38 HOT SUMMER 阅读(237) 评论(0) 推荐(0)

利用服务定时执行

摘要: http://www.cnblogs.com/aaa6818162/archive/2009/08/10/1542619.html 阅读全文

posted @ 2012-04-27 09:16 HOT SUMMER 阅读(144) 评论(0) 推荐(0)

导航