void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\..\View\ExerciseView.xaml" ((Typo.View.ExerciseView)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.UserControl_KeyDown); #line default #line hidden #line 10 "..\..\..\View\ExerciseView.xaml" ((Typo.View.ExerciseView)(target)).KeyUp += new System.Windows.Input.KeyEventHandler(this.UserControl_KeyUp); #line default #line hidden return; case 2: this.ExerciseTextBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 3: this.ExerciseTextBoxParagraph = ((System.Windows.Documents.Paragraph)(target)); return; case 4: this.KeyStrokesLabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.AccuracyLabel = ((System.Windows.Controls.Label)(target)); return; case 6: this.keyBoard = ((Typo.View.Keyboard)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\..\View\CharcterPicker.xaml" ((Typo.View.CharacterPicker)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.HandleKeyPress); #line default #line hidden return; case 2: this.MaxWordLenght = ((System.Windows.Controls.Label)(target)); return; case 3: this.MaxWordLengthSlider = ((System.Windows.Controls.Slider)(target)); return; case 4: this.CharactersString = ((System.Windows.Controls.Label)(target)); return; case 5: #line 55 "..\..\..\View\CharcterPicker.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Start_Click); #line default #line hidden return; case 6: this.keyBoard = ((Typo.View.Keyboard)(target)); return; } this._contentLoaded = true; }