Example #1
0
        private void ViewStoreStructureControl()
        {
            if (_storeStructure == null)
            {
                ReleaseStoreList();
                ReleaseOpenCloseHoursControl();
                ReleaseGetValueWorkingTime();

                _storeStructure = new UCStoreStructure();
                _storeStructure.Dock = DockStyle.Fill;
                _storeStructure.Parent = pcClient;
                _storeStructure.Show();
                _storeStructure.SetStoreContext(Context);
            }
        }
Example #2
0
 private void ReleaseStoreStructure()
 {
     if (_storeStructure != null)
     {
         _storeStructure.Hide();
         _storeStructure.Dispose();
         _storeStructure = null;
     }
 }