void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Views\ArchiveDetailWindow.xaml"
                ((CameraCapture.Views.ArchiveDetailWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoadWindow);

            #line default
            #line hidden
                return;

            case 2:
                this.imageLeft = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 28 "..\..\..\Views\ArchiveDetailWindow.xaml"
                this.btnSetLeft.Click += new System.Windows.RoutedEventHandler(this.SetImageToLeft);

            #line default
            #line hidden
                return;

            case 4:
                this.imageRight = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 39 "..\..\..\Views\ArchiveDetailWindow.xaml"
                this.btnSetRight.Click += new System.Windows.RoutedEventHandler(this.SetImageToRight);

            #line default
            #line hidden
                return;

            case 6:
                this.gallery = ((CameraCapture.Views.GalleryControl)(target));
                return;

            case 7:

            #line 53 "..\..\..\Views\ArchiveDetailWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CloseThisWindow);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Views\MainWindow.xaml"
                ((CameraCapture.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoadWindow);

            #line default
            #line hidden
                return;

            case 2:
                this.mainTabControl = ((System.Windows.Controls.TabControl)(target));

            #line 15 "..\..\..\Views\MainWindow.xaml"
                this.mainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.onChangeSelectedTab);

            #line default
            #line hidden
                return;

            case 3:
                this.tabItemPatient = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.pateintTodayForm = ((CameraCapture.Views.PatientControl)(target));
                return;

            case 5:
                this.dgTodayWorkBench = ((System.Windows.Controls.DataGrid)(target));

            #line 28 "..\..\..\Views\MainWindow.xaml"
                this.dgTodayWorkBench.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DgTodayWorkBench_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 6:
                this.tabItemWorkbench = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.gridLive = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 9:
                this.ovalPictureBox = ((System.Windows.Forms.PictureBox)(target));
                return;

            case 10:
                this.picCapture = ((System.Windows.Controls.Image)(target));
                return;

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

            case 12:
                this.patientWorkBenchName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:

            #line 73 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.galleryControl = ((CameraCapture.Views.GalleryControl)(target));
                return;

            case 15:
                this.tabItemArchive = ((System.Windows.Controls.TabItem)(target));
                return;

            case 16:
                this.partBottom = ((System.Windows.Controls.Border)(target));
                return;

            case 17:

            #line 101 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OpenSetting);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\..\Views\MainWindow.xaml"
                this.btnArchive.Click += new System.Windows.RoutedEventHandler(this.GoToArchiveTab);

            #line default
            #line hidden
                return;

            case 19:
                this.imageCameraStatus = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.imageSerialportStatus = ((System.Windows.Controls.Image)(target));
                return;

            case 21:

            #line 109 "..\..\..\Views\MainWindow.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.CloseApplication);

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