Beispiel #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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.thisControl = ((HelixToolkit.WiggleView3D)(target));
                return;

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

            case 3:
                this.CameraControl1 = ((HelixToolkit.CameraController)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.thisControl = ((HelixToolkit.WiggleView3D)(target));
     return;
     case 2:
     this.View1 = ((System.Windows.Controls.Viewport3D)(target));
     return;
     case 3:
     this.CameraControl1 = ((HelixToolkit.CameraController)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #4
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;
 }