Ejemplo n.º 1
0
        private void ExecuteAddLayer(object param)
        {
            CreateConfigurationLayerWindow w = new CreateConfigurationLayerWindow();

            w.Owner = _window;

            bool?result = w.ShowDialog();

            if (result == true)
            {
                string layerName = w.NewLayerName.Text;

                IConfigurationLayer newLayer = _configurationManager.Layers.Create(layerName);
            }
        }
        private void ExecuteAddLayer( object param )
        {
            CreateConfigurationLayerWindow w = new CreateConfigurationLayerWindow();
            w.Owner = _window;

            bool? result = w.ShowDialog();
            if( result == true )
            {
                string layerName = w.NewLayerName.Text;

                IConfigurationLayer newLayer = _configurationManager.Layers.Create( layerName );
            }
        }