void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.@this = ((Petri.Editor.UI.View.PetriNetEditorView)(target));
                return;

            case 2:
                this.EditorDisplay = ((Petri.Editor.UI.View.EditorView)(target));
                return;

            case 3:
                this.EditorTools = ((Petri.Editor.UI.View.EditorToolsView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.self = ((Petri.Editor.UI.View.EditorView)(target));
                return;

            case 2:
                this.MainScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 3:
                this.MainItemsControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 4:
                this.ScaleTransform = ((System.Windows.Media.ScaleTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }