Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public LightChannelControl(ILight parent, LightChannel channel) { InitializeComponent(); _parent = parent; this.Channel = channel; this.grpChannel.Text = _parent.LightInfoCollection[this.Channel].Name; this.nudLightValue.Value = _parent.GetLightValue(this.Channel); this.ledLighSwitch.On = this.nudLightValue.Value > 0 ? true : false; _isInitialized = true; }