示例#1
0
        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));
        }
示例#2
0
        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));
        }