title: Drag and Drop not working in C# Winforms Application
body: <p>I am trying to create a windows form onto which I can drop a file/folder.</p>
  
  <p>I have the following code in a WinForms app</p>
  
  <pre><code>public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
      }
  
      private void Form1_DragEnter(object sender, DragEventArgs e)
      {
          Debug.Print("DragEnter");
      }
  
      private void Form1_DragDrop(object sender, DragEventArgs e)
      {
          MessageBox.Show("Dropped!");
      }
  }
  </code></pre>
  
  <p>I have set the AllowDrop property to true.
  I've tried running the application in debug within Visual Studio. 
  Based on answers to other similar questions, I've tried running the compiled exe as administrator. 
  I've tried running the compiled exe <em>not</em> as administrator.</p>
  
  <p>But whatever I do, I cannot get the DragDrop event to fire. The DragEnter event <em>does</em> fire, however. What am I missing?</p>