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

            case 2:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MenuBar = ((TestUserControl.ucMenuBar)(target));
                return;

            case 4:
                this.PlayList = ((TestUserControl.ucPlaylist)(target));
                return;

            case 5:
                this.gridroot = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.MusicPreview = ((TestUserControl.MusicPreview)(target));
                return;

            case 7:
                this.SliderForMedia = ((TestUserControl.MediaSlider)(target));
                return;

            case 8:
                this.Timer = ((TestUserControl.ucTime)(target));
                return;

            case 9:
                this.medElem = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((TestUserControl.MainWindow)(target));
                return;

            case 2:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.Timer = ((TestUserControl.ucTime)(target));
                return;

            case 4:
                this.Playlist = ((TestUserControl.ucPlaylist)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((TestUserControl.MainWindow)(target));
     return;
     case 2:
     this.myGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Timer = ((TestUserControl.ucTime)(target));
     return;
     case 4:
     this.Playlist = ((TestUserControl.ucPlaylist)(target));
     return;
     }
     this._contentLoaded = true;
 }
예제 #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((TestUserControl.MainWindow)(target));
     return;
     case 2:
     this.myGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MenuBar = ((TestUserControl.ucMenuBar)(target));
     return;
     case 4:
     this.PlayList = ((TestUserControl.ucPlaylist)(target));
     return;
     case 5:
     this.gridroot = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.MusicPreview = ((TestUserControl.MusicPreview)(target));
     return;
     case 7:
     this.SliderForMedia = ((TestUserControl.MediaSlider)(target));
     return;
     case 8:
     this.Timer = ((TestUserControl.ucTime)(target));
     return;
     case 9:
     this.medElem = ((System.Windows.Controls.MediaElement)(target));
     return;
     }
     this._contentLoaded = true;
 }