Пример #1
0
 private void ReleaseOpenCloseHoursControl()
 {
     if (_opencloseList != null)
     {
         _opencloseList.Hide();
         _opencloseList.Dispose();
         _opencloseList = null;
     }
 }
Пример #2
0
        private void ViewOpenCloseHoursControl()
        {
            if (_opencloseList == null)
            {
                ReleaseStoreList();
                ReleaseStoreStructure();
                ReleaseGetValueWorkingTime();


                _opencloseList        = new UCOpenCloseHoursList();
                _opencloseList.Dock   = DockStyle.Fill;
                _opencloseList.Parent = pcClient;
                _opencloseList.Show();
                _opencloseList.SetStoreContext(Context);;
                //_opencloseList.LoadControlData ();
            }
        }