sub imagebutton(s as object,e as imageclickeventargs)
     e.x返回的值是你的坐标
end sub

解决方案 »

  1.   

    private imgbtn1_Click(object sender, ImageClickEventArgs e)
    {
    int x=e.X;
    int y=e.Y;
    }
      

  2.   

    可以用FireWork中的hotspot,slice
    来实现
      

  3.   

    <table>
      <tr> 
        <td>
          <div align="center">
            <img src="/img/emap.gif" width="166" height="92" emap="#Map" border="0"> 
              <map name="Map"> 
                <area shape="poly" coords="12,18,39,19,55,33,73,30,94,24,110,22,114,15,105,12,104,2,24,2,15,6,11,12" href="/index.htm">
                <area shape="poly" coords="54,33,55,42,70,43,70,34" href="../TabControl/index.htm">
                <area shape="poly" coords="72,34,111,23,128,26,137,22,152,18,151,25,138,34,120,40,116,49,120,59,113,65,99,64" href="/index.htm">
                <area shape="poly" coords="12,21,12,30,15,40,14,52,28,56,35,52,38,43,50,43,51,31,35,21" href="/index.htm">
                    </map>
                </div>
              </td>
            </tr>
          </table>