void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thisControl = ((HelixToolkit.Wpf.StereoView3D)(target));
                return;

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

            case 3:
                this.LeftCameraControl = ((HelixToolkit.Wpf.CameraController)(target));
                return;

            case 4:
                this.RightView = ((System.Windows.Controls.Viewport3D)(target));
                return;

            case 5:
                this.RightCameraControl = ((HelixToolkit.Wpf.CameraController)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\..\Controls\Stereo3DViewControl.xaml"
     ((TUM.CMS.VplControl.Watch3D.Controls.Stereo3DViewControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Stereo3DViewControl_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.stereoBase = ((System.Windows.Controls.Slider)(target));
     return;
     case 3:
     this.dirVector = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.StereoView3D = ((HelixToolkit.Wpf.StereoView3D)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thisWindow = ((SurfaceDemo.Window1)(target));
                return;

            case 2:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:

            #line 19 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 20 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportStereo_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 22 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ViewSource = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\Window1.xaml"
                this.ViewSource.Click += new System.Windows.RoutedEventHandler(this.ViewSource_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 26 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetCamera_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Fullscreen = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\Window1.xaml"
                this.Fullscreen.Click += new System.Windows.RoutedEventHandler(this.FullScreen_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 29 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Stereo_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 30 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Stereo_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 31 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Stereo_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 34 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushHue_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 35 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushHueStripes_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 36 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushRainbow_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 37 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushRainbowStripes_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 38 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushPattern_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 39 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushImage_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.surfacesMenu = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.SourcePanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 20:
                this.slider1 = ((System.Windows.Controls.Slider)(target));
                return;

            case 21:
                this.slider2 = ((System.Windows.Controls.Slider)(target));
                return;

            case 22:
                this.slider3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 23:
                this.slider4 = ((System.Windows.Controls.Slider)(target));
                return;

            case 24:
                this.errorList = ((System.Windows.Controls.ListView)(target));
                return;

            case 25:
                this.source1 = ((System.Windows.Controls.TextBox)(target));

            #line 86 "..\..\Window1.xaml"
                this.source1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.source1_TextChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.view1 = ((HelixToolkit.Wpf.HelixViewport3D)(target));
                return;

            case 27:
                this.surface1 = ((SurfaceDemo.DynamicCodeSurface3D)(target));
                return;

            case 28:
                this.view2 = ((HelixToolkit.Wpf.StereoView3D)(target));
                return;

            case 29:
                this.view3 = ((HelixToolkit.Wpf.AnaglyphView3D)(target));
                return;
            }
            this._contentLoaded = true;
        }