コード例 #1
0
ファイル: ModuleView.g.i.cs プロジェクト: renhualu/tsccui32
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewModel = ((tscui.ViewModels.ModuleViewModel)(target));
                return;

            case 2:
                this.gbxLamp8 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.cbxLamp8 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.gbxLamp7 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 5:
                this.cbxLamp7 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.gbxLamp6 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.cbxLamp6 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.gbxLamp5 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 9:
                this.cbxLamp5 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.gbxLamp4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.cbxLamp4 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.gbxLamp3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 13:
                this.cbxLamp3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 14:
                this.gbxLamp2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 15:
                this.cbxLamp2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 16:
                this.gbxLamp1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 17:
                this.cbxLamp1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.gbxPower2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 19:
                this.cbxPower2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 20:
                this.gbxPower1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.cbxPower1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.gbxController = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 23:
                this.cbxController = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.gbxTouchScreen = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 25:
                this.cbxTouchScreen = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 26:
                this.gbxMain = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 27:
                this.cbxMain = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 28:
                this.gbxDetector4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 29:
                this.cbxDetector4 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 30:
                this.gbxDetector3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 31:
                this.cbxDetector3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.gbxDetector2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 33:
                this.cbxDetector2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 34:
                this.gbxDetector1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 35:
                this.cbxDetector1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.gbxInterface4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 37:
                this.cbxInterface4 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 38:
                this.gbxInterface3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 39:
                this.cbxInterface3 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 40:
                this.gbxInterface2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 41:
                this.cbxInterface2 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 42:
                this.gbxInterface1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 43:
                this.cbxInterface1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 44:
                this.gbxGPS = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 45:
                this.cbxGPS = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 46:
                this.gbxSMS = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 47:
                this.cbxSMS = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 48:
                this.gbxWIFI = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 49:
                this.cbxWIFI = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 50:
                this.gbxCAM = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 51:
                this.cbxCAM = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 52:
                this.gbxMobile = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 53:
                this.cbxMobile = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 54:
                this.btnRead = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\..\Pages\Module\ModuleView.xaml"
                this.btnRead.Click += new System.Windows.RoutedEventHandler(this.btnRead_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: ModuleView.g.i.cs プロジェクト: renhualu/tsccui32
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.viewModel = ((tscui.ViewModels.ModuleViewModel)(target));
     return;
     case 2:
     this.gbxLamp8 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 3:
     this.cbxLamp8 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 4:
     this.gbxLamp7 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 5:
     this.cbxLamp7 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 6:
     this.gbxLamp6 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 7:
     this.cbxLamp6 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.gbxLamp5 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 9:
     this.cbxLamp5 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 10:
     this.gbxLamp4 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 11:
     this.cbxLamp4 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 12:
     this.gbxLamp3 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 13:
     this.cbxLamp3 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 14:
     this.gbxLamp2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 15:
     this.cbxLamp2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 16:
     this.gbxLamp1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 17:
     this.cbxLamp1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 18:
     this.gbxPower2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 19:
     this.cbxPower2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 20:
     this.gbxPower1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 21:
     this.cbxPower1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 22:
     this.gbxController = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 23:
     this.cbxController = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 24:
     this.gbxTouchScreen = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 25:
     this.cbxTouchScreen = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 26:
     this.gbxMain = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 27:
     this.cbxMain = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 28:
     this.gbxDetector4 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 29:
     this.cbxDetector4 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 30:
     this.gbxDetector3 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 31:
     this.cbxDetector3 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 32:
     this.gbxDetector2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 33:
     this.cbxDetector2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 34:
     this.gbxDetector1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 35:
     this.cbxDetector1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 36:
     this.gbxInterface4 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 37:
     this.cbxInterface4 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 38:
     this.gbxInterface3 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 39:
     this.cbxInterface3 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 40:
     this.gbxInterface2 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 41:
     this.cbxInterface2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 42:
     this.gbxInterface1 = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 43:
     this.cbxInterface1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 44:
     this.gbxGPS = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 45:
     this.cbxGPS = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 46:
     this.gbxSMS = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 47:
     this.cbxSMS = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 48:
     this.gbxWIFI = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 49:
     this.cbxWIFI = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 50:
     this.gbxCAM = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 51:
     this.cbxCAM = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 52:
     this.gbxMobile = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 53:
     this.cbxMobile = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 54:
     this.btnRead = ((System.Windows.Controls.Button)(target));
     
     #line 110 "..\..\..\..\Pages\Module\ModuleView.xaml"
     this.btnRead.Click += new System.Windows.RoutedEventHandler(this.btnRead_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }