public ucImportedDetails(int id)
        {
            InitializeComponent();
            PhieuNhapController  phieuNhap = new PhieuNhapController();
            NhaCungCapController ncc       = new NhaCungCapController();

            dgvPhieuNhapDetails.ItemsSource = phieuNhap.GetDetails(id).DefaultView;
            int nccid = phieuNhap.GetDistributorId(id);

            txtNhaCungCap.Text = ncc.IdToName(nccid);
            txtGhiChuPN.Text   = phieuNhap.GetNote(id);
            txtTongTien.Text   = phieuNhap.GetTotal(id);

            btnClose.Click += BtnClose_Click;
        }