void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.booksView = ((BooksDesktopApp.Views.BooksView)(target)); return; } this._contentLoaded = true; }