void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SControl = ((Metro_Navigation.Sources.View.StationControl)(target)); return; case 2: this.backCircle = ((System.Windows.Shapes.Ellipse)(target)); return; } this._contentLoaded = true; }