private void sua_btn_Click(object sender, EventArgs e) { if (loai == "Hợp đồng") { PBHHD pbhhd = new PBHHD(this); pbhhd.loadEdit(busHangHoa.selectHopDong(dtoDonHang)); pbhhd.Show(); } else if (loai == "Cá Nhân") { PBHTT pbhhd = new PBHTT(this); pbhhd.loadEdit(busHangHoa.selectCaNhan(dtoDonHang)); pbhhd.Show(); } }
private void button1_Click(object sender, EventArgs e) { PBHHD pbhhd = new PBHHD(this); pbhhd.Show(); }
public AddProductHD(PBHHD pbhtt) { InitializeComponent(); Pbhtt = pbhtt; }