在textbox里放按钮并控制输入字符不能覆盖住按钮(包括设计阶段)[3]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 hanmo 的 blog

 public event myclick(byval sender as object, byval e as eventargs)

    private sub btn_click(byval sender as object, byval e as system.eventargs) handles btn.click

        raiseevent myclick(me, e)

    end sub

 private sub btn_mouseenter(byval sender as object, byval e as system.eventargs) handles btn.mouseenter

 private sub btn_mouseenter(byval sender as object, byval e as system.eventargs) handles btn.mouseenter

        cursor = cursors.default

    end sub

 private sub btn_mouseleave(byval sender as object, byval e as system.eventargs) handles btn.mouseleave

本文关键:在textbox里放按钮并控制输入字符不能覆盖住按钮(包括设计阶段)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top