Пример #1
0
        /// <summary>
        /// Wczytuje zawartość bieżącego pliku napisów z dysku.
        /// </summary>
        /// <exception cref="System.Exception">Not supported subtitles format.</exception>
        public void Load()
        {
            if (!IsCurrentSubtitlesExtensionSupported())
            {
                throw new Exception("Not supported subtitles format.");
            }

            CurrentSubtitles.Load();

            CurrentSubtitlesFormat = GetCurrentSubtitlesFormat();

            OnLoad();
        }