Ejemplo n.º 1
0
        void InitCountryPropertiesControl()
        {
            if (_currentControl == null || !(_currentControl is UCCountryProperties))
            {
                ReleaseControl();

                ucCountryProperties        = new UCCountryProperties();
                ucCountryProperties.Parent = pcClient;
                ucCountryProperties.Dock   = DockStyle.Fill;
                ucCountryProperties.Show();
                ucCountryProperties.Init();
                ucCountryProperties.Entity = Entity;
                _currentControl            = ucCountryProperties;
                CreateBarControl();
            }
        }
Ejemplo n.º 2
0
        void InitCountryPropertiesControl()
        {
            if (_currentControl == null || !(_currentControl is UCCountryProperties))
            {
                ReleaseControl();

                ucCountryProperties = new UCCountryProperties();
                ucCountryProperties.Parent = pcClient;
                ucCountryProperties.Dock = DockStyle.Fill;
                ucCountryProperties.Show();
                ucCountryProperties.Init();
                ucCountryProperties.Entity = Entity;
                _currentControl = ucCountryProperties;
                CreateBarControl();
            }

        }