欢迎加我的QQ群:193522571,一起来讨论、交流!

07 2018 档案

摘要:Graphics graphics = CreateGraphics(); SizeF sizeF = graphics.MeasureString(字符串, new Font("宋体", 9)); MessageBox.Show(string.Format("字体宽度:{0},高度:{1}", s 阅读全文
posted @ 2018-07-27 11:21 swtool 阅读(714) 评论(0) 推荐(0) 编辑
摘要:public void DrawText(Graphics g, Pen blackPen, float fFontHeight) { SolidBrush mybrush = new SolidBrush(Color.White); Font myfont = new Font("黑体", fFontHeight); PointF mypoi... 阅读全文
posted @ 2018-07-18 09:01 swtool 阅读(199) 评论(0) 推荐(0) 编辑
摘要:char[] arr = "显示的字符串".ToCharArray(); Array.Reverse(arr); string s = new string(arr); e.Graphics.DrawString(s, new Font("宋体", 12, FontStyle.Regular), n 阅读全文
posted @ 2018-07-09 11:04 swtool 阅读(132) 评论(0) 推荐(0) 编辑
摘要:仅当使用了列列表并且 IDENTITY_INSERT 为 ON 时,才能为表'Address'中的标识列指 解决办法,将主键的ID自增长先设置为false 阅读全文
posted @ 2018-07-02 08:55 swtool 阅读(2693) 评论(0) 推荐(1) 编辑

欢迎加我的QQ群:193522571,一起来讨论、交流!
点击右上角即可分享
微信分享提示