08 2007 档案
使用代理服务器
摘要:using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; // 添... 阅读全文
posted @ 2007-08-24 13:50 Gofficer 阅读(410) 评论(1) 推荐(0)
自定义Ping方法
摘要:namespace MyPing { usingSystem; usingSystem.Net; usingSystem.Net.Sockets; publicclassIcmpPacket { publicByteType;//typeofmessage publicByteSubCode... 阅读全文
posted @ 2007-08-24 13:47 Gofficer 阅读(360) 评论(0) 推荐(0)
HTTP请求和应答
摘要:using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; // 添... 阅读全文
posted @ 2007-08-24 13:39 Gofficer 阅读(441) 评论(0) 推荐(0)
Socket套接字实现服务器端连接
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 11:11 Gofficer 阅读(502) 评论(0) 推荐(0)
Socket套接字实现客户端连接
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 11:02 Gofficer 阅读(385) 评论(0) 推荐(0)
启动和停止本地系统进程
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 10:39 Gofficer 阅读(417) 评论(0) 推荐(0)
异常处理
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 10:32 Gofficer 阅读(248) 评论(0) 推荐(0)
对象串行化
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 10:22 Gofficer 阅读(348) 评论(0) 推荐(0)
显示系统进程信息
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 09:51 Gofficer 阅读(323) 评论(0) 推荐(0)
显示文件信息
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-24 09:47 Gofficer 阅读(263) 评论(0) 推荐(0)
显示磁盘目录信息
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-23 13:57 Gofficer 阅读(301) 评论(0) 推荐(0)
剪贴板应用程序
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-23 13:51 Gofficer 阅读(315) 评论(0) 推荐(0)
DirectDraw实例:显示图片
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-23 13:38 Gofficer 阅读(3135) 评论(1) 推荐(0)
显示显卡的信息
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Wind... 阅读全文
posted @ 2007-08-23 13:01 Gofficer 阅读(393) 评论(0) 推荐(0)
显示图片和文字
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 14:20 Gofficer 阅读(422) 评论(0) 推荐(0)
GDIDrawing3——GDI+绘图(三)
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 14:14 Gofficer 阅读(313) 评论(0) 推荐(0)
GDIDrawing2 —— GDI+绘图(二)
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 14:05 Gofficer 阅读(511) 评论(0) 推荐(0)
GDI+绘图
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 13:59 Gofficer 阅读(926) 评论(0) 推荐(0)
读取XML文件并将其内容显示在DataGrid组件中
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 13:43 Gofficer 阅读(573) 评论(1) 推荐(0)
多线程互斥实例3
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 13:20 Gofficer 阅读(335) 评论(0) 推荐(0)
多线程互斥实例2
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 13:14 Gofficer 阅读(314) 评论(0) 推荐(0)
多线程互斥实例
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 09:55 Gofficer 阅读(546) 评论(0) 推荐(0)
线程同步实例
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-22 09:42 Gofficer 阅读(423) 评论(0) 推荐(0)
多线程实例
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 16:56 Gofficer 阅读(640) 评论(0) 推荐(0)
打印文档
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 16:50 Gofficer 阅读(250) 评论(0) 推荐(0)
仿文件浏览器
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 16:43 Gofficer 阅读(326) 评论(0) 推荐(0)
读写文本文件
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 16:30 Gofficer 阅读(457) 评论(0) 推荐(0)
读写二进制文件
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 16:28 Gofficer 阅读(609) 评论(0) 推荐(0)
记事本实例
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 14:58 Gofficer 阅读(282) 评论(0) 推荐(0)
这是一个计算器的简单实现
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 14:57 Gofficer 阅读(186) 评论(0) 推荐(0)
定时提醒的小工具
摘要:1 using System; 2 using System.Drawing; 3 using System.Collections; 4 using System.ComponentModel; 5 using System.Windows.Forms; 6 using S... 阅读全文
posted @ 2007-08-21 14:55 Gofficer 阅读(797) 评论(0) 推荐(0)
动态显示上下文菜单
摘要:// 添加标签“粗体字”菜单项。 contextMenu1.MenuItems.Add("粗体字",new System.EventHandler(this.Label_Bold)); // 添加标签“斜体字”菜单项。 contextMenu1.MenuItems.Add("斜体字",new System.EventHandler(this.Label_Italic)); // 添加标签“普通字”菜单项。 contextMenu1.MenuItems.Add("普通字",new System.EventHandler(this.Label_Regular)); // 添加标签“中间有直线通过的字”菜单项。 contextMenu1.MenuItems.Add("中间有直线通过的字",new System.EventHandler(this.Label_Strikeout)); // 添加标签“带下划线的字”菜单项。 con 阅读全文
posted @ 2007-08-21 14:29 Gofficer 阅读(291) 评论(0) 推荐(0)
动态切换菜单
摘要://自定义菜单栏 mmNewMenu = new MainMenu(); miFile = new MenuItem("文件"); miFile.MenuItems.Add("新建",new System.EventHandler(miNew_Click)); miFile.MenuItems.Add("打开",new System.EventHandler(miOpen_Click)); miFile.MenuItems.Add("保存",new System.EventHandler(miSave_Click)); miFile.MenuItems.Add("关闭",new System.EventHandler(miClose_Click)); miFile.MenuItems.Add("-"); miFile.MenuItems.Add("退出",new System.EventHandler(miExit_Click)); miEdit 阅读全文
posted @ 2007-08-21 14:18 Gofficer 阅读(324) 评论(0) 推荐(0)