title: Activate MouseEvent on Edit Button click C#
body: <p>I have Form with textboxes and they have MouseEvent(MouseMove, MouseDown) and they are enabled on form load, but my question is how to call them just when i Click the Edit Button, so just then the textboxes can move?</p>
  
  <p>My code:</p>
  
  <pre><code> private void textBox_MouseMove(object sender, MouseEventArgs e)
      {
          TextBox txt = sender as TextBox;
          foreach (TextBox text in textBoxs)
          {
              if (e.Button == MouseButtons.Left)
              {
                  if (txt.Name == text.Name)
                  {
                      txt.Left = e.X + txt.Left - MouseDownLocation.X;
                      txt.Top = e.Y + txt.Top - MouseDownLocation.Y;
                  }
              }
          }
      }
  
      private void textBox_MouseDown(object sender, MouseEventArgs e)
      {
          if (e.Button == MouseButtons.Left)
          {
              MouseDownLocation = e.Location;
          }
      }
  
     private void btnEdit_Click(object sender, EventArgs e)
      {
          btnEdit.Visible = false;
          btnPrint.Visible = false;
          btnSave.Visible = true;
  
          //Want to call mouse function here.
  
      }
  </code></pre>
  
  <p>any suggestions?</p>