void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ucDashBoardContainer = ((DashBoard.Presentation.ctlDashBoardContainer)(target)); return; case 2: this.tbCnt = ((System.Windows.Controls.TabControl)(target)); return; } this._contentLoaded = true; }