使用重画……或者重载onpaint();
解决方案 »
- c#开发office加载项可行吗
- 用户安全退出并返回登录页面
- 无法正确取到中央气象台各个城市的天气。
- ASP里的CStr有什么用?在ASP.net里怎么表示啊
- C# 存储Oracle数据信息报错
- 请问如何才能获得刚插入新记录的自动ID号,并保存到某变量中?
- 求12-345-6789格式的正则表达式验证方法?winform
- 为什么要在一个窗体中建立2个sqldataAdapter?
- 救急:30分
- 照着vc#帮助写了个xml web server,在winform中调用,当“添加 web 引用”--http://localhost/authorswebservice/authorswebservice.vs
- +++++如何创建一封带附件的EMAIL并打开?+++++
- 好玩!大家看看 http://freehost24.websamba.com/
Dim grfGraphics As Graphics = Picture1.CreateGraphics
grfGraphics.Clear(Color.WhiteSmoke)
grfGraphics.SmoothingMode = SmoothingMode.AntiAlias
Dim pen2 As Pen = New Pen(Color.Blue, 1)
pen2.DashStyle = DashStyle.Solid
Dim fnt As Font
fnt = New Font("Impact", 100, FontStyle.Bold)
'画x坐标
grfGraphics.DrawLine(pen2, Picture1.Width - 25, Picture1.Height - 25, Picture1.Width - 1, Picture1.Height - 15)
grfGraphics.DrawLine(pen2, Picture1.Width - 25, Picture1.Height - 5, Picture1.Width - 1, Picture1.Height - 15)
grfGraphics.DrawLine(pen2, 0, Picture1.Height - 15, Picture1.Width - 1, Picture1.Height - 15)