private void m_TemplateFile_TemplateFileDeleted(object sender, API.TemplateFileEventArgs e)
 {
     if (e.TemplateFile.FileName == m_PlayingFilename)
     {
         StopPlay();
         ReleaseResources();
     }
 }
Esempio n. 2
0
 private void Template_TemplateFileAdded(object sender, API.TemplateFileEventArgs e)
 {
     m_Template.Debug(API.DebugLevel.High, API.DebugCategory.Information, "File added " + e.TemplateFile.Name);
     Console.WriteLine("File added " + e.TemplateFile.Name);
 }
 private void m_TemplateFile_DownloadFileFinished(object sender, API.TemplateFileEventArgs e)
 {
     m_Template.SetState("Prepare", API.State.OK, "Download done");
 }