1 protected void MyBaseControl_MouseDown(object sender, MouseEventArgs e)
2 {
3 if (e.Button == MouseButtons.Left)
4 {
5 this.Cursor = Cursors.SizeAll;
6 ReleaseCapture();
7 SendMessage(this.Handle, 0xA1, 0x2, 0);
8 this.Cursor = Cursors.Default;
9 }
10 }
11