Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.stereoBase = ((System.Windows.Controls.Slider)(target));
                return;

            case 2:
                this.dirVector = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.wiggleRate = ((System.Windows.Controls.Slider)(target));
                return;

            case 4:
                this.stereoView1 = ((HelixToolkit.StereoView3D)(target));
                return;

            case 5:
                this.anaglyphView1 = ((HelixToolkit.AnaglyphView3D)(target));
                return;

            case 6:
                this.wiggleView1 = ((HelixToolkit.WiggleView3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thisControl = ((HelixToolkit.StereoView3D)(target));
                return;

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

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

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

            case 5:
                this.RightCameraControl = ((HelixToolkit.CameraController)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 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 15 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden
                return;

            case 25:
                this.view1 = ((HelixToolkit.HelixView3D)(target));
                return;

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

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

            case 28:
                this.view3 = ((HelixToolkit.AnaglyphView3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 4
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 15 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Export_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 17 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ViewSource = ((System.Windows.Controls.MenuItem)(target));
     
     #line 20 "..\..\Window1.xaml"
     this.ViewSource.Click += new System.Windows.RoutedEventHandler(this.ViewSource_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 21 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetCamera_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Fullscreen = ((System.Windows.Controls.MenuItem)(target));
     
     #line 22 "..\..\Window1.xaml"
     this.Fullscreen.Click += new System.Windows.RoutedEventHandler(this.FullScreen_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 24 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Stereo_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 25 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Stereo_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 26 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Stereo_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 29 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushHue_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 30 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushHueStripes_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 31 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushRainbow_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 32 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushRainbowStripes_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 33 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushPattern_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 34 "..\..\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BrushImage_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.surfacesMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 18:
     this.SourcePanel = ((System.Windows.Controls.DockPanel)(target));
     return;
     case 19:
     this.slider1 = ((System.Windows.Controls.Slider)(target));
     return;
     case 20:
     this.slider2 = ((System.Windows.Controls.Slider)(target));
     return;
     case 21:
     this.slider3 = ((System.Windows.Controls.Slider)(target));
     return;
     case 22:
     this.slider4 = ((System.Windows.Controls.Slider)(target));
     return;
     case 23:
     this.errorList = ((System.Windows.Controls.ListView)(target));
     return;
     case 24:
     this.source1 = ((System.Windows.Controls.TextBox)(target));
     
     #line 81 "..\..\Window1.xaml"
     this.source1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.source1_TextChanged);
     
     #line default
     #line hidden
     return;
     case 25:
     this.view1 = ((HelixToolkit.HelixView3D)(target));
     return;
     case 26:
     this.surface1 = ((SurfaceDemo.DynamicCodeSurface3D)(target));
     return;
     case 27:
     this.view2 = ((HelixToolkit.StereoView3D)(target));
     return;
     case 28:
     this.view3 = ((HelixToolkit.AnaglyphView3D)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.stereoBase = ((System.Windows.Controls.Slider)(target));
     return;
     case 2:
     this.dirVector = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 3:
     this.wiggleRate = ((System.Windows.Controls.Slider)(target));
     return;
     case 4:
     this.stereoView1 = ((HelixToolkit.StereoView3D)(target));
     return;
     case 5:
     this.anaglyphView1 = ((HelixToolkit.AnaglyphView3D)(target));
     return;
     case 6:
     this.wiggleView1 = ((HelixToolkit.WiggleView3D)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.thisControl = ((HelixToolkit.StereoView3D)(target));
     return;
     case 2:
     this.LeftView = ((System.Windows.Controls.Viewport3D)(target));
     return;
     case 3:
     this.LeftCameraControl = ((HelixToolkit.CameraController)(target));
     return;
     case 4:
     this.RightView = ((System.Windows.Controls.Viewport3D)(target));
     return;
     case 5:
     this.RightCameraControl = ((HelixToolkit.CameraController)(target));
     return;
     }
     this._contentLoaded = true;
 }