コード例 #1
0
ファイル: ProgressCircle.g.i.cs プロジェクト: xenic719/kinect
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._this = ((KinectCloseTeacher.ProgressCircle)(target));
                return;

            case 2:
                this.Background = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 3:
                this.Indicator = ((Microsoft.Expression.Shapes.Arc)(target));
                return;

            case 4:
                this.Border = ((System.Windows.Shapes.Path)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Unit_Page.g.i.cs プロジェクト: xenic719/kinect
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 9 "..\..\Unit_Page.xaml"
                ((KinectCloseTeacher.Unit_Page)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.videoImagex = ((System.Windows.Controls.Image)(target));
                return;

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

            case 4:
                this.ellipseLeftHand = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 5:
                this.ellipseRightHand = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 6:
                this.ellipseHead = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 7:
                this.ellipseLeftShoulder = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 8:
                this.ellipseRightShoulder = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 9:
                this.ellipseCenterShoulder = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 10:
                this.ellipseLeftAnkle = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 11:
                this.ellipseRightAnkle = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 12:
                this.ellipseLeftElbow = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 13:
                this.ellipseRightElbow = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 14:
                this.ellipseLeftFoot = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 15:
                this.ellipseRightFoot = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 16:
                this.ellipseLeftHip = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 17:
                this.ellipseRightHip = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 18:
                this.ellipseCenterHip = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 19:
                this.ellipseLeftKnee = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 20:
                this.ellipseRightKnee = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 21:
                this.ellipseSpine = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 22:
                this.ellipseLeftWrist = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 23:
                this.ellipseRightWrist = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 24:
                this.A = ((KinectCloseTeacher.ProgressCircle)(target));
                return;

            case 25:
                this.actioning = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.actselect = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.back = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\Unit_Page.xaml"
                this.back.Click += new System.Windows.RoutedEventHandler(this.back_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.VideoElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 30:
                this.btn_play = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\Unit_Page.xaml"
                this.btn_play.Click += new System.Windows.RoutedEventHandler(this.btn_play_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btn_pause = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\Unit_Page.xaml"
                this.btn_pause.Click += new System.Windows.RoutedEventHandler(this.btn_pasue_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btn_stop = ((System.Windows.Controls.Button)(target));

            #line 52 "..\..\Unit_Page.xaml"
                this.btn_stop.Click += new System.Windows.RoutedEventHandler(this.btn_stop_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.LeftPositiveElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 34:
                this.LeftNegativeElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 35:
                this.TimesLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.AllTimesLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.GoodElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 38:
                this.RightPositiveElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 39:
                this.RightNegativeElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 40:
                this.BGMusicElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 41:
                this.OneElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 42:
                this.TwoElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 43:
                this.ThreeElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 44:
                this.FourElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 45:
                this.FiveElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 46:
                this.SixElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 47:
                this.SevenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 48:
                this.EightElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 49:
                this.NineElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 50:
                this.TenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 51:
                this.ElevenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 52:
                this.TwelveElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 53:
                this.ThirteenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 54:
                this.FourteenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 55:
                this.FifteenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 56:
                this.SixteenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 57:
                this.SeventeenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 58:
                this.EighteenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 59:
                this.NineteenElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 60:
                this.CMoneElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 61:
                this.CMtwoElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 62:
                this.CMthreeElement = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 63:
                this.test = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\Unit_Page.xaml"
                this.test.Click += new System.Windows.RoutedEventHandler(this.test_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }