Ejemplo n.º 1
0
        private void _tspIngresarInterruptor_Click(object sender, EventArgs e)
        {
            OperacionInterruptores opInterruptor = _informe.CrearNuevoOpInterruptor();
            FormInterruptor        frm           = new FormInterruptor();

            if (frm.Editar(opInterruptor, GetListaInterruptores()) == DialogResult.OK)
            {
                Visualizar();
            }
        }
Ejemplo n.º 2
0
 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();
         }
     }
 }
Ejemplo n.º 3
0
 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();
         }
     }
 }