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
        private void button1_Click(object sender, EventArgs e)
        {
            PBHHD pbhhd = new PBHHD(this);

            pbhhd.Show();
        }
Exemple #3
0
 public AddProductHD(PBHHD pbhtt)
 {
     InitializeComponent();
     Pbhtt = pbhtt;
 }