Пример #1
0
        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            if (string.IsNullOrWhiteSpace(txtSoTienNhan.Text))
            {
                return;
            }
            double tienNhan = double.Parse(txtSoTienNhan.Text);
            double tienThua = tienNhan - double.Parse(lblThanhTien.Text);

            Helper.MoneyFormat(txtSoTienNhan);
            lblTienNhan.Text = tienNhan.ToString("0,00#");
            lblTienThua.Text = tienThua.ToString("0,00#");
        }
Пример #2
0
 private void txtGiaVon_TextChanged(object sender, EventArgs e)
 {
     Helper.MoneyFormat(txtGiaVon);
 }
Пример #3
0
 private void txtGiaDen_TextChanged(object sender, EventArgs e)
 {
     Helper.MoneyFormat(txtGiaDen);
     Search();
 }
Пример #4
0
 private void txtGiaTu_TextChanged(object sender, EventArgs e)
 {
     Helper.MoneyFormat(txtGiaTu);
     //kiemTraGia();
     Search();
 }