Example given ( works fine)


Code:
  1. private void listBox1_DragEnter(object sender, System.Windows.Forms.DragEventArgs e)
  2.         {
  3.             // make sure they're actually dropping files (not text or anything else)
  4.             if( e.Data.GetDataPresent(DataFormats.FileDrop, false) == true )
  5.                 // allow them to continue
  6.                 // (without this, the cursor stays a "NO" symbol
  7.                 e.Effect = DragDropEffects.All;
  8.         }

And my code for a CrystalReports viewer
I know the code doesnt do anythine persay but it wont even trigger the event thats what im wondering

Code:
  1. private void crystalReportViewer1_DragEnter(object sender, System.Windows.Forms.DragEventArgs e)
  2.         {
  3.             // make sure they're actually dropping files (not text or anything else)
  4.             if (e.Data.GetDataPresent(DataFormats.FileDrop, false) == true)
  5.                 // allow them to continue
  6.                 // (without this, the cursor stays a "NO" symbol
  7.                 e.Effect = DragDropEffects.All;
  8.         }