void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.FileChooserWindow = ((GitUpdater.FileChooser)(target)); return; case 2: this.ListOfRepos = ((System.Windows.Controls.ListBox)(target)); #line 8 "..\..\FileChooser.xaml" this.ListOfRepos.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.MoveToChosenList); #line default #line hidden return; case 3: this.ChosenRepos = ((System.Windows.Controls.ListBox)(target)); #line 9 "..\..\FileChooser.xaml" this.ChosenRepos.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.RemoveFromChosenList); #line default #line hidden return; case 4: #line 13 "..\..\FileChooser.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SavePreferencesAndRun); #line default #line hidden return; case 5: #line 14 "..\..\FileChooser.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.GoBack); #line default #line hidden return; } this._contentLoaded = true; }