public Boolean OnReceiveColor(byte index, out byte r, out byte g, out byte b) { if (ReceiveColor != null) { ReceiveColorEventArgs args = new ReceiveColorEventArgs(index); ReceiveColor(this, args); r = args.R; g = args.G; b = args.B; return(true); } r = 0; g = 0; b = 0; return(false); }
public Boolean OnReceiveColor(byte index, out byte r, out byte g, out byte b) { if (ReceiveColor != null) { ReceiveColorEventArgs args = new ReceiveColorEventArgs(index); ReceiveColor(this, args); r = args.R; g = args.G; b = args.B; return true; } r = 0; g = 0; b = 0; return false; }