Пример #1
0
        void InitClosedDaysControl()
        {
            if (_currentControl == null || !(_currentControl is UCClosedDays))
            {
                ReleaseControl();
                ClearListEstimationYears();
                ucClosedDaysControl        = new UCClosedDays();
                ucClosedDaysControl.Parent = pcClient;
                ucClosedDaysControl.Dock   = DockStyle.Fill;
                ucClosedDaysControl.Show();
                ucClosedDaysControl.Entity = Entity;

                _currentControl = ucClosedDaysControl;
                CreateBarControl();
            }
        }
Пример #2
0
        void InitClosedDaysControl()
        {
            if (_currentControl == null || !(_currentControl is UCClosedDays))
            {
                ReleaseControl();
                ClearListEstimationYears();
                ucClosedDaysControl = new UCClosedDays();
                ucClosedDaysControl.Parent = pcClient;
                ucClosedDaysControl.Dock = DockStyle.Fill;
                ucClosedDaysControl.Show();
                ucClosedDaysControl.Entity = Entity;

                _currentControl = ucClosedDaysControl;
                CreateBarControl();
                
            }

        }