コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\page\cepin\cepin.xaml"
                ((XjHealth.page.cepin.cepin)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.stitle = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.cpanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.sindex = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: trainmain.g.i.cs プロジェクト: yxh1990/PsyHealth
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #3
0
ファイル: relaxmain.g.i.cs プロジェクト: yxh1990/PsyHealth
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\page\relax\relaxmain.xaml"
                ((XjHealth.page.relax.relaxmain)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.webBrowser1 = ((System.Windows.Forms.WebBrowser)(target));
                return;

            case 3:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.videoplayer = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 5:
                this.playlist = ((System.Windows.Controls.MediaElement)(target));

            #line 33 "..\..\..\..\page\relax\relaxmain.xaml"
                this.playlist.MediaEnded += new System.Windows.RoutedEventHandler(this.player_MediaEnded);

            #line default
            #line hidden

            #line 33 "..\..\..\..\page\relax\relaxmain.xaml"
                this.playlist.Loaded += new System.Windows.RoutedEventHandler(this.myMediaElement_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
ファイル: playvideo.g.i.cs プロジェクト: yxh1990/PsyHealth
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\page\xuexi\playvideo.xaml"
                ((XjHealth.page.xuexi.playvideo)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.btn_yinian = ((XjHealth.lib.ImageButton)(target));
                return;

            case 3:
                this.btn_fuxi = ((XjHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_qingan = ((XjHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_play = ((XjHealth.lib.ImageButton)(target));
                return;

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

            case 7:
                this.btn_backbefore = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.stitle = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.sdesc = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.btn_start = ((XjHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
ファイル: replay.g.i.cs プロジェクト: yxh1990/PsyHealth
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\page\record\replay.xaml"
                ((XjHealth.page.record.replay)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.btn_hr = ((XjHealth.lib.ImageButton)(target));
                return;

            case 4:
                this.btn_hrv = ((XjHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_stress = ((XjHealth.lib.ImageButton)(target));
                return;

            case 6:
                this.btn_mood = ((XjHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\page\record\trainreport.xaml"
                ((XjHealth.page.record.trainreport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.webBrowser1 = ((System.Windows.Forms.WebBrowser)(target));
                return;

            case 3:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
ファイル: jiancemain.g.i.cs プロジェクト: yxh1990/PsyHealth
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\page\jiance\jiancemain.xaml"
                ((XjHealth.page.jiance.jiancemain)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lblhr = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.lblxhdesc = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lblxh = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.chartwindow = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 6:
                this.chart1 = ((System.Windows.Forms.DataVisualization.Charting.Chart)(target));
                return;

            case 7:
                this.btn_hr = ((XjHealth.lib.ImageButton)(target));
                return;

            case 8:
                this.btn_hrv = ((XjHealth.lib.ImageButton)(target));
                return;

            case 9:
                this.btn_stress = ((XjHealth.lib.ImageButton)(target));
                return;

            case 10:
                this.btn_mood = ((XjHealth.lib.ImageButton)(target));
                return;

            case 11:
                this.btn_monstart = ((XjHealth.lib.ImageButton)(target));
                return;

            case 12:
                this.btn_monstop = ((XjHealth.lib.ImageButton)(target));
                return;

            case 13:
                this.btn_monset = ((XjHealth.lib.ImageButton)(target));
                return;

            case 14:
                this.btn_monbreath = ((XjHealth.lib.ImageButton)(target));
                return;

            case 15:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;

            case 16:
                this.loading = ((System.Windows.Controls.Canvas)(target));
                return;

            case 17:
                this.SpinnerRotate = ((System.Windows.Media.RotateTransform)(target));
                return;

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

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

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

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

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

            #line 79 "..\..\..\..\page\jiance\jiancemain.xaml"
                this.videoMediaElement.MediaEnded += new System.Windows.RoutedEventHandler(this.videoMediaElement_MediaEnded);

            #line default
            #line hidden
                return;

            case 23:
                this.btn_qiehuan = ((XjHealth.lib.ImageButton)(target));
                return;

            case 24:
                this.btn_kaishi = ((XjHealth.lib.ImageButton)(target));
                return;

            case 25:
                this.btn_tuichu = ((XjHealth.lib.ImageButton)(target));
                return;

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

            case 27:
                this.rbMusic = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 28:
                this.rbMusic2 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            case 31:
                this.btn_checkfile = ((XjHealth.lib.ImageButton)(target));
                return;

            case 32:
                this.btn_ok = ((XjHealth.lib.ImageButton)(target));
                return;

            case 33:
                this.btn_cancle = ((XjHealth.lib.ImageButton)(target));
                return;

            case 34:
                this.media1 = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
0
ファイル: Index.g.i.cs プロジェクト: yxh1990/PsyHealth
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\page\Index.xaml"
                ((XjHealth.page.Index)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lbl_username = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.lbl_time = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.btn_usertologin = ((XjHealth.lib.ImageButton)(target));
                return;

            case 5:
                this.btn_userlogout = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\page\Index.xaml"
                this.btn_userlogout.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btn_cepin = ((XjHealth.lib.ImageButton)(target));
                return;

            case 7:
                this.btn_xuexi = ((XjHealth.lib.ImageButton)(target));
                return;

            case 8:
                this.btn_jiance = ((XjHealth.lib.ImageButton)(target));
                return;

            case 9:
                this.btn_xunlian = ((XjHealth.lib.ImageButton)(target));
                return;

            case 10:
                this.btn_fangsong = ((XjHealth.lib.ImageButton)(target));
                return;

            case 11:
                this.btn_jilu = ((XjHealth.lib.ImageButton)(target));
                return;

            case 12:
                this.btn_geren = ((XjHealth.lib.ImageButton)(target));
                return;

            case 13:
                this.loginwindow = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.btn_exitlogin = ((XjHealth.lib.ImageButton)(target));
                return;

            case 15:
                this.txtusername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txtpassword = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 17:
                this.btn_login = ((XjHealth.lib.ImageButton)(target));
                return;

            case 18:
                this.btn_reset = ((XjHealth.lib.ImageButton)(target));
                return;

            case 19:
                this.loginoutwindow = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 20:
                this.btn_exitok = ((XjHealth.lib.ImageButton)(target));
                return;

            case 21:
                this.btn_exitcancle = ((XjHealth.lib.ImageButton)(target));
                return;

            case 22:
                this.userinfowindow = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 23:
                this.grid_userinfo = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.txt_username = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.txt_code = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.txt_logonName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.txt_sex = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.txt_nation = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.txt_age = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.txt_edu = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.txt_role = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.grid_changepasswd = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 33:
                this.txtoldpasswd = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 34:
                this.txtnewpasswd1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 35:
                this.txtnewpasswd2 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 36:
                this.btn_updatepass = ((XjHealth.lib.ImageButton)(target));
                return;

            case 37:
                this.btn_cancelupdatepass = ((XjHealth.lib.ImageButton)(target));
                return;

            case 38:
                this.btntoolbar1 = ((System.Windows.Controls.Image)(target));
                return;

            case 39:
                this.btn_userchangepass = ((XjHealth.lib.ImageButton)(target));
                return;

            case 40:
                this.btntoolbar2 = ((System.Windows.Controls.Image)(target));
                return;

            case 41:
                this.btn_userinfo = ((XjHealth.lib.ImageButton)(target));
                return;

            case 42:
                this.btn_userinfoexit = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.self = ((XjHealth.page.record.recordmain)(target));
                return;

            case 2:
                this.dataGrid1 = ((CustomControlLibrary.PagingDataGrid)(target));

            #line 27 "..\..\..\..\page\record\recordmain.xaml"
                this.dataGrid1.PagingChanged += new CustomControlLibrary.PagingDataGrid.PagingChangedEventHandler(this.PagingDataGrid2_PagingChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.dataGrid2 = ((CustomControlLibrary.PagingDataGrid)(target));

            #line 52 "..\..\..\..\page\record\recordmain.xaml"
                this.dataGrid2.PagingChanged += new CustomControlLibrary.PagingDataGrid.PagingChangedEventHandler(this.PagingDataGrid_PagingChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.grid_testreport = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.traincon = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.traindu = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.trainstartTime = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.trainendTime = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.btn_guanbi = ((XjHealth.lib.ImageButton)(target));
                return;

            case 14:
                this.txtcon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.btn_cepin = ((XjHealth.lib.ImageButton)(target));
                return;

            case 16:
                this.btn_xunlian = ((XjHealth.lib.ImageButton)(target));
                return;

            case 17:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\page\cepin\cepinmain.xaml"
                ((XjHealth.page.cepin.cepinmain)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.title0 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.desc0 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.title1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.desc1 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.desc2 = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 9:
                this.desc3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.btnTest1 = ((XjHealth.lib.ImageButton)(target));
                return;

            case 11:
                this.btnTest2 = ((XjHealth.lib.ImageButton)(target));
                return;

            case 12:
                this.btnTest3 = ((XjHealth.lib.ImageButton)(target));
                return;

            case 13:
                this.btnTest4 = ((XjHealth.lib.ImageButton)(target));
                return;

            case 14:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\page\relax\MusicPlayer.xaml"
                ((XjHealth.page.relax.MusicPlayer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.BackFrame = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.playListBox = ((System.Windows.Controls.ListBox)(target));

            #line 41 "..\..\..\..\page\relax\MusicPlayer.xaml"
                this.playListBox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.playListBox_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 4:
                this.folderOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 45 "..\..\..\..\page\relax\MusicPlayer.xaml"
                this.folderOpen.Click += new System.Windows.RoutedEventHandler(this.folderOpen_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.fileOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 47 "..\..\..\..\page\relax\MusicPlayer.xaml"
                this.fileOpen.Click += new System.Windows.RoutedEventHandler(this.fileOpen_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.playlistOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 49 "..\..\..\..\page\relax\MusicPlayer.xaml"
                this.playlistOpen.Click += new System.Windows.RoutedEventHandler(this.playlistOpen_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 56 "..\..\..\..\page\relax\MusicPlayer.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.playControl1 = ((XjHealth.Controls.PlayControl)(target));
                return;

            case 9:
                this.Menu = ((System.Windows.Controls.TextBlock)(target));

            #line 62 "..\..\..\..\page\relax\MusicPlayer.xaml"
                this.Menu.Initialized += new System.EventHandler(this.Menu_Initialized);

            #line default
            #line hidden

            #line 62 "..\..\..\..\page\relax\MusicPlayer.xaml"
                this.Menu.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Menu_MouseDown);

            #line default
            #line hidden
                return;

            case 10:
                this.mainMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 11:

            #line 66 "..\..\..\..\page\relax\MusicPlayer.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.fileOpen_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 67 "..\..\..\..\page\relax\MusicPlayer.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.folderOpen_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 68 "..\..\..\..\page\relax\MusicPlayer.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.playlistOpen_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btn_backmain = ((XjHealth.lib.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }