摘要: //img.Text为存放着图片路径的TextBox//word.Text为存放要在图片上打印的文字的TextBoxprivate void button9_Click(object sender, System.EventArgs e) { Bitmap sourceImg=new Bitmap(@img.Text); Graphics g=Graphics.FromImage((... 阅读全文
posted @ 2006-08-01 11:56 小y 阅读(819) 评论(1) 推荐(1) 编辑
摘要: 在.NET Framework中,System.Convert类中提供了较为全面的各种类型、数值之间的转换功能。其中的两个方法可以轻松的实现各种进制的数值间的转换:Convert.ToInt32(string value, int fromBase):可以把不同进制数值的字符串转换为数字,其中fromBase参数为进制的格式,只能是2、8、10及16:如Convert.ToInt32(”0010”... 阅读全文
posted @ 2006-08-01 11:08 小y 阅读(613) 评论(0) 推荐(1) 编辑