public void LoadStoreList() { _storesViewList = new StoreViewList(); _storesViewList.Init(); _storesViewList.LoadAll(); _storesViewList.RemoveAustriaStores(); lookUpEditStores.Properties.DataSource = _storesViewList; if (_storesViewList.Count == 1) { lookUpEditStores.EditValue = _storesViewList[0].ID; } lookUpEditStores.Properties.PopupFormWidth = lookUpEditStores.Width; gridColumn_Country.GroupIndex = 0; gridColumn_Region.GroupIndex = 1; lookUpEditStores.Properties.View.ExpandAllGroups(); storeWorldLookUpCtrl1.InitFirstValue = false; }
public void LoadStoreList() { ucWeekTimePlanning.Context = _planningContext; _storesViewList = new StoreViewList(); _storesViewList.Init(); _storesViewList.LoadAll(); lookUpEditStores.Properties.DataSource = _storesViewList; if (_storesViewList.Count == 1) { lookUpEditStores.EditValue = _storesViewList[0].ID; } lookUpEditStores.Properties.PopupFormWidth = lookUpEditStores.Width; gridColumn_Country.GroupIndex = 0; gridColumn_Region.GroupIndex = 1; lookUpEditStores.Properties.View.ExpandAllGroups(); }
private void InitStoreList() { _swController = new StoreWorldController(); ListStores = new StoreViewList(); ListStores.Init(); ListStores.LoadAll(); _listStoreShorts = new StoreShortList().ReInit(); lookUpEditStores.Properties.DataSource = ListStores; lookUpEditStores.Properties.View.ExpandAllGroups(); if ((ListStores != null) && (ListStores.Count == 1)) { lookUpEditStores.EditValue = ListStores[0].ID; } List <Domain.World> lstWorlds = ClientEnvironment.WorldService.FindAll(); repositoryItemLookUpWorlds.DataSource = lstWorlds; repositoryItemLookUpStores.DataSource = _listStoreShorts; }
public void LoadStoreList() { m_storesViewList = new StoreViewList(); m_storesViewList.Init(); m_storesViewList.LoadAll(); lookUpEditStores.Properties.DataSource = m_storesViewList; if (m_storesViewList.Count == 1) { lookUpEditStores.EditValue = m_storesViewList[0].ID; } //lookUpEditStores.Properties.PopupFormWidth = lookUpEditStores.Width; gridColumn_Country.GroupIndex = 0; gridColumn_Region.GroupIndex = 1; lookUpEditStores.Properties.View.ExpandAllGroups(); }