Exemple #1
0
 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();
     }
 }
Exemple #2
0
 public AddProduct(PBHTT pbhtt)
 {
     InitializeComponent();
     Pbhtt = pbhtt;
 }
Exemple #3
0
        private void them_btn_Click(object sender, EventArgs e)
        {
            PBHTT pbhtt = new PBHTT(this);

            pbhtt.Show();
        }