title: How to inherit events between objects
body: <p>I need inherit events and properties. For example, I need to move a picture around a form.
  I have this code to move one picture but I need to create multiple images with the same behavior.</p>
  
  <pre><code>private void pictureBox_MouseDown(object sender, MouseEventArgs e)
  {
      if (e.Button == MouseButtons.Left)
      {
           x = e.X;
           y = e.Y;
       }
   }
  
  private void pictureBox_MouseMove(object sender, MouseEventArgs e)  
  {
      if (e.Button == MouseButtons.Left)
      {
          pictureBox.Left += (e.X -x);
          pictureBox.Top += (e.Y - y);
      }
   }
  </code></pre>