title: Drag string on picturebox - C#
body: <p>I have a picture box and I draw a string on it by <code>DrawString()</code>. I change position of the string by scrolling a <code>TrackBar</code>. But I want to move the string by directly clicking on the string and then dragging. It'll be easier for any user. Can anybody help me achieve this?</p>
  
  <p><strong>Edit:</strong> I already move my <code>pictureBox1</code> my mouse click:</p>
  
  <pre><code>private void pictureBox1_Paint(object sender, PaintEventArgs e)
  {
      e.Graphics.DrawImage(img, 0, 0);
      e.Graphics.DrawString(str, font, new SolidBrush(color), new PointF(NinjaClass.NINJA.pointX, NinjaClass.NINJA.pointY));
  }
  private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
  {
      if (e.Button == MouseButtons.Left)
      {
          x = e.X;
          y = e.Y;
      }
  }
  private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
  {
      if (e.Button == MouseButtons.Left)
      {
          pictureBox1.Left += (e.X - x);
          pictureBox1.Top += (e.Y - y);
      }
  }
  </code></pre>