事件名:MouseDown。(注意与Click事件区分开)
如:
this.TopBar.MouseDown += TopBar_MouseDown; private void TopBar_MouseDown(object sender, MouseEventArgs e) { MessageBox.Show("Left"); }
posted on 2019-09-18 11:58 PER10 阅读(1750) 评论(0) 编辑 收藏 举报