Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.VehicleAdd = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
                this.VehicleAdd.Click += new System.Windows.RoutedEventHandler(this.VehicleAdd_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.VehicleRemove = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
                this.VehicleRemove.Click += new System.Windows.RoutedEventHandler(this.VehicleRemove_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.VehicleCopy = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
                this.VehicleCopy.Click += new System.Windows.RoutedEventHandler(this.VehicleCopy_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.VehiclePaste = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
                this.VehiclePaste.Click += new System.Windows.RoutedEventHandler(this.VehiclePaste_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.VehicleListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.MainVehicle = ((Invert911.InvertCommon.Modules.Vehicle.Vehicle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.VehicleAdd = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
     this.VehicleAdd.Click += new System.Windows.RoutedEventHandler(this.VehicleAdd_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.VehicleRemove = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
     this.VehicleRemove.Click += new System.Windows.RoutedEventHandler(this.VehicleRemove_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.VehicleCopy = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
     this.VehicleCopy.Click += new System.Windows.RoutedEventHandler(this.VehicleCopy_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.VehiclePaste = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\..\..\Modules\Common\Vehicle\Vehicles.xaml"
     this.VehiclePaste.Click += new System.Windows.RoutedEventHandler(this.VehiclePaste_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.VehicleListView = ((System.Windows.Controls.ListView)(target));
     return;
     case 6:
     this.MainVehicle = ((Invert911.InvertCommon.Modules.Vehicle.Vehicle)(target));
     return;
     }
     this._contentLoaded = true;
 }