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