c#里怎样在图片上添加类似按钮而不是按钮的东西

lycdx 2009-05-09 10:26:34
我的一个pictureBox中放了一幅大的图片(比Forma大),所以要想看到图片的全部需要拖动图片,我的图片可以在屏幕上自由移动,我的问题是比如我的图片上面有一个标志性建筑,我想向这个标志性建筑旁边添加一个东西,点击它的时候可以把标志性建筑的照片弹出来,而且需要添加的这个东西随着图片的移动而同步移动,另外我的图片可以缩放,所以这个东西也应该可以缩放,请问用什么方法实现呢?
...全文
157 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
lycdx 2009-05-10
  • 打赏
  • 举报
回复
图片热点怎么做啊
JackLeiMM 2009-05-10
  • 打赏
  • 举报
回复

//图片
<img name="images1" usemap="#images1Map" src="images/new3/default_r4_c9.gif" width="634" height="41" border="0" id="default_r4_c9" alt="" />
//热点
<map name="images1Map" id="images1Map">
<area shape="rect" coords="33, 11, 77, 34" href="#"
target="_parent" />
<area shape="rect" coords="104, 15, 162, 32" href="newCenter/jianjie1.htm"
target="_parent" />
<area shape="rect" coords="198, 16, 254, 32" href="newCenter/product/cpjs.html"
target="_parent" />
<area shape="rect" coords="292, 16, 349, 33"
href="newCenter/EnterpriseDynamic/qydt.htm" target="_parent" />
<area shape="rect" coords="381, 15, 438, 31"
href="newCenter/EnterpriseActivity/EnterpriseActivity.htm" target="_parent" />
<area shape="rect" coords="465, 15, 523, 31"
href="newCenter/IndustryNews/IndustryNews.htm" target="_parent" />
<area shape="rect" coords="562, 12, 621, 32" href="newCenter/lianxi1.htm"
target="_parent" /></map>


光宇广贞 2009-05-09
  • 打赏
  • 举报
回复
用WPF的数据绑定和VISUAL呈现技术。
JackLeiMM 2009-05-09
  • 打赏
  • 举报
回复
这个做一个图片的热点就可以了
lycdx 2009-05-09
  • 打赏
  • 举报
回复
什么意思啊
蓝海D鱼 2009-05-09
  • 打赏
  • 举报
回复
flash ,你可以看看 chinaren 的那个 flash

110,538

社区成员

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

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

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