C# Winform控件的“鼠标离开”事件
事件名:MouseMove。
如:
this.TopBar.MouseMove += TopBar_MouseMove; private void TopBar_MouseMove(object sender, MouseEventArgs e) { //添加代码 }
事件名:MouseMove。
如:
this.TopBar.MouseMove += TopBar_MouseMove; private void TopBar_MouseMove(object sender, MouseEventArgs e) { //添加代码 }