public IdentifierControl(String id, VoidDelegate s = null, VoidDelegate u = null, CodeT2Control a = null) { this.InitializeComponent(); Identifier = id; _selectDetect = s; _unselectDetect = u; _attached = a; }
public CodeLineT2Control(String codeLine, CodeT2Control a = null, int idx = 1) { this.InitializeComponent(); _codeLine = codeLine; _idSegments = new List <string>(); _idControls = new List <IdentifierControl>(); _attached = a; GenerateIdentifier(codeLine); LineNumber = idx; TXTBLKlineId.Text = idx.ToString(); }