title: How to create distance between textbox to its parent form in c#?
body: <p>I have a winform with labels and text boxes that looks like this:
  <a href="https://i.stack.imgur.com/rmvlK.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I used the anchor property to make the &quot;comment&quot; text box adjust to the form if it changes, but now it sticks to its border</p>
  <p>How can I change it and set a buffer between them?
  I looked everywhere online but couldn't find a solution :(</p>
  <p>update:
  Here is the code to the element</p>
  <pre><code>var doc = Application.DocumentManager.MdiActiveDocument;
              if (doc == null) return;
              var ed = doc.Editor;
  
   _input_comment = new WinForms.TextBox();
              _input_comment.Anchor = (AnchorStyles.Left | AnchorStyles.Top | AnchorStyles.Right);
              _input_comment.SetBounds(x_axis_position, y_pointer, 100, 40);
              _input_comment.Size = new Size(216, 60);
              _input_comment.Multiline = true;
              _input_comment.WordWrap = true;
              _input_comment.ScrollBars = ScrollBars.Vertical;
              _uc.Controls.Add(_input_comment);
  </code></pre>