C#TextBox 失去与获取焦点事件

textBox5.LostFocus += new EventHandler(txt_LostFocus); //失去焦点后发生事件
            textBox5.GotFocus += new EventHandler(txt_GotFocus);  //获取焦点前发生事件
            textBox5.MouseClick += new MouseEventHandler(textBox5_MouseClick); // 鼠标点击事件

posted @ 2019-04-19 14:42  hanje  阅读(14507)  评论(0编辑  收藏  举报