摘要:
1、正则表达式 public static bool checkIP(string strIP) { //string regex = @"^(2[0-4]\d | 25[0-5] | [01]?\d?[1-9])\." + ... 阅读全文
posted @ 2014-12-15 16:41
AmyAlisa
阅读(475)
评论(0)
推荐(0)
摘要:
1、实现渐变色背景 1 private void Form1_Paint(object sender, PaintEventArgs e) 2 { 3 Paint_Background(this.Left,this.Width,this.Height, e)... 阅读全文
posted @ 2014-12-15 15:15
AmyAlisa
阅读(389)
评论(0)
推荐(0)
摘要:
1、一个简单实现栈的类 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace ConsoleApplication1 7 { 8 ... 阅读全文
posted @ 2014-12-15 15:09
AmyAlisa
阅读(129)
评论(0)
推荐(0)
摘要:
1、focusRectStyle = RowFocus 焦点样式为行选择2、是否允许焦点行、列样式 OptionSelection.EnableAppearanceFocusedCell=true; OptionSelection.EnableAppearanceFocusedRow=true;... 阅读全文
posted @ 2014-12-15 13:32
AmyAlisa
阅读(237)
评论(0)
推荐(0)
摘要:
1、自定义颜色格式,分组,筛选1、封装类必须引用类库using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace gridView{ public class GridCo... 阅读全文
posted @ 2014-12-15 11:32
AmyAlisa
阅读(2063)
评论(0)
推荐(0)
摘要:
1、string[][] 是一维数组,数组中的元素是string[],相当于锯齿数组例如:string[][] arrar = new string[][] { new string[]{"1", "1", "1" }, new string[]{"2", "2", "... 阅读全文
posted @ 2014-12-15 11:11
AmyAlisa
阅读(5137)
评论(0)
推荐(0)