private void todosOsTerminaisToolStripMenuItem3_Click(object sender, EventArgs e) { for (int i = 0; i <= listRelogios.Items.Count - 1; i++) { Bridge.EnviaInfoEmpresa(Convert.ToInt32(listRelogios.Items[i].SubItems[AssepontoRep.Consts.TRM_SUBITEM_IND].Text), edLog); } }
private void terminalSelecionadoToolStripMenuItem3_Click(object sender, EventArgs e) { if (listRelogios.SelectedIndices.Count == 0) { return; } int Terminal = Convert.ToInt32(listRelogios.Items[listRelogios.SelectedIndices[0]].SubItems[AssepontoRep.Consts.TRM_SUBITEM_IND].Text); Bridge.EnviaInfoEmpresa(Terminal, edLog); }