private void ProcessRequestControlCommand(RequestControlCommand requestControlCommand) { var rowIndex = GetRowIndex(requestControlCommand.ClientId); if (rowIndex < 0) { return; } dataGridView.Rows[rowIndex].DefaultCellStyle.BackColor = GetRowBackColor(requestControlCommand.IsAllowed); }
public void RequestControl(string conferenceId, string clientId, bool isAllowed) { var command = new RequestControlCommand(conferenceId, clientId, isAllowed); SendCommand(command); }