title: DragOver button not firing event c#
body: <p>As the title suggests i am having trouble getting a DragOver event to function correctly. I have over 100 buttons on a form and i want their colour to change when a picturebox is dragged over them. I have set all buttons AllowDrop = true and have included the code below in the method.    </p>
  
  <pre><code>private void ShipOver(object sender, DragEventArgs e)
  {
      e.Effect = DragDropEffects.None;
      Button b = (Button)sender;
      b.BackColor = Color.Green;
      label22.Text = "";
  }
  </code></pre>
  
  <p>I do not see why this will not work. I also have a DragLeave method which simply changes the colour to a different one.</p>
  
  <p>One thing to note is that the item i am dragging over the button is larger than the button itself. Not sure whether this will have an effect.</p>