Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((apk_CFG.MainWindow)(target)).DragEnter += new System.Windows.DragEventHandler(this.drag_enter);
     
     #line default
     #line hidden
     
     #line 4 "..\..\..\MainWindow.xaml"
     ((apk_CFG.MainWindow)(target)).Closed += new System.EventHandler(this.windowClosed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.load = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\..\MainWindow.xaml"
     this.load.Click += new System.Windows.RoutedEventHandler(this.load_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.openFileFold = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\..\MainWindow.xaml"
     this.openFileFold.Click += new System.Windows.RoutedEventHandler(this.openFileFold_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.load_xml = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\..\MainWindow.xaml"
     this.load_xml.Click += new System.Windows.RoutedEventHandler(this.load_xml_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btn_instrument = ((System.Windows.Controls.Button)(target));
     
     #line 18 "..\..\..\MainWindow.xaml"
     this.btn_instrument.Click += new System.Windows.RoutedEventHandler(this.btn_instrument_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 7:
     this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 8:
     this.show = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 10:
     this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 11:
     this.diagram = ((MindFusion.Diagramming.Wpf.Diagram)(target));
     return;
     case 12:
     this.listView1 = ((System.Windows.Controls.ListView)(target));
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.listView1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_selectionChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.overview1 = ((MindFusion.Diagramming.Wpf.Overview)(target));
     return;
     case 14:
     this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 15:
     this.zoomIn = ((System.Windows.Controls.Button)(target));
     
     #line 40 "..\..\..\MainWindow.xaml"
     this.zoomIn.Click += new System.Windows.RoutedEventHandler(this.zoomIn_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.zoomOut = ((System.Windows.Controls.Button)(target));
     
     #line 41 "..\..\..\MainWindow.xaml"
     this.zoomOut.Click += new System.Windows.RoutedEventHandler(this.zoomOut_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\MainWindow.xaml"
                ((apk_CFG.MainWindow)(target)).DragEnter += new System.Windows.DragEventHandler(this.drag_enter);

            #line default
            #line hidden

            #line 4 "..\..\..\MainWindow.xaml"
                ((apk_CFG.MainWindow)(target)).Closed += new System.EventHandler(this.windowClosed);

            #line default
            #line hidden
                return;

            case 2:
                this.load = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\..\MainWindow.xaml"
                this.load.Click += new System.Windows.RoutedEventHandler(this.load_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.openFileFold = ((System.Windows.Controls.Button)(target));

            #line 16 "..\..\..\MainWindow.xaml"
                this.openFileFold.Click += new System.Windows.RoutedEventHandler(this.openFileFold_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.load_xml = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.load_xml.Click += new System.Windows.RoutedEventHandler(this.load_xml_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btn_instrument = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\MainWindow.xaml"
                this.btn_instrument.Click += new System.Windows.RoutedEventHandler(this.btn_instrument_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            case 9:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 10:
                this.scrollViewer1 = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 11:
                this.diagram = ((MindFusion.Diagramming.Wpf.Diagram)(target));
                return;

            case 12:
                this.listView1 = ((System.Windows.Controls.ListView)(target));

            #line 35 "..\..\..\MainWindow.xaml"
                this.listView1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_selectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.overview1 = ((MindFusion.Diagramming.Wpf.Overview)(target));
                return;

            case 14:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 15:
                this.zoomIn = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\MainWindow.xaml"
                this.zoomIn.Click += new System.Windows.RoutedEventHandler(this.zoomIn_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.zoomOut = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\MainWindow.xaml"
                this.zoomOut.Click += new System.Windows.RoutedEventHandler(this.zoomOut_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }