Example #1
0
        private void BindGrid(Enums.ItemStatus itemStatus)
        {
            var menuList = BalObj.GetMenuList(itemStatus);

            dgMenuList.AutoGenerateColumns = false;
            dgMenuList.DataSource          = menuList;
            dgMenuList.CellContentClick   += dgMenuList_CellContentClick;
        }
Example #2
0
        private IList <BLMenu> GetMenu()
        {
            IList <BLMenu> menuList = BalObj.GetMenuList(Enums.ItemStatus.Active);

            return(menuList.ToList());
        }