工具栏 [英] Toolbars
问题描述
我的工具栏一直处于禁用状态,如何在系统窗口中添加一行
表格(我使用的是VB.NET 2003)?
非常感谢你的帮助。
Kelvin Tran
***通过开发人员指南 http://www.developersdex.com 发送***
不要只是参加USENET ......获得奖励!
My Toolbars is disable all the time, how to add a line to System windows
form (I am using VB.NET 2003)?
Thank you very much for all your help.
Kelvin Tran
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
推荐答案
这应该有助于画线:
Private Sub frmAdmin_Paint(ByVal sender As Object,ByVal e As _
System.Windows.Forms.PaintEventArgs)处理MyBase.Paint
e.Graphics.DrawLine(Pens.Black,10,10,10,200)
结束子
我的工具栏是什么意思是禁用?你的工具箱?还是菜单栏?
greetz Peter
" KELVIN TRAN" <柯******** @ ev1.net>在消息中写道
新闻:#Z ************** @ TK2MSFTNGP10.phx.gbl ...
This should help for drawing a line:
Private Sub frmAdmin_Paint(ByVal sender As Object, ByVal e As _
System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
e.Graphics.DrawLine(Pens.Black, 10, 10, 10, 200)
End Sub
what do you mean with my toolbar is disable? Your toolbox? or the menu bar?
greetz Peter
"KELVIN TRAN" <ke********@ev1.net> wrote in message
news:#Z**************@TK2MSFTNGP10.phx.gbl...
我的工具栏一直处于禁用状态,如何在系统窗口中添加一行
表单(我正在使用VB.NET 2003)?
非常感谢你所有的Kelvin Tran
***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ......获得奖励!
My Toolbars is disable all the time, how to add a line to System windows
form (I am using VB.NET 2003)?
Thank you very much for all your help.
Kelvin Tran
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
" KELVIN TRAN" <柯******** @ ev1.net> schrieb:
"KELVIN TRAN" <ke********@ev1.net> schrieb:
我的工具栏一直处于禁用状态,如何在系统窗口中添加一行
表单(我使用的是VB.NET 2003)?
My Toolbars is disable all the time, how to add a line to System windows
form (I am using VB.NET 2003)?
< URL:http://www.google.de/groups?threadm = O9W8nvz9EHA.1264%40TK2MSFTNGP12.phx .gbl>
- < br $>
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL: http://dotnet.mvps.org/dotnet/faqs/>
<URL:http://www.google.de/groups?threadm=O9W8nvz9EHA.1264%40TK2MSFTNGP12.phx .gbl>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
早安Peter Greetz:
非常感谢您的电子邮件。我的意思是菜单栏......
我在工具栏上没有问题(添加/删除)但是当我尝试通过选择图标来绘制线条或任何形状时出现问题
从菜单栏。在VB 6中,我可以从工具箱中选择
选择线图标并在设计表格的任何位置绘制...
非常感谢您的帮助。
祝你好运,
Kelvin Tran
***通过Developersdex发送 http://www.developersdex.com ***
不要只是参加USENET ...奖励它!
Good Morning Peter Greetz:
Thank you very much for your email. I mean menu bar...
I have no problem on toolbars (add/remove) but got problem when I try to
draw line or any shape by select the icon from menu bar. In VB 6, I can
pick line icon from toolbox and draw anywhere on the design form...
Thanks you very much for your help.
Best regards,
Kelvin Tran
*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!
这篇关于工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!