我爱Aspx >> Asp.Net >> 使用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#正则表达式应用范例[05-20]
C#编程发送邮件[05-20]
c# 支持SMTP服务器认证的邮件发送..[05-20]
C# 格式化字符串 String.Format[05-20]
C# 格式化字符串 String.Format[05-20]
C#实现控件数组[05-20]
用C#读取图片的EXIF信息的方法[05-20]
用Visual C#实现文件下载[05-20]
使用C#调用外部Ping命令获取网络..[05-20]
使用C#控制远程计算机的服务[05-20]
C#正则表达式应用范例[05-20]
ASP生成静态网页的方法[05-20]
用ASP动态生成JavaScript的表单验..[05-20]
使用ASP实现http://xx@xx.xx虚拟..[05-20]
用ASP编程控制在IIS建立Web站点[05-20]
TrackBack 技术规范[05-20]
C#编程发送邮件[05-20]
c# 支持SMTP服务器认证的邮件发送..[05-20]
加固Windows Server 2003 IIS 服..[05-20]
C# 格式化字符串 String.Format[05-20]