public bool CheckCTHD() { Pharmacy.BLL.TBus tbus = new Pharmacy.BLL.TBus(); if (!tbus.IsNumber(cmbVat.Text)) return false; if (txtDG.Text == "") return false; if (txtSL.Text == "") return false; return true; }
private void cmbVAT_SelectedIndexChanged_1(object sender, EventArgs e) { if (!tbus.IsNumber(cmbVAT.Text)) { MessageBox.Show("Nhập số"); } else { try { TinhTien(); tienhh = double.Parse(txtTienHH.Text); } catch (Exception ex) { MessageBox.Show("Kiểm tra lại thông tin"); TLog.WriteErr("frmNhapkho_cmbVAT_SelectedIndexChanged_1", ex.Message + "||" + ex.StackTrace); } } }
public bool CheckCTHD() { Pharmacy.BLL.TBus tbus = new Pharmacy.BLL.TBus(); if (!tbus.IsNumber(cmbVat.Text)) { return(false); } if (txtDG.Text == "") { return(false); } if (txtSL.Text == "") { return(false); } return(true); }