예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 2:
                this.btn_xuexi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 3:
                this.btn_jiance = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_xunlian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.Btn_backIndex = ((PsyHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.videobgimg = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.videoScreenMediaElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 3:
                this.btn_jiance = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_xunlian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_jilu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 6:
                this.btn_yinian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.btn_huxi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 8:
                this.btn_ganqin = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 9:
                this.btn_play = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 10:
                this.btn_pause = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 11:
                this.volumeSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 12:
                this.Btn_backIndex = ((PsyHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gamepic = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.btn_puti = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 3:
                this.btn_shejian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_fb = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_sq = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 6:
                this.btn_xuexi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.btn_jiance = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 8:
                this.btn_jilu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 9:
                this.Btn_backIndex = ((PsyHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\JianceWindow.xaml"
                ((PsyHealth.JianceWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.maincontent = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.btn_hrv = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_maibo = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_result = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 6:
                this.btn_set = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.userconfig = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

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

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

            case 12:
                this.sliderVolume = ((System.Windows.Controls.Slider)(target));
                return;

            case 13:
                this.txtmusicpath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.btn_checkfile = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 15:
                this.btn_ok = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 16:
                this.btn_cancle = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 17:
                this.media1 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 18:
                this.hrv_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.plotter = ((Microsoft.Research.DynamicDataDisplay.ChartPlotter)(target));
                return;

            case 20:
                this.dateAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.HorizontalDateTimeAxis)(target));
                return;

            case 21:
                this.countAxis = ((Microsoft.Research.DynamicDataDisplay.Charts.Axes.VerticalIntegerAxis)(target));
                return;

            case 22:
                this.maibo_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.result_grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 25:
                this.btn_zhushou = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 26:
                this.hxcon = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.hximg = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.videoMediaElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 29:
                this.btn_qiehuan = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 30:
                this.btn_kaishi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 31:
                this.sliderspeed = ((System.Windows.Controls.Slider)(target));
                return;

            case 32:
                this.btn_tuichu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 33:
                this.Simon = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.btn_xuexi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 35:
                this.btn_xunlian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 36:
                this.btn_jilu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 37:
                this.Btn_backIndex = ((PsyHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TxtShowInfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.btn_xuexi = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 3:
                this.btn_jiance = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_xunlian = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_jilu = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 6:
                this.Btn_user = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.Btn_about = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 8:
                this.Btn_exit = ((PsyHealth.lib.ImageButton)(target));
                return;

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

            case 10:
                this.btnHideImgInfo = ((PsyHealth.lib.ImageButton)(target));
                return;

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

            case 12:
                this.btnOkExit = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 13:
                this.btnCancelExit = ((PsyHealth.lib.ImageButton)(target));
                return;

            case 14:
                this.userlist = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.Btn_user_exit = ((PsyHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }