コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._zoom = ((System.Windows.Controls.Slider)(target));
                return;

            case 2:
                this._propertiesView = ((TestApp.PropertiesView)(target));
                return;

            case 3:
                this._diagramView = ((Aga.Diagrams.DiagramView)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._toolbox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 2:
                this._propertiesView = ((TestApp.PropertiesView)(target));
                return;

            case 3:
                this.stackpanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.msgList = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.msgParam = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:

            #line 51 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnAddMessage);

            #line default
            #line hidden
                return;

            case 7:

            #line 52 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dmButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btnList1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.btnName1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:

            #line 67 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.gButton_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 68 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dgButton_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnList2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.btnName2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:

            #line 82 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.lButton_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 83 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.dlButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this._editor = ((Aga.Diagrams.DiagramView)(target));

            #line 94 "..\..\..\Flowchart\FlowchartEditor.xaml"
                this._editor.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Ellips_Create);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._toolbox = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 2:
                this._propertiesView = ((TestApp.PropertiesView)(target));
                return;

            case 3:
                this.stackpanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.btnList = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.btnName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:

            #line 40 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.mButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnList1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.btnName1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:

            #line 53 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.gButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnList2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 11:
                this.btnName2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:

            #line 67 "..\..\..\Flowchart\FlowchartEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.lButton_Click);

            #line default
            #line hidden
                return;

            case 13:
                this._editor = ((Aga.Diagrams.DiagramView)(target));
                return;
            }
            this._contentLoaded = true;
        }