public void Connect(INeedsLabelLight output)
        {
            output.LabelLightControl = AddNewLight(output.Name);

            if (output is IUpdateableControl)
            {
                lock (this.updateableControls)
                {
                    this.updateableControls.Add((IUpdateableControl)output);
                }
            }
        }
Example #2
0
 public void Connect(INeedsLabelLight output, string labelName)
 {
     output.LabelLightControl = AddNewLight(labelName);
 }
Example #3
0
        public void Connect(INeedsLabelLight output)
        {
            output.LabelLightControl = AddNewLight(output.Name);

            if (output is IUpdateableControl)
            {
                lock (this.updateableControls)
                {
                    this.updateableControls.Add((IUpdateableControl)output);
                }
            }
        }