Наследование: System.EventArgs
        public Boolean OnSendColor(byte channel, byte index, byte r, byte g, byte b)
        {
            if (SendColor != null)
            {
                SendColorEventArgs args = new SendColorEventArgs(channel, index, r, g, b);
                SendColor(this, args);
                return(args.SendToDevice);
            }

            return(true);
        }
Пример #2
0
        public Boolean OnSendColor(byte channel, byte index, byte r, byte g, byte b)
        {
            if (SendColor != null)
            {
                SendColorEventArgs args = new SendColorEventArgs(channel, index, r, g, b);
                SendColor(this, args);
                return args.SendToDevice;
            }

            return true;
        }