void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 2:
     this.viewport3D1 = ((System.Windows.Controls.Viewport3D)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.classicBorderDecorator1 = ((Microsoft.Windows.Themes.ClassicBorderDecorator)(target));
     return;
     case 5:
     this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 7:
     this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 8:
     this.fileResult = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.bOpenFileDialog = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\MainWindow.xaml"
     this.bOpenFileDialog.Click += new System.Windows.RoutedEventHandler(this.OpenFileDialog_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.btnFileUpload_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 12:
     this.ListDevices = ((System.Windows.Controls.Button)(target));
     
     #line 37 "..\..\..\MainWindow.xaml"
     this.ListDevices.Click += new System.Windows.RoutedEventHandler(this.listDevices_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.lbDevices = ((System.Windows.Controls.ListBox)(target));
     return;
     case 14:
     this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 15:
     this.btnScan = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\..\MainWindow.xaml"
     this.btnScan.Click += new System.Windows.RoutedEventHandler(this.btnScan_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.btnPreview = ((System.Windows.Controls.Button)(target));
     
     #line 44 "..\..\..\MainWindow.xaml"
     this.btnPreview.Click += new System.Windows.RoutedEventHandler(this.btnPreview_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnSendToShare = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.btnSendToShare.Click += new System.Windows.RoutedEventHandler(this.btnSendToShare_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnClear = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\..\MainWindow.xaml"
     this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 20:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.rtbResult = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.showPath = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.txtProgress = ((System.Windows.Controls.TextBox)(target));
     return;
     case 25:
     this.button2 = ((System.Windows.Controls.Button)(target));
     
     #line 63 "..\..\..\MainWindow.xaml"
     this.button2.Click += new System.Windows.RoutedEventHandler(this.Close_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 65 "..\..\..\MainWindow.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.GetDocumentList_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 2:
                this.viewport3D1 = ((System.Windows.Controls.Viewport3D)(target));
                return;

            case 3:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.classicBorderDecorator1 = ((Microsoft.Windows.Themes.ClassicBorderDecorator)(target));
                return;

            case 5:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

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

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

            case 9:
                this.bOpenFileDialog = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.bOpenFileDialog.Click += new System.Windows.RoutedEventHandler(this.OpenFileDialog_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.btnFileUpload_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.ListDevices = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\MainWindow.xaml"
                this.ListDevices.Click += new System.Windows.RoutedEventHandler(this.listDevices_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.lbDevices = ((System.Windows.Controls.ListBox)(target));
                return;

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

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

            #line 43 "..\..\..\MainWindow.xaml"
                this.btnScan.Click += new System.Windows.RoutedEventHandler(this.btnScan_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\..\MainWindow.xaml"
                this.btnPreview.Click += new System.Windows.RoutedEventHandler(this.btnPreview_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btnSendToShare = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\MainWindow.xaml"
                this.btnSendToShare.Click += new System.Windows.RoutedEventHandler(this.btnSendToShare_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btnClear = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 20:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.rtbResult = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.showPath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.txtProgress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.GetDocumentList_Click);

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