예제 #1
0
파일: MainWindow.cs 프로젝트: dizzydezz/jmm
        public override bool Init()
        {
            try
            {
                BaseConfig.MyAnimeLog.Write("INIT MAIN WINDOW");

                vidHandler = new VideoHandler();
                vidHandler.DefaultAudioLanguage = settings.DefaultAudioLanguage;
                vidHandler.DefaultSubtitleLanguage = settings.DefaultSubtitleLanguage;

            }
            catch (Exception ex)
            {
                BaseConfig.MyAnimeLog.Write("Error on init: {0}", ex.ToString());
            }

            return Load(GUIGraphicsContext.Skin + @"\Anime3_Main.xml");
        }
 public void InitVidHandler()
 {
     vidHandler = new VideoHandler();
       vidHandler.DefaultAudioLanguage = settings.DefaultAudioLanguage;
       vidHandler.DefaultSubtitleLanguage = settings.DefaultSubtitleLanguage;
 }