摘要: Data:var store = new Ext.data.Store({ fields:['name', 'email', 'phone'], data:[ { 'name': 'Lisa', "email":"lisa@simpsons.com", "phone":"555-111-1224" }, { 'name': 'Bart', "email":"bart@simp 阅读全文
posted @ 2013-07-24 16:13 陈生伟笔记 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1:灰度化public void TOGray(Bitmap bmp){ for (int i = 0; i > 16; bmp.SetPixel(j, i, Color.FromArgb(tmpValue, tmpValue, tmpValue)); } }}2:?片固定切割public Bitmap[] ToSplit(Bitmap bmp,int splitNum){ Bitmap[] bmpSplits = new Bitmap[splitNum]; for(int i=0;i<splitNum;i++) { Rectangle[] cloneRect = new Rect 阅读全文
posted @ 2013-07-24 12:46 陈生伟笔记 阅读(189) 评论(0) 推荐(0) 编辑