Example #1
0
 private void LV_MouseDown(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left && e.Clicks == 1)
     {
         var hitInfo = LV.HitTest(e.Location);
         if (hitInfo.Item != null && hitInfo.Item.Selected)
         {
             SetupCopyHelper();
             if (m_CopyHelper.Indexes.Count > 0)
             {
                 m_CanDrag = true;
             }
         }
     }
 }