private void BindGrid(Enums.ItemStatus itemStatus) { var menuList = BalObj.GetMenuList(itemStatus); dgMenuList.AutoGenerateColumns = false; dgMenuList.DataSource = menuList; dgMenuList.CellContentClick += dgMenuList_CellContentClick; }
private IList <BLMenu> GetMenu() { IList <BLMenu> menuList = BalObj.GetMenuList(Enums.ItemStatus.Active); return(menuList.ToList()); }