关于TextBox,Label,DataGridView等控件的鼠标拖动实现
<br />//鼠标放开事件<br />void txt_MouseUp(object sender, MouseEventArgs e)<br />
{<br />
MoveFlag = false;<br />
}<br />
//鼠标移动事件<br />
void txt_MouseMove(object sender, MouseEventArgs e)<br />
{<br />
原创
2011-05-24 10:17:00 ·
588 阅读 ·
0 评论