Asp.net源码专业站
首页->控件应用->简单WEB流程图组件Demo源码>>WorkFlowChart_Source/WorkFlowChart/NodeEnd.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:简单WEB流程图组件Demo源码
当前文件:文件类型 WorkFlowChartDemo/WorkFlowChart_Source/WorkFlowChart/NodeEnd.cs[1K,2009-6-12 11:58:39]打开代码结构图
普通视图
		            
1namespace WorkFlowChart 2{ 3 using System; 4 using System.Drawing; 5 using System.Drawing.Drawing2D; 6 7 public class NodeEnd : AbstractNode 8 { 9 private int _h = 30; 10 private int _w = 30; 11 private int _x = 0; 12 private int _y = 0; 13 14 public override void Draw(Graphics g) 15 { 16 g.DrawEllipse(new Pen(Color.Black), this.X, this.Y, this.W, this.H); 17 g.SmoothingMode = SmoothingMode.AntiAlias; 18 g.DrawString("E", new Font("Courier New", 10f), new SolidBrush(Color.Black), (float) (this.X + 8), (float) (this.Y + 8)); 19 } 20 21 public override void Draw(Graphics g, int x, int y, int w, int h) 22 { 23 } 24 25 public override int H 26 { 27 get 28 { 29 return this._h; 30 } 31 set 32 { 33 this._h = value; 34 } 35 } 36 37 public override int W 38 { 39 get 40 { 41 return this._w; 42 } 43 set 44 { 45 this._w = value; 46 } 47 } 48 49 public override int X 50 { 51 get 52 { 53 return this._x; 54 } 55 set 56 { 57 this._x = value; 58 } 59 } 60 61 public override int Y 62 { 63 get 64 { 65 return this._y; 66 } 67 set 68 { 69 this._y = value; 70 } 71 } 72 } 73} 74 75
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:简单WEB流程图组件Demo源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146