void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ReceiverView = ((BluetoothSample.Views.ReceiverView)(target)); return; case 2: this.SenderView = ((BluetoothSample.Views.SenderView)(target)); return; } this._contentLoaded = true; }