Ejemplo n.º 1
0
 private void dtgFactor_CellValueChanged(object sender, DataGridViewCellEventArgs e)
 {
     try
     {
         if (EsConstruido)
         {
             OHelper.ActualizaFactordeDivision(Surtidor, Int16.Parse(dtgFactor.Rows[0].Cells["Precio"].Value.ToString()), Int16.Parse(dtgFactor.Rows[0].Cells["Volumen"].Value.ToString()), Int16.Parse(dtgFactor.Rows[0].Cells["Valor"].Value.ToString()), Int16.Parse(dtgFactor.Rows[0].Cells["Totalizador"].Value.ToString()), Int16.Parse(dtgFactor.Rows[0].Cells["PredeterminacionVolumen"].Value.ToString()), Int16.Parse(dtgFactor.Rows[0].Cells["PredeterminacionImporte"].Value.ToString()));
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Credito", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }