用tooltip控件来显示tooltrip中的tooltrbutton

uine 2014-06-04 01:29:50
我用
toolTip1.SetToolTip(新建NToolStripButton,"新建");
来显示提示,但是电脑提示我错了
...全文
105 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
uine 2014-06-04
  • 打赏
  • 举报
回复
错误 1 与“System.Windows.Forms.ToolTip.SetToolTip(System.Windows.Forms.Control, string)”最匹配的重载方法具有一些无效参数 d:\Documents\Visual Studio 2008\Projects\工具栏\工具栏\Form1.cs 21 13 工具栏


错误 2 参数“1”: 无法从“System.Windows.Forms.ToolStripButton”转换为“System.Windows.Forms.Control” d:\Documents\Visual Studio 2008\Projects\工具栏\工具栏\Form1.cs 21 33 工具栏
tudiy 2014-06-04
  • 打赏
  • 举报
回复
错误提示什么?
uine 2014-06-04
  • 打赏
  • 举报
回复
求大神帮助

111,125

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧