private void RdButton_TxClick(object sender, EventArgs e) { int id = ((UrrRdButton)sender).Id; try { _CmdManager.RdSwitchTxState(id); } catch (Exception ex) { int pos = _RdButtons.IndexOf((UrrRdButton)sender); string msg = string.Format("ERROR modificando Tx de frecuencia RD [Pos={0}] [Id={1}]", pos, id); _Logger.Error(msg, ex); } }