| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 3513 人关注过本帖
标题:关于在button上家图标的问题
取消只看楼主 加入收藏
zhjesse
Rank: 1
来 自:西藏拉萨
等 级:新手上路
帖 子:205
专家分:0
注 册:2007-4-3
收藏
 问题点数:0 回复次数:1 
关于在button上家图标的问题

如何在button上加个ico图标呢,比如查找button,先是“查找”两个字,然后一个放大镜的图标?

还有快捷方式按钮,鼠标经过时的提示怎么实现?

请各位指教,谢谢



没找到button1。tooltip=“”这样的设置,请教二楼的应该是怎么操作的?
激发事件是什么,是mousemove吗?

我问的是怎么在button上加入ico图标,不是image,大家可以试试看,是不一样的?
image当然可以加进去了! 我看了button的所有属性,好像没有加ico的,请各位继续指教?

[此贴子已经被作者于2007-11-15 11:04:39编辑过]

搜索更多相关主题的帖子: 上家 button 图标 
2007-11-13 11:07
zhjesse
Rank: 1
来 自:西藏拉萨
等 级:新手上路
帖 子:205
专家分:0
注 册:2007-4-3
收藏
得分:0 
ToolTip 的用法,大家一起学习

// This example assumes that the Form_Load event handling method
// is connected to the Load event of the form.
private void Form1_Load(object sender, System.EventArgs e)
{
// Create the ToolTip and associate with the Form container.
ToolTip toolTip1 = new ToolTip();

// Set up the delays for the ToolTip.
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 1000;
toolTip1.ReshowDelay = 500;
// Force the ToolTip text to be displayed whether or not the form is active.
toolTip1.ShowAlways = true;

// Set up the ToolTip text for the Button and Checkbox.
toolTip1.SetToolTip(this.button1, "My button1");
toolTip1.SetToolTip(this.checkBox1, "My checkBox1");
}


没找到button1。tooltip=“”这样的设置,请教二楼的应该是怎么操作的?
激发事件是什么,是mousemove吗?

我问的是怎么在button上加入ico图标,不是image,大家可以试试看,是不一样的?
image当然可以家进去了?

[此贴子已经被作者于2007-11-15 11:03:15编辑过]


想了解西藏的天葬文化、藏北比如骷髅墙吗?[url=http://www.]【雪域藏北论坛】[/url]给你诠释!
2007-11-15 11:00
快速回复:关于在button上家图标的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.033994 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved