Example #1
0
        void HandleOpenedPresentationChanged(OpenedPresentationChangedEvent e)
        {
            if (e.Player == null)
            {
                return;
            }
            this.player = e.Player;

            projectType = ProjectType.None;
        }
        /// <summary>
        /// Set the playlistManager with a presentation (<see cref="Playlist"/> not attached to a <see cref="Project"/>)
        /// If player is null, the last one will be used (if there is one).
        /// </summary>
        /// <param name="presentation">Presentation.</param>
        /// <param name="player">Player.</param>
        void HandleOpenedPresentationChanged(OpenedPresentationChangedEvent e)
        {
            if (e.Player == null && Player == null)
            {
                return;
            }
            else if (e.Player != null)
            {
                Player = e.Player;
            }

            OpenedProject = null;
            Player.Switch(null, e.Presentation, null);

            OpenedProjectType = ProjectType.None;
            Filter            = null;
        }
Example #3
0
        void HandleOpenedPresentationChanged(OpenedPresentationChangedEvent e)
        {
            if (e.Player == null)
                return;
            this.player = e.Player;

            projectType = ProjectType.None;
            analysisWindow = null;
        }
Example #4
0
        /// <summary>
        /// Set the playlistManager with a presentation (<see cref="Playlist"/> not attached to a <see cref="Project"/>)
        /// If player is null, the last one will be used (if there is one).
        /// </summary>
        /// <param name="presentation">Presentation.</param>
        /// <param name="player">Player.</param>
        void HandleOpenedPresentationChanged(OpenedPresentationChangedEvent e)
        {
            if (e.Player == null && Player == null) {
                return;
            } else if (e.Player != null) {
                Player = e.Player;
            }

            OpenedProject = null;
            Player.Switch (null, e.Presentation, null);

            OpenedProjectType = ProjectType.None;
            Filter = null;
        }