//The constructor associates the control with the smart tag list. public LedActionList(IComponent component) : base(component) { this.colUserControl = component as LED; this.designerActionUISvc = GetService(typeof(DesignerActionUIService)) as DesignerActionUIService; }
public LEDArray() { InitializeComponent(); _controls = new List <LED>(); _model = new LED(); Dimension = 1; ControlWidth = 30; ControlHeight = 30; Direction = true; flpanel.AutoScroll = true; flpanel.FlowDirection = FlowDirection.TopDown; flpanel.WrapContents = false; }