title: c# tooltip balloon popping up in wrong location
body: <p>So I believe this is a common issue seeing as there are numerous posts i have found related to it however none of the workarounds I have found seem to be working. </p>
  
  <p>I am making a windows form application and just want to pop up a warning when a textbox has invalid data. However, the tooltip pops up way below the control it's attached too. </p>
  
  <p>I tried a solution someone else posted by doing a divide on the height and width of the textbox but it didn't change the location at all. </p>
  
  <p>Any ideas? </p>
  
  <p>Looking at the picture, the tooltip should be on the textbox on the top, not the bottom. </p>
  
  <pre><code>        private void validateData()
      {
          //check vendor num
          int parsedValue;
          int x = textBoxVendorNum.Width / 2;
          int y = textBoxVendorNum.Height / 10;
              if (!int.TryParse(textBoxVendorNum.Text, out parsedValue))
          {
              toolTip1.ToolTipIcon = ToolTipIcon.Error;
              toolTip1.ToolTipTitle = "Unacceptable Value";
              toolTip1.IsBalloon = true;
  
              toolTip1.Show("Must be a number",textBoxVendorNum,x,y,5000);
          }
  
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/NCTic.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NCTic.png" alt="enter image description here"></a></p>