Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                ((tscui.Pages.Collision.CollisionView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                ((tscui.Pages.Collision.CollisionView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.viewModel = ((tscui.Pages.Collision.CollisionViewModel)(target));
                return;

            case 3:
                this.northLeft = ((System.Windows.Controls.Image)(target));

            #line 31 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northLeft_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 31 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northLeft_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 4:
                this.northStraight = ((System.Windows.Controls.Image)(target));

            #line 36 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northStraight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 36 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northStraight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.northOther = ((System.Windows.Controls.Image)(target));

            #line 49 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northOther_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 49 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northOther_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 6:
                this.westPedestrain1 = ((System.Windows.Controls.Image)(target));

            #line 54 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain1_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 54 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain1_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.westPedestrain2 = ((System.Windows.Controls.Image)(target));

            #line 59 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain2_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 59 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain2_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.eastPedestrain1 = ((System.Windows.Controls.Image)(target));

            #line 64 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain1_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 64 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain1_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.eastPedestrain2 = ((System.Windows.Controls.Image)(target));

            #line 69 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain2_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 69 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain2_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 10:
                this.westRight = ((System.Windows.Controls.Image)(target));

            #line 74 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westRight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 74 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westRight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 11:
                this.westLeft = ((System.Windows.Controls.Image)(target));

            #line 79 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westLeft_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 79 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westLeft_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 12:
                this.westOther = ((System.Windows.Controls.Image)(target));

            #line 84 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westOther_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 84 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westOther_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 13:
                this.eastRight = ((System.Windows.Controls.Image)(target));

            #line 89 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastRight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 89 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastRight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 14:
                this.eastStraight = ((System.Windows.Controls.Image)(target));

            #line 94 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastStraight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 94 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastStraight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 15:
                this.eastLeft = ((System.Windows.Controls.Image)(target));

            #line 99 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastLeft_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 99 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastLeft_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 16:
                this.southLeft = ((System.Windows.Controls.Image)(target));

            #line 104 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southLeft_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 104 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southLeft_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 17:
                this.southStraight = ((System.Windows.Controls.Image)(target));

            #line 109 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southStraight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 109 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southStraight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 18:
                this.southRight = ((System.Windows.Controls.Image)(target));

            #line 114 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southRight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 114 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southRight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 19:
                this.northRight = ((System.Windows.Controls.Image)(target));

            #line 119 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northRight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 119 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northRight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 20:
                this.southOther = ((System.Windows.Controls.Image)(target));

            #line 124 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southOther_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 124 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southOther_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 21:
                this.westStraight = ((System.Windows.Controls.Image)(target));

            #line 129 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westStraight_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 129 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.westStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westStraight_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 22:
                this.southPedestrain2 = ((System.Windows.Controls.Image)(target));

            #line 134 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain2_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 134 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain2_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 23:
                this.southPedestrain1 = ((System.Windows.Controls.Image)(target));

            #line 139 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain1_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 139 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.southPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain1_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 24:
                this.northPedestrain1 = ((System.Windows.Controls.Image)(target));

            #line 144 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain1_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 144 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain1_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 25:
                this.northPedestrain2 = ((System.Windows.Controls.Image)(target));

            #line 149 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain2_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 149 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.northPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain2_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 26:
                this.eastOther = ((System.Windows.Controls.Image)(target));

            #line 154 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastOther_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 154 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.eastOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastOther_MouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 27:
                this.collision1 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 28:
                this.collision2 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 29:
                this.collision3 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 30:
                this.collision4 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 31:
                this.collision5 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 32:
                this.collision6 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 33:
                this.collision7 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 34:
                this.collision8 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 35:
                this.collision9 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 36:
                this.collision10 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 37:
                this.collision11 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 38:
                this.collision12 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 39:
                this.collision13 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 40:
                this.collision14 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 41:
                this.collision15 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 42:
                this.collision16 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 43:
                this.collision17 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 44:
                this.collision18 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 45:
                this.collision19 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 46:
                this.collision20 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 47:
                this.collision21 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 48:
                this.collision22 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 49:
                this.collision23 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 50:
                this.collision24 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 51:
                this.collision25 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 52:
                this.collision26 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 53:
                this.collision27 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 54:
                this.collision28 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 55:
                this.collision29 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 56:
                this.collision30 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 57:
                this.collision31 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 58:
                this.collision32 = ((tscui.Pages.Collision.CollisionItem)(target));
                return;

            case 59:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 196 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 60:

            #line 197 "..\..\..\..\Pages\Collision\CollisionView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 13 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     ((tscui.Pages.Collision.CollisionView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     
     #line 13 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     ((tscui.Pages.Collision.CollisionView)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.viewModel = ((tscui.Pages.Collision.CollisionViewModel)(target));
     return;
     case 3:
     this.northLeft = ((System.Windows.Controls.Image)(target));
     
     #line 31 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northLeft_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 31 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northLeft_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.northStraight = ((System.Windows.Controls.Image)(target));
     
     #line 36 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northStraight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 36 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northStraight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.northOther = ((System.Windows.Controls.Image)(target));
     
     #line 49 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northOther_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 49 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northOther_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 6:
     this.westPedestrain1 = ((System.Windows.Controls.Image)(target));
     
     #line 54 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 54 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain1_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.westPedestrain2 = ((System.Windows.Controls.Image)(target));
     
     #line 59 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 59 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westPedestrain2_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.eastPedestrain1 = ((System.Windows.Controls.Image)(target));
     
     #line 64 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 64 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain1_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.eastPedestrain2 = ((System.Windows.Controls.Image)(target));
     
     #line 69 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 69 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastPedestrain2_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 10:
     this.westRight = ((System.Windows.Controls.Image)(target));
     
     #line 74 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westRight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 74 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westRight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.westLeft = ((System.Windows.Controls.Image)(target));
     
     #line 79 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westLeft_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 79 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westLeft_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 12:
     this.westOther = ((System.Windows.Controls.Image)(target));
     
     #line 84 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westOther_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 84 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westOther_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 13:
     this.eastRight = ((System.Windows.Controls.Image)(target));
     
     #line 89 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastRight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 89 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastRight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 14:
     this.eastStraight = ((System.Windows.Controls.Image)(target));
     
     #line 94 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastStraight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 94 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastStraight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.eastLeft = ((System.Windows.Controls.Image)(target));
     
     #line 99 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastLeft_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 99 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastLeft_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 16:
     this.southLeft = ((System.Windows.Controls.Image)(target));
     
     #line 104 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southLeft.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southLeft_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 104 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southLeft.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southLeft_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 17:
     this.southStraight = ((System.Windows.Controls.Image)(target));
     
     #line 109 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southStraight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 109 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southStraight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 18:
     this.southRight = ((System.Windows.Controls.Image)(target));
     
     #line 114 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southRight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 114 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southRight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 19:
     this.northRight = ((System.Windows.Controls.Image)(target));
     
     #line 119 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northRight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northRight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 119 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northRight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northRight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 20:
     this.southOther = ((System.Windows.Controls.Image)(target));
     
     #line 124 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southOther_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 124 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southOther_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 21:
     this.westStraight = ((System.Windows.Controls.Image)(target));
     
     #line 129 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westStraight.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westStraight_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 129 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.westStraight.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.westStraight_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 22:
     this.southPedestrain2 = ((System.Windows.Controls.Image)(target));
     
     #line 134 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 134 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain2_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 23:
     this.southPedestrain1 = ((System.Windows.Controls.Image)(target));
     
     #line 139 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 139 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.southPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.southPedestrain1_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 24:
     this.northPedestrain1 = ((System.Windows.Controls.Image)(target));
     
     #line 144 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northPedestrain1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain1_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 144 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northPedestrain1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain1_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 25:
     this.northPedestrain2 = ((System.Windows.Controls.Image)(target));
     
     #line 149 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northPedestrain2.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain2_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 149 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.northPedestrain2.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.northPedestrain2_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 26:
     this.eastOther = ((System.Windows.Controls.Image)(target));
     
     #line 154 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastOther.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastOther_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 154 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.eastOther.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.eastOther_MouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 27:
     this.collision1 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 28:
     this.collision2 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 29:
     this.collision3 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 30:
     this.collision4 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 31:
     this.collision5 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 32:
     this.collision6 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 33:
     this.collision7 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 34:
     this.collision8 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 35:
     this.collision9 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 36:
     this.collision10 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 37:
     this.collision11 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 38:
     this.collision12 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 39:
     this.collision13 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 40:
     this.collision14 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 41:
     this.collision15 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 42:
     this.collision16 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 43:
     this.collision17 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 44:
     this.collision18 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 45:
     this.collision19 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 46:
     this.collision20 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 47:
     this.collision21 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 48:
     this.collision22 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 49:
     this.collision23 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 50:
     this.collision24 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 51:
     this.collision25 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 52:
     this.collision26 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 53:
     this.collision27 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 54:
     this.collision28 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 55:
     this.collision29 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 56:
     this.collision30 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 57:
     this.collision31 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 58:
     this.collision32 = ((tscui.Pages.Collision.CollisionItem)(target));
     return;
     case 59:
     this.btnSave = ((System.Windows.Controls.Button)(target));
     
     #line 196 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 60:
     
     #line 197 "..\..\..\..\Pages\Collision\CollisionView.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }