private void vCarregaDadosTerminalSelecionado(out int nIdTerminal) { nIdTerminal = -1; if ((m_typDatSetPes != null) && (m_typDatSetPes.tbPEs.Rows.Count > 0)) { mdlDataBaseAccess.Tabelas.XsdTbPes.tbPEsRow dtrwPe = (mdlDataBaseAccess.Tabelas.XsdTbPes.tbPEsRow)m_typDatSetPes.tbPEs.Rows[0]; if (!dtrwPe.IsnIdTerminalNull()) { nIdTerminal = dtrwPe.nIdTerminal; } } }