title: DataGridView Custom control enable button in Unedited mode
body: <p>Does anyone know how to get the button visible all the time?.(Not only in edit mode of the cell) 
  I would like to take your attention to the answer of this question.
      <a href="https://stackoverflow.com/questions/22045297/how-to-add-ellipse-button-and-textbox-in-current-cell-of-datagridview-in-winform">how to add ellipse button and textbox in current cell of datagridview in winforms</a></p>
  
  <p>I could enhance this solution to see the button control in the cell for all the time. What I want is to get the popup box for the first click of the cell. This is the code to paint the button in uneditted mode.</p>
  
  <pre><code> // Finally paint the NumericUpDown control
                      Rectangle srcRect = new Rectangle(0, 0, valBounds.Width, valBounds.Height);
                      if (srcRect.Width &gt; 0 &amp;&amp; srcRect.Height &gt; 0)
                      {
                          Bitmap renderingBitmap = new Bitmap(22, 18);
                          new TextButton().button.DrawToBitmap(renderingBitmap, srcRect);
                          graphics.DrawImage(renderingBitmap, new Rectangle(new Point(cellBounds.X+cellBounds.Width-24, valBounds.Location.Y-2), valBounds.Size),
                                             srcRect, GraphicsUnit.Pixel);
                      }
  </code></pre>