void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.startPage = ((TraceLab.UI.WPF.Views.StartPage)(target)); return; } this._contentLoaded = true; }