public Class LineTextBox:TextBox
{
   public LineTextBox():base()
{}public override void OnPaint(painteventargs e)
{
  graphics g = e.graphics;
    
  point ps = new point (0,this.height-1);
  point pe = new point(this.width ,this.height);
  g.drawLine(Pens.Blue,ps,pe);}
}