上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 47 下一页

C# - 多态性

摘要: abstract (抽象类,抽象方法) override(负责重写)对抽象类中的抽象方法进行重写。仔细研究代码:代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.... 阅读全文
posted @ 2015-05-24 13:59 ultrastrong 阅读(221) 评论(0) 推荐(0)

C# - 使用皮肤

摘要: 运行效果:项目目录结构:主窗体代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing... 阅读全文
posted @ 2015-05-22 08:29 ultrastrong 阅读(745) 评论(0) 推荐(0)

C# - InnerList

摘要: 运行效果:代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace InnerList 7 { 8 class Progra... 阅读全文
posted @ 2015-05-19 21:48 ultrastrong 阅读(629) 评论(0) 推荐(0)

C# - 序列化和反序列化

摘要: 序列化与反序列化一个自定义的字段:运行效果:代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 //引入相应命名空间 7 using System... 阅读全文
posted @ 2015-05-19 21:36 ultrastrong 阅读(294) 评论(0) 推荐(0)

C# - MemoryStream

摘要: 代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Lin... 阅读全文
posted @ 2015-05-19 21:17 ultrastrong 阅读(383) 评论(0) 推荐(0)

C# - 线程操作

摘要: 代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 //引用相应命名... 阅读全文
posted @ 2015-05-19 17:07 ultrastrong 阅读(183) 评论(0) 推荐(0)

C# - 读写INI文件

摘要: 运行效果:代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using... 阅读全文
posted @ 2015-05-19 15:05 ultrastrong 阅读(406) 评论(0) 推荐(0)

webservice asmx 无法序列化接口 System.Collections.Generic.IList

摘要: 转载自:http://www.cnblogs.com/chenhuzi/p/4178194.html今天有位同事在方法里加了一个IList 的返回值,也没有测试,直接发布,导致了如下错误。NotSupportedException: 无法序列化接口 System.Collections.Generi... 阅读全文
posted @ 2015-05-18 18:50 ultrastrong 阅读(644) 评论(0) 推荐(0)

NHibernate - HQL - 添加和更改

摘要: 添加: 1 /// 2 /// 等待乙方做出回应 A 3 /// 4 private void button2_Click_1(object sender, EventArgs e) 5 { 6 ... 阅读全文
posted @ 2015-05-18 12:51 ultrastrong 阅读(292) 评论(0) 推荐(0)

NHibernate -- HQL

摘要: 使用NHibernate中的HQL来查询数据。代码:1 /// 2 /// 查找事件3 /// 4 private void btn_Select_Click(object sender, EventArgs e)5 {... 阅读全文
posted @ 2015-05-17 17:21 ultrastrong 阅读(197) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 47 下一页