コード例 #1
0
 private void dSkinLabel_Caption_MouseDown(object sender, MouseEventArgs e)
 {
     DllHelper.ReleaseCapture();
     DllHelper.SendMessage(this.Handle, DllHelper.WM_SYSCOMMAND, DllHelper.SC_MOVE + DllHelper.HTCAPTION, 0);
 }
コード例 #2
0
 private void duiTextBox1_MouseDown(object sender, DSkin.DirectUI.DuiMouseEventArgs e)
 {
     DllHelper.ReleaseCapture();
     DllHelper.SendMessage(this.Handle, DllHelper.WM_SYSCOMMAND, DllHelper.SC_MOVE + DllHelper.HTCAPTION, 0);
 }