void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.thisControl = ((HelixToolkit.AnaglyphView3D)(target)); return; case 2: this.LeftPanel = ((System.Windows.Controls.Grid)(target)); return; case 3: this.LeftView = ((System.Windows.Controls.Viewport3D)(target)); return; case 4: this.RightPanel = ((System.Windows.Controls.Grid)(target)); return; case 5: this.AnaglyphEffect1 = ((HelixToolkit.AnaglyphEffect)(target)); return; case 6: this.RightView = ((System.Windows.Controls.Viewport3D)(target)); return; case 7: this.CameraControl = ((HelixToolkit.CameraController)(target)); return; } this._contentLoaded = true; }