private void autoTextBox1_TextChanged(object sender, EventArgs e) { double percent = string.IsNullOrWhiteSpace(autoTextBox1.Text) == true ? 0 : Convert.ToDouble(autoTextBox1.Text); autoTextBox15.Text = CurrencyUtility.DecimalToString(CurrencyUtility.PercentToMoney(percent / 100, colThanhtien.SummaryText)); }
private void autoTextBox1_TextChanged(object sender, EventArgs e) { double percent = string.IsNullOrWhiteSpace(autoTextBox1.Text) == true ? 0 : Convert.ToDouble(autoTextBox1.Text); textBox9.Text = CurrencyUtility.DecimalToString(CurrencyUtility.PercentToMoney(percent / 100, m_Debt.TotalValue)); }