上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 101 下一页
摘要: 1.创建一个新的cookie,并赋值。 HttpCookie cookie; cookie=new HttpCookie("user"); cookie.Domain = AppConfig.DomainName; cookie.Values.Add("Username",username); co 阅读全文
posted @ 2016-07-06 14:57 龙骑科技 阅读(883) 评论(0) 推荐(0)
摘要: C#下进行directX的3D开发,一个旋转的4棱锥的例子。 建议看两个文档<Managed DirectX 9图形和游戏编程简略中文文档>和<Managed DirectX 9 SDK 中文文档>。 另外最好下载个DirectX SDK (August 2007).rar。里面有些范例还是非常好的 阅读全文
posted @ 2016-07-02 14:36 龙骑科技 阅读(9475) 评论(0) 推荐(0)
摘要: 窗体代码 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.W 阅读全文
posted @ 2016-06-29 15:00 龙骑科技 阅读(667) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;namespace TestThisIndex{ public class Program { static void Main(string[] args) { WLJ wlj = new WLJ(); L 阅读全文
posted @ 2016-06-29 13:58 龙骑科技 阅读(1805) 评论(0) 推荐(0)
摘要: 虽然网上已经有了SharpSniffer 这一个SharpSniffer还是原创的无他,唯为学习工程文件下载:SharpSniffer.rar 1、创建套接字2、绑定到本机3、设置IOControl4、接收数据5、处理(显示)数据 1、创建套接字 创建socket ,据MSDN,IOControlC 阅读全文
posted @ 2016-06-28 11:23 龙骑科技 阅读(5218) 评论(0) 推荐(0)
摘要: sharppcap dll的下载地址: http://sourceforge.net/directory/os:windows/?q=sharppcap 具体使用详细步骤: http://www.codeproject.com/KB/IP/sharppcap.aspx 详细使用 实例wrapper类 阅读全文
posted @ 2016-06-28 10:48 龙骑科技 阅读(9418) 评论(1) 推荐(1)
摘要: 一、按键盘的键数可分为86键键盘、101键键盘、104键键盘、Win98键盘。 86键键盘:早期的键盘,键盘上有86键; 101键键盘:101键:将几常用键及数字键分离出来组合成键盘第三区--数字小键盘区,这样就有101个键了; 104键键盘:在Win95推出后,增加三个功能键,它是目前最流行的一种 阅读全文
posted @ 2016-06-27 18:08 龙骑科技 阅读(908) 评论(0) 推荐(0)
摘要: 1、命名空间:using System.Runtime.InteropServices;2、导入方法[DllImport("user32.dll", EntryPoint = "GetKeyboardState")]public static extern int GetKeyboardState( 阅读全文
posted @ 2016-06-27 17:52 龙骑科技 阅读(3010) 评论(0) 推荐(0)
摘要: GetKeyState、GetAsyncKeyState、GetKeyboardState函数的区别: 1、BOOL GetKeyboardState( PBYTE lpKeyState );获得所有的256个键(键盘按键、鼠标按键等等)的状态,lpKeyState是指向一个256bit的数组,存放 阅读全文
posted @ 2016-06-27 17:50 龙骑科技 阅读(5585) 评论(0) 推荐(1)
摘要: c#关键字 关键字是对编译器有特殊意义的预定义的保留标识符。它们不能在程序中用作普通标识符,除非在它们前面加上@前缀。 第一部分 一.访问关键字:base,this base:访问基类的成员。 用于从派生类中访问基类的成员, 1.调用基类上已经被重写的方法。 2.指定创建派生类实例时应调用的基类构造 阅读全文
posted @ 2016-06-25 14:51 龙骑科技 阅读(3154) 评论(0) 推荐(0)
上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 101 下一页