示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LayerDialog"/> class to display the symbology and
 /// other properties of the specified feature layer.
 /// </summary>
 /// <param name="selectedLayer">the specified feature layer that is
 /// modified using this form.</param>
 /// <param name="control">The control.</param>
 public LayerDialog(ILayer selectedLayer, ICategoryControl control)
     : this()
 {
     _layer = selectedLayer;
     propertyGrid1.SelectedObject = _layer;
     Configure(control);
 }
示例#2
0
 /// <summary>
 /// Creates a new instance of LayerDialog form to display the symbology and
 /// other properties of the specified feature layer
 /// </summary>
 /// <param name="selectedLayer">the specified feature layer that is
 /// modified using this form</param>
 /// <param name="control">The control.</param>
 public LayerDialog(ILayer selectedLayer, ICategoryControl control)
     : this()
 {
     _layer = selectedLayer;
     propertyGrid1.SelectedObject = _layer;
     Configure(control);
 }
示例#3
0
        private void Configure(ICategoryControl control)
        {
            var userControl = control as UserControl;
            userControl.Parent = pnlContent;
            userControl.Visible = true;

            _rasterCategoryControl = control;
            _rasterCategoryControl.Initialize(_layer);
        }
示例#4
0
        private void Configure(ICategoryControl control)
        {
            var userControl = control as UserControl;

            userControl.Parent  = pnlContent;
            userControl.Visible = true;

            _rasterCategoryControl = control;
            _rasterCategoryControl.Initialize(_layer);
        }
示例#5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="LayerDialog"/> class to display the symbology and
        /// other properties of the specified feature layer
        /// </summary>
        /// <param name="selectedLayer">the specified feature layer that is
        /// modified using this form</param>
        /// <param name="control">The control.</param>
        public LayerDialog(ILayer selectedLayer, ICategoryControl control)
            : this()
        {
            _layer = selectedLayer;
            propertyGrid1.SelectedObject = _layer;
            LayerDialogCulture           = _layer.LayerCulture;

            control.FeatCategControlCulture = _layerDialogCulture;
            Configure(control);
        }
 public UserControlPresenter(ICategoryControl categoryControl, ISerieControl serieControl, IFigurControl figurControl)
 {
     m_CategoryControl = categoryControl;
     m_SerieControl = serieControl;
     m_FigurControl = figurControl;
 }