Ejemplo n.º 1
0
        public LayerEditor(SequenceLayers layers)
        {
            InitializeComponent();

            var host = new ElementHost { Dock = DockStyle.Fill };

            Controls.Add(host);

            _layerEditorView = new Editor.LayerEditor.LayerEditorView(layers);

            host.Child = _layerEditorView;

            _layerEditorView.CollectionChanged += LayerEditorViewCollectionChanged;
            _layerEditorView.LayerChanged += LayerEditorViewOnLayerChanged;
        }
Ejemplo n.º 2
0
        public LayerEditor(SequenceLayers layers)
        {
            InitializeComponent();

            var host = new ElementHost {
                Dock = DockStyle.Fill
            };

            Controls.Add(host);

            _layerEditorView = new Editor.LayerEditor.LayerEditorView(layers);

            host.Child = _layerEditorView;

            _layerEditorView.CollectionChanged += LayerEditorViewCollectionChanged;
        }