上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;using System.Threading;namespace prjDownLoad{class Program{//添加一个AutoResetEvent//这是一个信号机static AutoResetEvent are = new AutoResetEvent(false);static void Main(string[] args){//Version7.0//将下载数据放入一个单独的线程中 阅读全文
posted @ 2011-03-01 23:00 愤怒的熊猫 阅读(128) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;using System.Threading;namespace prjDownLoad{class Program{static void Main(string[] args){//Version5.0//使用WebRequest和WebResponse配合//创建WebRequest对象WebRequest wr = WebRequest.Create("http://blog.sina 阅读全文
posted @ 2011-03-01 22:58 愤怒的熊猫 阅读(83) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;namespace prjDownLoad{class Program{static void Main(string[] args){//Version4.0//使用WebRequest和WebResponse配合//创建WebRequest对象WebRequest wr = WebRequest.Create("http://blog.sina.com.cn/dalishuishou&qu 阅读全文
posted @ 2011-03-01 22:56 愤怒的熊猫 阅读(91) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;namespace prjDownLoad{class Program{static void Main(string[] args){//Version3.0//使用WebClient来下载WebClient wc = new WebClient();//注册当数据下载完成以后触发的事件wc.DownloadDataCompleted += new DownloadDataCompletedEvent 阅读全文
posted @ 2011-03-01 22:54 愤怒的熊猫 阅读(133) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;namespace prjDownLoad{class Program{static void Main(string[] args){//Version2.0//使用WebClient来下载WebClient wc = new WebClient();//注册当文件下载完成以后触发的事件wc.DownloadFileCompleted += new System.ComponentModel.Asyn 阅读全文
posted @ 2011-03-01 22:53 愤怒的熊猫 阅读(131) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;namespace prjDownLoad{class Program{static void Main(string[] args){//Version1.0//使用WebClient来下载WebClient wc = new WebClient();//直接使用下载文件的方法,//只需要指定要下载的Url,和保存的文件名就可以了。wc.DownloadFile("http://blog.s 阅读全文
posted @ 2011-03-01 22:52 愤怒的熊猫 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 转摘自:http://www.cnblogs.com/Along729/archive/2011/03/01/Toolstrip.html暂时还没时间,把代码分离出来,做到通用,所以大家看着自己动手改改代码吧看图:QQ的 美化方法:使用Renderer属性和ToolStripRenderer类来自定义ToolStrip的外观调用方法//作者:阿龙(Along)//QQ号:646494711//QQ群:57218890//网站:http://www.8timer.com//博客:http://www.cnblogs.com/Along729///声明:未经作者许可,任何人不得发布出售该源码,请尊 阅读全文
posted @ 2011-03-01 22:15 愤怒的熊猫 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/scy251147/archive/2011/02/27/1966413.html主要是前两天,有个同学问我这个方面的内容,当时利用了委托事件的方法来解决的,感觉效果还是挺好的。于是便记录了下来,以作备忘。本例中,主要实现的是向Access数据库中添加记录的功能。其中,主窗体负责显示数据,而弹出的子窗体负责添加数据,数据添加完毕,需要刷新主窗体。父窗体代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data; 阅读全文
posted @ 2011-02-28 09:15 愤怒的熊猫 阅读(397) 评论(1) 推荐(0) 编辑
摘要: SQLite是一个开源、免费的小型的Embeddable RDBMS(关系型数据库),用C实现,内存占用较小,支持绝大数的SQL92标准,现在已变得越来越流行,它的体积很小,被广泛应用于各种不同类型的应用中。SQLite已经是世界上布署得最广泛的SQL数据库引擎,被用在无以计数的桌面电脑应用中,还有消费电子设备中,如移动电话、掌上电脑和MP3播放器等。SQLite 的关键字列表, 支持的sql语法System.Data.SQLitehttp://sqlite.phxsoftware.com/是Sqlite在.NET下的最新实现。简单介绍如下:System.Data.SQLite 是一个原始SQ 阅读全文
posted @ 2011-02-27 00:10 愤怒的熊猫 阅读(352) 评论(0) 推荐(0) 编辑
摘要: SQLite是一个非常小巧的Embeddable SQL Database引擎。它的特色就是“麻雀随小,但五脏具全”。而且使用起来极其简单,不需要安装配置,拿过来就可以用,非常适合桌面程序和小型网站。还有最关键的一点,它是开源的。这里我会给出一些实用的SQLite资源。SQLite引擎SQLite:http://www.sqlite.org/.NET Data Provider for SQLiteADO.NET Data Provider for SQLite. (.NET Framework 1.1). Supports both SQLite 2 and 3, Full and Comp 阅读全文
posted @ 2011-02-26 20:51 愤怒的熊猫 阅读(227) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页