我的一个pictureBox中放了一幅大的图片(比Forma大),所以要想看到图片的全部需要拖动图片,我的图片可以在屏幕上自由移动,我的问题是比如我的图片上面有一个标志性建筑,我想向这个标志性建筑旁边添加一个东西,点击它的时候可以把标志性建筑的照片弹出来,而且需要添加的这个东西随着图片的移动而同步移动,另外我的图片可以缩放,所以这个东西也应该可以缩放,请问用什么方法实现呢?

解决方案 »

  1.   

    flash ,你可以看看 chinaren 的那个 flash
      

  2.   

    用WPF的数据绑定和VISUAL呈现技术。
      

  3.   


    //图片 
    <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>