void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.helpPage = ((Quiz.HelpPage)(target)); return; case 2: this.tbTime = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }