Exemplo n.º 1
0
        private void navBarItem4_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatHangHoa capNhatHangHoa = new CapNhatHangHoa("-1");

            capNhatHangHoa.whenInsertSuccessed += TaiLaiHangHoa;
            capNhatHangHoa.ShowDialog();
        }
Exemplo n.º 2
0
        private void nbgHangHoa_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatHangHoa capNhatHangHoa = new CapNhatHangHoa("-1");

            capNhatHangHoa.whenInsertSuccessed += uC_PhieuChuyenKho.LoadDanhSachSanPham;
            capNhatHangHoa.ShowDialog();
        }
Exemplo n.º 3
0
        private void ThemHangHoa(object sender, EventArgs e)
        {
            CapNhatHangHoa capNhatHangHoa = new CapNhatHangHoa("-1");

            capNhatHangHoa.whenInsertSuccessed += LoadData;
            capNhatHangHoa.ShowDialog();
        }
Exemplo n.º 4
0
        private void navBarItem4_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            CapNhatHangHoa capNhatHangHoa = new CapNhatHangHoa("-1");

            capNhatHangHoa.whenInsertSuccessed += LayThongTinHangHoaTruyenVoCombox;
            capNhatHangHoa.ShowDialog();
        }
Exemplo n.º 5
0
 private void SuaThongTinHangHoa(object sender, EventArgs e)
 {
     if (grvhanghoa.GetRowCellValue(grvhanghoa.FocusedRowHandle, "Mã Hàng").ToString() != null)
     {
         CapNhatHangHoa capNhatHangHoa = new CapNhatHangHoa(grvhanghoa.GetRowCellValue(grvhanghoa.FocusedRowHandle, "Mã Hàng").ToString());
         capNhatHangHoa.whenInsertSuccessed += LoadData;
         capNhatHangHoa.ShowDialog();
     }
 }