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#"); }
private void txtGiaVon_TextChanged(object sender, EventArgs e) { Helper.MoneyFormat(txtGiaVon); }
private void txtGiaDen_TextChanged(object sender, EventArgs e) { Helper.MoneyFormat(txtGiaDen); Search(); }
private void txtGiaTu_TextChanged(object sender, EventArgs e) { Helper.MoneyFormat(txtGiaTu); //kiemTraGia(); Search(); }