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

            #line 9 "..\..\MusicFlexControl.xaml"
                ((TestMusicPlay.MusicFlexControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.flex = ((YoYoStudio.Controls.WpfFlexControl)(target));

            #line 13 "..\..\MusicFlexControl.xaml"
                this.flex.FlashCallback += new YoYoStudio.Controls.Winform.FlashCallbackEventHandler(this.flex_FlashCallback);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\VideoFlexControl.xaml"
                ((TestMusicPlay.VideoFlexControl)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.PART_Bottom = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 3:
                this.PART_VideoBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.flex = ((YoYoStudio.Controls.WpfFlexControl)(target));

            #line 17 "..\..\VideoFlexControl.xaml"
                this.flex.FlashCallback += new YoYoStudio.Controls.Winform.FlashCallbackEventHandler(this.flex_FlashCallback);

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