void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.userControl = ((UI.Views.RecodeBookLocationView)(target)); return; case 2: this.tableDataGridDock = ((System.Windows.Controls.DockPanel)(target)); return; case 3: this.tableDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }