john.net

博客园 首页 新随笔 联系 订阅 管理

2009年5月21日 #

摘要: //View页面代码如下[代码][代码] 阅读全文
posted @ 2009-05-21 23:16 john.net 阅读(1251) 评论(5) 推荐(0) 编辑

摘要: public class SubColor { public static Color FromArgb(string color) { int[] a =new int[4]; int[] b =new int[8]; string rg1 = "#[a-fA-F0-9]{8}"; Regex r1 = new Regex(rg1); if (r1.IsMatch(color)) { for (... 阅读全文
posted @ 2009-05-21 12:35 john.net 阅读(546) 评论(0) 推荐(0) 编辑