Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((TestUserControl.ucPlaylist)(target));
     return;
     case 2:
     this.OnMouseEnter2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.Playlist = ((System.Windows.Controls.TreeView)(target));
     return;
     case 6:
     this.itemCurrent = ((System.Windows.Controls.TreeViewItem)(target));
     return;
     case 7:
     this.treeView1 = ((System.Windows.Controls.TreeViewItem)(target));
     return;
     case 8:
     this.itemMusics = ((System.Windows.Controls.TreeViewItem)(target));
     return;
     case 9:
     
     #line 70 "..\..\..\View\ucPlaylist.xaml"
     ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.ArtistFocus);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 71 "..\..\..\View\ucPlaylist.xaml"
     ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.AlbumFocus);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 72 "..\..\..\View\ucPlaylist.xaml"
     ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.GenreFocus);
     
     #line default
     #line hidden
     return;
     case 12:
     this.itemsPictures = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 74 "..\..\..\View\ucPlaylist.xaml"
     this.itemsPictures.GotFocus += new System.Windows.RoutedEventHandler(this.PicturesFocus);
     
     #line default
     #line hidden
     return;
     case 13:
     this.itemsVideos = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 75 "..\..\..\View\ucPlaylist.xaml"
     this.itemsVideos.GotFocus += new System.Windows.RoutedEventHandler(this.VideosFocus);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Tablesheet = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 15:
     this.menu = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.Menu = ((System.Windows.Controls.Menu)(target));
     return;
     case 17:
     this.File = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 18:
     this.Open = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 19:
     this.CreatePlaylist = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 20:
     this.Help = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 21:
     this.About = ((System.Windows.Controls.MenuItem)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((TestUserControl.ucPlaylist)(target));
                return;

            case 2:
                this.OnMouseEnter2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.Playlist = ((System.Windows.Controls.TreeView)(target));
                return;

            case 6:
                this.itemCurrent = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 7:
                this.treeView1 = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 8:
                this.itemMusics = ((System.Windows.Controls.TreeViewItem)(target));
                return;

            case 9:

            #line 70 "..\..\..\View\ucPlaylist.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.ArtistFocus);

            #line default
            #line hidden
                return;

            case 10:

            #line 71 "..\..\..\View\ucPlaylist.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.AlbumFocus);

            #line default
            #line hidden
                return;

            case 11:

            #line 72 "..\..\..\View\ucPlaylist.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.GenreFocus);

            #line default
            #line hidden
                return;

            case 12:
                this.itemsPictures = ((System.Windows.Controls.TreeViewItem)(target));

            #line 74 "..\..\..\View\ucPlaylist.xaml"
                this.itemsPictures.GotFocus += new System.Windows.RoutedEventHandler(this.PicturesFocus);

            #line default
            #line hidden
                return;

            case 13:
                this.itemsVideos = ((System.Windows.Controls.TreeViewItem)(target));

            #line 75 "..\..\..\View\ucPlaylist.xaml"
                this.itemsVideos.GotFocus += new System.Windows.RoutedEventHandler(this.VideosFocus);

            #line default
            #line hidden
                return;

            case 14:
                this.Tablesheet = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 15:
                this.menu = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 17:
                this.File = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 18:
                this.Open = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 19:
                this.CreatePlaylist = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 20:
                this.Help = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 21:
                this.About = ((System.Windows.Controls.MenuItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((TestUserControl.ucPlaylist)(target));
     return;
     case 2:
     this.OnMouseEnter2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.Playlist = ((System.Windows.Controls.TreeView)(target));
     return;
     case 6:
     this.itemPlaylist = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 53 "..\..\ucPlaylist.xaml"
     this.itemPlaylist.GotFocus += new System.Windows.RoutedEventHandler(this.PlaylistFocus);
     
     #line default
     #line hidden
     return;
     case 7:
     this.itemMusics = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 56 "..\..\ucPlaylist.xaml"
     this.itemMusics.GotFocus += new System.Windows.RoutedEventHandler(this.MusicsFocus);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 57 "..\..\ucPlaylist.xaml"
     ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.ArtistFocus);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 58 "..\..\ucPlaylist.xaml"
     ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.AlbumFocus);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 59 "..\..\ucPlaylist.xaml"
     ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.GenreFocus);
     
     #line default
     #line hidden
     return;
     case 11:
     this.itemsPictures = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 61 "..\..\ucPlaylist.xaml"
     this.itemsPictures.GotFocus += new System.Windows.RoutedEventHandler(this.PicturesFocus);
     
     #line default
     #line hidden
     return;
     case 12:
     this.itemsVideos = ((System.Windows.Controls.TreeViewItem)(target));
     
     #line 62 "..\..\ucPlaylist.xaml"
     this.itemsVideos.GotFocus += new System.Windows.RoutedEventHandler(this.VideosFocus);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((TestUserControl.ucPlaylist)(target));
                return;

            case 2:
                this.OnMouseEnter2_BeginStoryboard = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 3:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.rectangle = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.Playlist = ((System.Windows.Controls.TreeView)(target));
                return;

            case 6:
                this.itemPlaylist = ((System.Windows.Controls.TreeViewItem)(target));

            #line 53 "..\..\ucPlaylist.xaml"
                this.itemPlaylist.GotFocus += new System.Windows.RoutedEventHandler(this.PlaylistFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.itemMusics = ((System.Windows.Controls.TreeViewItem)(target));

            #line 56 "..\..\ucPlaylist.xaml"
                this.itemMusics.GotFocus += new System.Windows.RoutedEventHandler(this.MusicsFocus);

            #line default
            #line hidden
                return;

            case 8:

            #line 57 "..\..\ucPlaylist.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.ArtistFocus);

            #line default
            #line hidden
                return;

            case 9:

            #line 58 "..\..\ucPlaylist.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.AlbumFocus);

            #line default
            #line hidden
                return;

            case 10:

            #line 59 "..\..\ucPlaylist.xaml"
                ((System.Windows.Controls.TreeViewItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.GenreFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.itemsPictures = ((System.Windows.Controls.TreeViewItem)(target));

            #line 61 "..\..\ucPlaylist.xaml"
                this.itemsPictures.GotFocus += new System.Windows.RoutedEventHandler(this.PicturesFocus);

            #line default
            #line hidden
                return;

            case 12:
                this.itemsVideos = ((System.Windows.Controls.TreeViewItem)(target));

            #line 62 "..\..\ucPlaylist.xaml"
                this.itemsVideos.GotFocus += new System.Windows.RoutedEventHandler(this.VideosFocus);

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