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

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

                _currentControl = ucFeastControl;
                CreateBarControl();
                
            }

        }