TextBox, set text area
<p>I am developing my own <code>TextBox</code> class.</p>

<pre><code>SmallOffice.Windows.Forms
{
    public class TextBox:System.Windows.Forms.TextBox
    {
         System.Windows.Forms.Button button;

         public TextBox()
         {
               this.button = new System.Windows.Forms.Button();
               this.Controls.Add(this.button);
         }
    }
}
</code></pre>

<p>The problem is: How do I allocate a logical area for the text. For example TextBox's size will be set to <code>Size(200, 20)</code> and logical area for the text will be set to <code>Rectangle(0, 0, 130, 20)</code>.</p>

<p>Doing so there will be 2 areas in the TextBox. Left side for the text and the right side for the button.
This is necessary so that the text doesn't overlap with the button.</p>

<p>Please, give me a clue, a prompt or anything to help.</p>