void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RegForm = ((WPF_Example.MainWindow)(target)); return; case 2: this.ckBxSwim = ((System.Windows.Controls.CheckBox)(target)); #line 15 "..\..\MainWindow.xaml" this.ckBxSwim.Checked += new System.Windows.RoutedEventHandler(this.ComputeCharges); #line default #line hidden return; case 3: this.ckBxSnorkel = ((System.Windows.Controls.CheckBox)(target)); #line 16 "..\..\MainWindow.xaml" this.ckBxSnorkel.Checked += new System.Windows.RoutedEventHandler(this.ComputeCharges); #line default #line hidden return; case 4: this.ckBxDive = ((System.Windows.Controls.CheckBox)(target)); #line 17 "..\..\MainWindow.xaml" this.ckBxDive.Checked += new System.Windows.RoutedEventHandler(this.ComputeCharges); #line default #line hidden return; case 5: this.skillGroup = ((System.Windows.Controls.GroupBox)(target)); return; case 6: this.radBeginner = ((System.Windows.Controls.RadioButton)(target)); #line 19 "..\..\MainWindow.xaml" this.radBeginner.Checked += new System.Windows.RoutedEventHandler(this.ComputeCharges); #line default #line hidden return; case 7: this.radInterm = ((System.Windows.Controls.RadioButton)(target)); #line 21 "..\..\MainWindow.xaml" this.radInterm.Checked += new System.Windows.RoutedEventHandler(this.ComputeCharges); #line default #line hidden return; case 8: this.radAdvanced = ((System.Windows.Controls.RadioButton)(target)); #line 22 "..\..\MainWindow.xaml" this.radAdvanced.Checked += new System.Windows.RoutedEventHandler(this.ComputeCharges); #line default #line hidden return; case 9: this.txtBxResult = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.lblMsg = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }