Beispiel #1
0
        private void Seleccion(int edicion)
        {
            frmFactores f = new frmFactores();

            f.MdiParent      = this.MdiParent;
            f.OnNuevoFactor += f_OnNuevoFactor;
            int fila = 0;

            if (!edicion.Equals(GLOBALES.NUEVO))
            {
                fila        = dgvFactores.CurrentCell.RowIndex;
                f._idfactor = int.Parse(dgvFactores.Rows[fila].Cells[0].Value.ToString());
            }
            f._tipoOperacion = edicion;
            f.Show();
        }
 private void Seleccion(int edicion)
 {
     frmFactores f = new frmFactores();
     f.MdiParent = this.MdiParent;
     f.OnNuevoFactor += f_OnNuevoFactor;
     int fila = 0;
     if (!edicion.Equals(GLOBALES.NUEVO))
     {
         fila = dgvFactores.CurrentCell.RowIndex;
         f._idfactor = int.Parse(dgvFactores.Rows[fila].Cells[0].Value.ToString());
     }
     f._tipoOperacion = edicion;
     f.Show();
 }