2008年7月18日
摘要: 我们根据属性的不同表现形式,把其区分为简单属性和复杂属性 下面来看下属性的表现形式 简单属性表现形式如下,大家都很熟悉 属性中含有子属性,称之为复杂对象,如Font属性 复杂属性的表现形式如下, (1)连字符的表现形式 (2)内镶属性的表现形式,如定义样式 (3)内镶集合属性的表现形式,如DropDownL... 阅读全文
posted @ 2008-07-18 18:31 ︷起↘嚸. 阅读(157) 评论(0) 推荐(0)
摘要: //MD5加密 public static string GetMD5Code(string text) { byte[] inBytes = System.Text.Encoding.Default.GetBytes(text); System.Security.Cryptography.MD5CryptoServiceProvider md = new System.Secur... 阅读全文
posted @ 2008-07-18 14:50 ︷起↘嚸. 阅读(181) 评论(0) 推荐(0)
摘要: 类型可供选择的按钮自定义控件 using System; using System.Collections.Generic; using System.Text; using System.Web.UI; using System.ComponentModel; namespace ComponentControl { public class Ctrl5:Control,IPostBa... 阅读全文
posted @ 2008-07-18 10:32 ︷起↘嚸. 阅读(139) 评论(0) 推荐(0)
摘要: 设置个窗体只能弹出一次 设置个窗体只能弹出一次#region 设置个窗体只能弹出一次 /**//**//**//// /// 控制只弹出一个子窗体 /// /// 子窗体类型 public void FilmShow(Type type) { Form[] f = this.MdiChildren; foreach (Form form in f) { ... 阅读全文
posted @ 2008-07-18 10:19 ︷起↘嚸. 阅读(638) 评论(0) 推荐(0)