예제 #1
0
        void InitYearAppearanceControl()
        {
            if (_currentControl == null || !(_currentControl is YearlyAppearanceListControl))
            {
                ClearListEstimationYears();
                ReleaseControl();
                ucYearlyAppearance        = new YearlyAppearanceListControl();
                ucYearlyAppearance.Parent = pcClient;

                ucYearlyAppearance.Dock = DockStyle.Fill;
                ucYearlyAppearance.Show();

                ucYearlyAppearance.EntityCountry = EntityCountry;
                _currentControl = ucYearlyAppearance;
                CreateBarControl();
            }
        }
예제 #2
0
        void InitYearAppearanceControl()
        {
            if (_currentControl == null || !(_currentControl is YearlyAppearanceListControl))
                {
                ClearListEstimationYears();
                ReleaseControl();
                ucYearlyAppearance = new YearlyAppearanceListControl();
                ucYearlyAppearance.Parent = pcClient;

                ucYearlyAppearance.Dock = DockStyle.Fill;
                ucYearlyAppearance.Show();

                ucYearlyAppearance.EntityCountry = EntityCountry;
                _currentControl = ucYearlyAppearance;
                CreateBarControl();
                
            }

        }