Exemple #1
0
        private void GtCompensazioni_TotalHasBeenCalculated(object sender, EventArgs e)
        {
            double a = 0.0;
            double b = 0.0;
            double c = 0.0;

            double.TryParse(gtCompensazioni.GetTotalValue("2"), out a);
            double.TryParse(txtCreditoEsistente.Text, out b);

            c = b - a;

            gtCompensazioni.SetTotalValue("2", cBusinessObjects.ConvertNumber(c.ToString()));
        }