Exemplo n.º 1
0
        // Обновляет свойства слоя
        public override void Update(AutocadObject obj)
        {
            Layer layer = (Layer)obj;

            this.Name       = DataValidation.ValidLayerName(layer.Name, this.Name);
            this.LayerColor = layer.LayerColor;
            this.Visibility = layer.Visibility;
            OnPropertyChanged("Display");
        }
 // Изменяет/обновляет свойства объекта после закрытия редактора
 public abstract void Update(AutocadObject obj);