title: What is the difference between DataGridViewTextBoxEditingControl and TextBox in c#
body: <p>For an example,</p>
  
  <pre><code>void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
  {
       TextBox txtbox = e.Control as TextBox;
       if (txtbox != null)
       {
            //
       }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
  {
       Control ctl = e.Control;
       DataGridViewTextBoxEditingControl dText = (DataGridViewTextBoxEditingControl)ctl;
       if (dText!= null)
       {
            //
       }
  </code></pre>
  
  <p>What is the advantage DataGridViewTextBoxEditingControl instead TextBox?</p>
  
  <p>Help me..</p>