落漠 发表于 2012-11-15 12:45:00

事件:textControl_GotFocus的作用

我在你们的示例程序中看到textControl_GotFocus时间,但在属性窗口中并没有找到对应的事件,请问这个事件其什么作用?

iceman 发表于 2012-11-15 15:21:00

回复 1楼落漠的帖子

落漠 你好,
该事件是从 Control 类继承而来,在获得 focus 后触发该事件。添加方法为:

this.textControl.GotFocus += new System.EventHandler(this.textControl_GotFocus);
页: [1]
查看完整版本: 事件:textControl_GotFocus的作用