Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addusetrol = ((GloryView.RFID.DeviceMigrations.OldEquipment)(target));
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.oldgrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.roomName = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));

            #line 40 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.dataGrid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.viewport1 = ((System.Windows.Controls.Viewport3D)(target));

            #line 60 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
                this.viewport1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rightleftdown);

            #line default
            #line hidden
                return;

            case 14:
                this.myPerspectiveCamera = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
                return;

            case 15:
                this.FurnitureContainer2 = ((System.Windows.Media.Media3D.ContainerUIElement3D)(target));
                return;

            case 16:
                this.viewportLightsModelVisual3D = ((System.Windows.Media.Media3D.ModelVisual3D)(target));
                return;

            case 17:
                this.ambientLight = ((System.Windows.Media.Media3D.AmbientLight)(target));
                return;

            case 18:
                this.directionalLight = ((System.Windows.Media.Media3D.DirectionalLight)(target));
                return;

            case 19:
                this.spotLight = ((System.Windows.Media.Media3D.SpotLight)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.addusetrol = ((GloryView.RFID.DeviceMigrations.OldEquipment)(target));
     return;
     case 2:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.oldgrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.roomName = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 40 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
     this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.button3 = ((System.Windows.Controls.Button)(target));
     
     #line 49 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
     this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 50 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.dataGrid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.viewport1 = ((System.Windows.Controls.Viewport3D)(target));
     
     #line 60 "..\..\..\..\DeviceMigrations\OldEquipment.xaml"
     this.viewport1.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.rightleftdown);
     
     #line default
     #line hidden
     return;
     case 14:
     this.myPerspectiveCamera = ((System.Windows.Media.Media3D.PerspectiveCamera)(target));
     return;
     case 15:
     this.FurnitureContainer2 = ((System.Windows.Media.Media3D.ContainerUIElement3D)(target));
     return;
     case 16:
     this.viewportLightsModelVisual3D = ((System.Windows.Media.Media3D.ModelVisual3D)(target));
     return;
     case 17:
     this.ambientLight = ((System.Windows.Media.Media3D.AmbientLight)(target));
     return;
     case 18:
     this.directionalLight = ((System.Windows.Media.Media3D.DirectionalLight)(target));
     return;
     case 19:
     this.spotLight = ((System.Windows.Media.Media3D.SpotLight)(target));
     return;
     }
     this._contentLoaded = true;
 }