void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SW_SV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target)); return; case 2: this.L0 = ((SurfaceApplication1.Level0)(target)); return; case 3: this.L1 = ((SurfaceApplication1.Level1)(target)); return; case 4: this.L2 = ((SurfaceApplication1.Level2)(target)); return; } this._contentLoaded = true; }