void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Player = ((YoutubePlayerLib.Cef.CefYoutubeController)(target));
                return;

            case 2:
                this.TxtVideoId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:

            #line 49 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateVideoId);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 11:

            #line 239 "..\..\..\..\Player\PlayerView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowClearStreamerPlaylistDialog);

            #line default
            #line hidden
                return;

            case 12:

            #line 242 "..\..\..\..\Player\PlayerView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAddSongDialog);

            #line default
            #line hidden
                return;

            case 13:

            #line 267 "..\..\..\..\Player\PlayerView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowClearChatPlaylistDialog);

            #line default
            #line hidden
                return;

            case 14:
                this.Anterior = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.Player = ((YoutubePlayerLib.Cef.CefYoutubeController)(target));
                return;

            case 16:
                this.AddSongsDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 17:
                this.SongLingOrId = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:

            #line 339 "..\..\..\..\Player\PlayerView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNewSong);

            #line default
            #line hidden
                return;

            case 19:
                this.ClearStreamerPlaylistDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 20:

            #line 356 "..\..\..\..\Player\PlayerView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearStreamerPlaylist);

            #line default
            #line hidden
                return;

            case 21:
                this.ClearChatPlayListDialog = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 22:

            #line 384 "..\..\..\..\Player\PlayerView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearChatPlaylist);

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