摘要: for(int i=1;i<34;i++){ Bitmap bmp=new Bitmap(this.pictureBox1.Image); Graphics g=Graphics.FromImage((Image)bmp); g.SmoothingMode=System.Drawing.... 阅读全文
posted @ 2014-11-14 15:57 Jara 阅读(2275) 评论(0) 推荐(2) 编辑
摘要: 判断一个字符是不是汉字通常有三种方法,第一种用 ASCII 码判断,第二种用汉字的 UNICODE 编码范围判 断,第三种用正则表达式判断,以下是具体方法。 1、用ASCII码判断 在 ASCII码表中,英文的范围是0-127,而汉字则是大于127,具体代码如下:string text = "是... 阅读全文
posted @ 2014-11-14 10:27 Jara 阅读(1145) 评论(1) 推荐(2) 编辑
摘要: 画填充圆:Graphics gra = this.pictureBox1.CreateGraphics();gra.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;Brush bush = new SolidBrush... 阅读全文
posted @ 2014-11-14 10:23 Jara 阅读(7095) 评论(0) 推荐(4) 编辑