예제 #1
0
        private void ViewStoreListControl()
        {
            if (_storeList == null)
            {
                ReleaseGetValueWorkingTime();
                ReleaseOpenCloseHoursControl();
                ReleaseStoreStructure();

                _storeList = new UCStoreList();
                _storeList.Dock = DockStyle.Fill;
                _storeList.Parent = pcClient;
                _storeList.Show();
                _storeList.SetStoreContext(Context);
                _storeList.OnNotifyChangeCountry += new UCStoreList.NotifyEntityChanged(_storeList_OnNotifyChangeCountry);                       //+= new UCStoreList.NotifyEntityChanged(_storeList.OnNotifyChangeCountry);
            }
        }
예제 #2
0
 private void ReleaseStoreList()
 {
     if (_storeList != null)
     {
         _storeList.Hide();
         _storeList.Dispose();
         _storeList = null;
     }
 }