码迷,mamicode.com
首页 >  
搜索关键字:generic polygon clip    ( 9960个结果
atitit.表单验证 的dsl 本质跟 easyui ligerui比较
atitit.表单验证的dsl 本质跟 easyui ligerui比较    1. DSL 声明验证 1 2. 自定义规则 1 3. 正则表达式验证,可以扩展实现 2 4. 犯错误消息提示,generic canBeEmpty is good 3 5. Prevent the form to submit when invalid 3 6. 为空则不验证,不为空则验证,的实现 5 ...
分类:其他好文   时间:2014-07-26 15:09:30    阅读次数:316
简单的创建一张excel表
*类库去我的下载里面下载usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Web; usingSystem.Web.UI; usingSystem.Web.UI.WebControls; usingNPOI.HSSF.UserModel; usingNPOI.SS.UserModel; usingSystem.Data; usingSystem.IO; publicpartialclas..
分类:其他好文   时间:2014-07-26 03:11:08    阅读次数:205
使用泛型集合代替datatable作为返回值实现面向对象
开会的时候,师父说,我们在机房重构时,尽量不要用datatable作为返回值,改用泛型集合的方式,这样可以实现真正的面向对象。通过查资料和同学交流,把这个问题给解决了。对于泛型集合,我也有了一些认识。 一、对泛型集合的认识 1.存在于System.Collection,Generic的命名空间中,在用的时候,需要引用 2.泛型是具有占位符(类型参数)的类,结构,接口和方法。就是说,在泛型集合...
分类:其他好文   时间:2014-07-26 02:12:56    阅读次数:383
windows 文件内存映射
static int MapLogFile(void){ hFile = CreateFile(".\\db.bin", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_ALWAYS, ...
分类:Windows程序   时间:2014-07-26 00:25:46    阅读次数:307
T31P电子秤数据读取
连接串口后先发送"CP\r\n"激活电子秤数据发送,收到的数据包是17字节的 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace...
分类:其他好文   时间:2014-07-25 16:30:41    阅读次数:345
获取局域网中指定IP或是主机名称的所有文件夹及其搜索文件
最近做个功能在局域网中所有指定文件,于是花了点精力完成了部分功能,先贴上using System;using System.Collections.Generic;using System.ComponentModel;using System.Data; using System.Drawing;...
分类:其他好文   时间:2014-07-25 14:23:11    阅读次数:329
DBHelper (支持事务与数据库变更) z
using System;using System.Data;using System.Data.Common;using Project.BaseFramework;using System.Collections.Generic;using System.Configuration;namesp...
分类:数据库   时间:2014-07-25 14:13:31    阅读次数:365
IEnumerable接口
=================================================简单的实现IEnumerable接口------------------------------------Person.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Collections; na..
分类:其他好文   时间:2014-07-25 11:36:32    阅读次数:200
IEnumerable接口与IEnumerator接口
通过一个例子来看-------------------------------------------------------Student.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Collections; namespaceConsoleApplication6 { publiccla..
分类:其他好文   时间:2014-07-25 11:36:22    阅读次数:214
C# Timer 定时器应用
基于服务器的计时器(System.Timers.Timer)         System.Timers.Timer不依赖窗体,是从线程池唤醒线程,是传统的计时器为了在服务器环境上运行而优化后的更新版本         在VS2005的工具箱中没有提供现成的控件,需要手工编码使用此计时器。 using System; using System.Collections.Generic; usi...
分类:其他好文   时间:2014-07-24 23:19:53    阅读次数:255
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!