Ejemplo n.º 1
0
 private void txtTongthanhtoan_TextChanged(object sender, EventArgs e)
 {
     try
     {
         PhieuNhapDTO pn = new PhieuNhapDTO();
         pn.ma_phieu_nhap = txtMaPN.Text;
         pn.tongtien      = long.Parse(txtTongthanhtoan.Text);
         PhieuNhapBUS.Update_PN(pn);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }