随笔分类 - 个人总结
总结问题,编程实现。
    
摘要:链接 https://www.opengl.org/wiki/Language_bindings http://blog.csdn.net/luozhuang/article/details/42168017
        阅读全文
                
摘要:使用using System.Runtime.InteropServices; [DllImport("user32.dll" , EntryPoint = "ShowCursor" , CharSet = CharSet.Auto)] public static extern void ShowC
        阅读全文
                
摘要:主要是winform窗体中使用了webBrowser控件,webBrowser中调用javascript操作窗体里面的后台方法,使用下面的两句。 this.webBrowser1.ObjectForScripting = this; webBrowser1.Url = new Uri(Path.Co
        阅读全文
                
摘要:图片的拆分 1、保存png图片 using System; using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;us
        阅读全文
                
摘要:上一篇中说到了图片的具体产生以及属性,本篇主要是具体的使用,详情案例见下面的具体视图及代码 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System
        阅读全文
                
摘要:Image.FrameDimensionsList 属性 .NET Framework 2.0 获取 GUID 的数组,这些 GUID 表示此 Image 中帧的维数。 .NET Framework 2.0 获取 GUID 的数组,这些 GUID 表示此 Image 中帧的维数。 获取 GUID 的
        阅读全文
                
摘要:界面 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Win
        阅读全文
                
摘要:1 private void GetIP() 2 { 3 string hostName = Dns.GetHostName();//本机名 4 //System.Net.IPAddress[] addressList = Dns.GetHostByName(hostName).AddressLis
        阅读全文
                
摘要:1.创建一个新的cookie,并赋值。 HttpCookie cookie; cookie=new HttpCookie("user"); cookie.Domain = AppConfig.DomainName; cookie.Values.Add("Username",username); co
        阅读全文
                
摘要:C#下进行directX的3D开发,一个旋转的4棱锥的例子。 建议看两个文档<Managed DirectX 9图形和游戏编程简略中文文档>和<Managed DirectX 9 SDK 中文文档>。 另外最好下载个DirectX SDK (August 2007).rar。里面有些范例还是非常好的
        阅读全文
                
摘要:窗体代码 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.W
        阅读全文
                
摘要:using System;using System.Collections.Generic;namespace TestThisIndex{ public class Program { static void Main(string[] args) { WLJ wlj = new WLJ(); L
        阅读全文
                
摘要:虽然网上已经有了SharpSniffer 这一个SharpSniffer还是原创的无他,唯为学习工程文件下载:SharpSniffer.rar 1、创建套接字2、绑定到本机3、设置IOControl4、接收数据5、处理(显示)数据 1、创建套接字 创建socket ,据MSDN,IOControlC
        阅读全文
                
摘要:sharppcap dll的下载地址: http://sourceforge.net/directory/os:windows/?q=sharppcap 具体使用详细步骤: http://www.codeproject.com/KB/IP/sharppcap.aspx 详细使用 实例wrapper类
        阅读全文
                
摘要:一、按键盘的键数可分为86键键盘、101键键盘、104键键盘、Win98键盘。 86键键盘:早期的键盘,键盘上有86键; 101键键盘:101键:将几常用键及数字键分离出来组合成键盘第三区--数字小键盘区,这样就有101个键了; 104键键盘:在Win95推出后,增加三个功能键,它是目前最流行的一种
        阅读全文
                
摘要:1、命名空间:using System.Runtime.InteropServices;2、导入方法[DllImport("user32.dll", EntryPoint = "GetKeyboardState")]public static extern int GetKeyboardState(
        阅读全文
                
摘要:GetKeyState、GetAsyncKeyState、GetKeyboardState函数的区别: 1、BOOL GetKeyboardState( PBYTE lpKeyState );获得所有的256个键(键盘按键、鼠标按键等等)的状态,lpKeyState是指向一个256bit的数组,存放
        阅读全文
                
摘要:c#关键字 关键字是对编译器有特殊意义的预定义的保留标识符。它们不能在程序中用作普通标识符,除非在它们前面加上@前缀。 第一部分 一.访问关键字:base,this base:访问基类的成员。 用于从派生类中访问基类的成员, 1.调用基类上已经被重写的方法。 2.指定创建派生类实例时应调用的基类构造
        阅读全文
                
摘要:最简单的方法 可以静态绑定数据源,这样就自动为DataGridView控件添加相应的行。 假如需要动态为DataGridView控件添加新行,方法有很多种,下面简单介绍如何为DataGridView控件动态添加新行的两种方法: 方法一: 代码如下: int index=this.dataGridVi
        阅读全文
                
摘要:本人亲自写的一个简单的测试例子 1、xsd定义 <?xml version="1.0" encoding="utf-8"?><xs:schema id="LONGTWNG" targetNamespace="http://tempuri.org/LONGTWNG.xsd" elementFormDe
        阅读全文
                
                    
                
浙公网安备 33010602011771号