Esempio n. 1
0
        private void btnLuu_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            List <Quyen> list = bsQuyen.DataSource as List <Quyen>;

            XuLyDanhSach.DuyetDanhSach <Quyen>(list, ThaoTacDuLieu);
            foreach (string ma in _dsMaCanXoa)
            {
                //_dataQuyen.Xoa(ma);
            }
        }
Esempio n. 2
0
        private void btnLuu_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            //AppTreeList.VisitTree(treeListChucNang, InRaMessageBox);
            //AppTreeList.VisitTree(treeListChucNang, LuuThayDoi);
            treeListChucNang.PostEditor();
            treeListChucNang.CloseEditor();
            bsChucNang.EndEdit();
            List <ChucNang> list = bsChucNang.DataSource as List <ChucNang>;

            XuLyDanhSach.DuyetDanhSach(list, LuuThayDoi);
        }