ivr流程编辑器

IVRStartNode.cs 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using HySoft.IVRFlowEditor.Propretity;
  6. using HySoft.IVRFlowEditor.Model;
  7. namespace HySoft.IVRFlowEditor.IVRControlUtility
  8. {
  9. /// <summary>
  10. /// 开始节点
  11. /// </summary>
  12. [IVRAttribute("CELL_START", Model.IVRSerializerType.节点,1)]
  13. public class IVRStartNode : IVRControlBase
  14. {
  15. public IVRStartNode(string name)
  16. {
  17. this.Name = name;
  18. CtlProperty = new CtlIVRStartNode(this);
  19. CtlProperty.Cursor = System.Windows.Forms.Cursors.SizeAll;
  20. //CtlProperty.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
  21. // CtlProperty.Size = _size;
  22. CtlProperty.Tag = this;
  23. }
  24. //public CtlIVRStartNode GetProperty(List<FlowNode>bottomNode,string displayName,string valueName)
  25. //{
  26. // CtlIVRStartNode=new CtlIVRStartNode(this, bottomNode, displayName, valueName);
  27. // return CtlIVRStartNode;
  28. //}
  29. [IVRAttribute("Next", Model.IVRSerializerType.元素,2, IsPosPoint = true)]
  30. public IVRControlBase Next
  31. { get; set; }
  32. }
  33. }