void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainVehicleDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 2: this.AddRecoveryButton = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.AddRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.AddRecoveryButton_Click); #line default #line hidden return; case 3: this.RemoveRecoveryButton = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.RemoveRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.RemoveRecoveryButton_Click); #line default #line hidden return; case 4: this.PrintRecoveryButton = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.PrintRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.PrintRecoveryButton_Click); #line default #line hidden return; case 5: this.RecoveryDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 6: this.RecoveryLocDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 7: this.AddTowedButton = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.AddTowedButton.Click += new System.Windows.RoutedEventHandler(this.AddTowedButton_Click); #line default #line hidden return; case 8: this.RemoveTowedButton = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.RemoveTowedButton.Click += new System.Windows.RoutedEventHandler(this.RemoveTowedButton_Click); #line default #line hidden return; case 9: this.PrintTowedButton = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.PrintTowedButton.Click += new System.Windows.RoutedEventHandler(this.PrintTowedButton_Click); #line default #line hidden return; case 10: this.TowedDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 11: this.TowedLocDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainVehicleDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 2: this.AddRecoveryButton = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.AddRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.AddRecoveryButton_Click); #line default #line hidden return; case 3: this.RemoveRecoveryButton = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.RemoveRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.RemoveRecoveryButton_Click); #line default #line hidden return; case 4: this.PrintRecoveryButton = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.PrintRecoveryButton.Click += new System.Windows.RoutedEventHandler(this.PrintRecoveryButton_Click); #line default #line hidden return; case 5: this.RecoveryDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 6: this.RecoveryLocDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 7: this.AddTowedButton = ((System.Windows.Controls.Button)(target)); #line 47 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.AddTowedButton.Click += new System.Windows.RoutedEventHandler(this.AddTowedButton_Click); #line default #line hidden return; case 8: this.RemoveTowedButton = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.RemoveTowedButton.Click += new System.Windows.RoutedEventHandler(this.RemoveTowedButton_Click); #line default #line hidden return; case 9: this.PrintTowedButton = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\..\..\..\Modules\Common\Vehicle\Vehicle.xaml" this.PrintTowedButton.Click += new System.Windows.RoutedEventHandler(this.PrintTowedButton_Click); #line default #line hidden return; case 10: this.TowedDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; case 11: this.TowedLocDynControl = ((Invert911.InvertCommon.Modules.Vehicle.VehicleDynControl)(target)); return; } this._contentLoaded = true; }