Exemplo n.º 1
0
        private void SearchDSPhieuNhap(string search)
        {
            PhieuNhapController phieuNhap = new PhieuNhapController();

            dgvDSPhieuNhap.ItemsSource           = phieuNhap.SearchList(search).DefaultView;
            dgvDSPhieuNhap.Columns[0].Visibility = Visibility.Collapsed;
            dgvDSPhieuNhap.SelectedIndex         = 0;
        }