public ZNode(BASE_TYPE type, ZNodeTree nodeTree, Rect wr) { BaseType = type; _nodeTree = nodeTree; _windowRect = wr; Name = ""; SetupSkinParams(); _connectorList = new List <ZNodeConnector>(); CreateInConnector(); CreateOutConnector(); }
public ParentObject() : base() { this.Name = ""; this.Base = BASE_TYPE.UNKNOWN; }
public bool CheckType() { bool blnResult = true; if (Name.BackGroundColor == COLORS.lngClYellow) { Type = BASE_TYPE.SCREEN; } else if (Name.BackGroundColor == COLORS.lngClPurple) { Type = BASE_TYPE.FILE; } else { if (Name.Value.IndexOf(KEYWORDS.glnCustomPrefix, 1) == 1) { Type = BASE_TYPE.CUSTOM; Name.Value.Replace(KEYWORDS.glnCustomPrefix, KEYWORDS.glnNothing); } else { Type = BASE_TYPE.ATTRIBUTE; } } return blnResult; }
public TemplateCell(string val, long fontcolor, long backcolor) { this.Type = BASE_TYPE.UNKNOWN; this.Value = val; this.FontColor = fontcolor; this.BackGroundColor = backcolor; }