Example #1
0
        private void _btnAdicionarMagnitud_Click(object sender, EventArgs e)
        {
            MC_FormulaPuntoMedicion f    = _puntoMedicion.GetNuevaFormula();
            FormFormula             form = new FormFormula();

            if (form.Editar(f))
            {
                Visualizar();
            }
        }
Example #2
0
 private void _btnEditarMagnitud_Click(object sender, EventArgs e)
 {
     if (_dgvFormulas.SelectedRows.Count > 0)
     {
         DataRow r = (_dgvFormulas.SelectedRows[0].DataBoundItem as DataRowView).Row;
         MC_FormulaPuntoMedicion formula = new MC_FormulaPuntoMedicion(r);
         FormFormula             form    = new FormFormula();
         if (form.Editar(formula))
         {
             Visualizar();
         }
     }
 }