private void listViewMapeos_MouseDoubleClick(object sender, MouseEventArgs e) { var text = GetSelected(listViewMapeos); if (text == "") return; var ficha = datosProceso.MapeosCargados[text]; if (ficha == null) return; var frm = new FrmDebug(); frm.SetData("Mapeo " + text, ficha, true); frm.ShowDialog(); }
private void listViewFichas_MouseDoubleClick(object sender, MouseEventArgs e) { var text = GetSelected(listViewFichas); if (text == "") return; var ficha = datosProceso.Fichas.FirstOrDefault(x => x.Nombre == text); if (ficha == null) return; var frm = new FrmDebug(); frm.SetData("Ficha de indicadores " + text, ficha, true); frm.ShowDialog(); }