void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tcCard = ((System.Windows.Controls.TabControl)(target)); return; case 2: this.tiQuestion = ((System.Windows.Controls.TabItem)(target)); return; case 3: this.ctrlQuestion = ((RememberIt.CtrlContent)(target)); return; case 4: this.tiAnswer = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.ctrlAnswer = ((RememberIt.CtrlContent)(target)); return; case 6: this.tiReminder = ((System.Windows.Controls.TabItem)(target)); return; case 7: this.ctrlReminder = ((RememberIt.CtrlContent)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\..\..\Controls\CtrlCard.xaml" ((RememberIt.CtrlCard)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); #line default #line hidden return; case 2: this.lblDefaultCardGroupName = ((System.Windows.Controls.Label)(target)); return; case 3: this.tcCard = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.tiQuestion = ((System.Windows.Controls.TabItem)(target)); return; case 5: this.ctrlQuestion = ((RememberIt.CtrlContent)(target)); return; case 6: this.tiAnswer = ((System.Windows.Controls.TabItem)(target)); return; case 7: this.ctrlAnswer = ((RememberIt.CtrlContent)(target)); return; case 8: this.tiReminder = ((System.Windows.Controls.TabItem)(target)); return; case 9: this.ctrlReminder = ((RememberIt.CtrlContent)(target)); return; case 10: this.btnSave = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\..\..\Controls\CtrlCard.xaml" this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click); #line default #line hidden return; case 11: this.btnDiscard = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\..\Controls\CtrlCard.xaml" this.btnDiscard.Click += new System.Windows.RoutedEventHandler(this.btnDiscard_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 15 "..\..\..\..\Controls\CtrlCardBrowser.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OnKeyboardCmd); #line default #line hidden return; case 2: this.lblCardNumber = ((System.Windows.Controls.Label)(target)); return; case 3: this.lblTitle = ((System.Windows.Controls.Label)(target)); return; case 4: this.ctrlContent = ((RememberIt.CtrlContent)(target)); return; case 5: this.lblInfo = ((System.Windows.Controls.Label)(target)); return; case 6: this.grdButtons = ((System.Windows.Controls.Grid)(target)); return; case 7: this.btnCorrectAnswer = ((System.Windows.Controls.Button)(target)); #line 111 "..\..\..\..\Controls\CtrlCardBrowser.xaml" this.btnCorrectAnswer.Click += new System.Windows.RoutedEventHandler(this.btnCorrectAnswer_Click); #line default #line hidden return; case 8: this.pnl1 = ((System.Windows.Controls.StackPanel)(target)); return; case 9: this.btnWrongAnswer = ((System.Windows.Controls.Button)(target)); #line 117 "..\..\..\..\Controls\CtrlCardBrowser.xaml" this.btnWrongAnswer.Click += new System.Windows.RoutedEventHandler(this.btnWrongAnswer_Click); #line default #line hidden return; case 10: this.pnl2 = ((System.Windows.Controls.StackPanel)(target)); return; } this._contentLoaded = true; }