• λ我爱Aspx >> Asp.Net >> 使用C# 编写扩展存储过程
  • 使用C# 编写扩展存储过程

  • :未知  Դ:internet  :2007-5-20 16:44:08  ؼ:c#
  • Pen penBlack = new Pen(Color.Black, 1);

    Point ptStart = new Point(0, 0);

    Point ptEnd = new Point(this.Width - 1, 0);

    e.Graphics.DrawLine(penBlack, ptStart, ptEnd);

    ptStart = new Point(0, 0);

    ptEnd = new Point(0, this.Height);

    e.Graphics.DrawLine(penBlack, ptStart, ptEnd);

    Pen penWhite = new Pen(Color.White, 1);

    ptStart = new Point(this.Width - 1, 0);

    ptEnd = new Point(this.Width - 1, this.Height);

    e.Graphics.DrawLine(penWhite, ptStart, ptEnd);

    ptStart = new Point(0, this.Height - 1);

    ptEnd = new Point(this.Width, this.Height - 1);

    e.Graphics.DrawLine(penWhite, ptStart, ptEnd);

    SolidBrush brushFill = new SolidBrush(PercentBackColor);

    Rectangle rcFill = new Rectangle(2, 2, iCurPercent * (this.Width - 3) / 100, this.Height - 3);

    e.Graphics.FillRectangle(brushFill, rcFill);

    Ҷƪл˵?
  • һƪ用浏览器来接收C# 的程序返回的时间cool!
    һƪC#正则表达式应用范例