private void _tspIngresarInterruptor_Click(object sender, EventArgs e) { OperacionInterruptores opInterruptor = _informe.CrearNuevoOpInterruptor(); FormInterruptor frm = new FormInterruptor(); if (frm.Editar(opInterruptor, GetListaInterruptores()) == DialogResult.OK) { Visualizar(); } }
private void _tspEditarInterruptor_Click(object sender, EventArgs e) { if (_interruptorSeleccionado != null) { FormInterruptor frm = new FormInterruptor(); if (frm.Editar(_interruptorSeleccionado, new List <long>()) == DialogResult.OK) { Visualizar(); } } }
private void _tspEditarInterruptor_Click(object sender, EventArgs e) { if (_interruptorSeleccionado != null) { FormInterruptor frm = new FormInterruptor(); if (frm.Editar(_interruptorSeleccionado, new List <long>()) == DialogResult.OK) { ModeloMgr.Instancia.OperacionInterruptoresMgr.Refrescar(_interruptorSeleccionado, _rowSeleccionado); _dgvInterruptor.Refresh(); AsegurarInterruptorSeleccionado(); } } }