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);}
}
{
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);}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货