Example #1
0
 private void HandleGeneratePeakFileEndedEvent(object sender, GeneratePeakFileEventArgs e)
 {
     if (GeneratePeakFileEndedEvent != null)
         GeneratePeakFileEndedEvent(sender, e);
 }
Example #2
0
        private void HandleGeneratePeakFileEndedEvent(object sender, GeneratePeakFileEventArgs e)
        {
			//Console.WriteLine("WaveFormControl - HandleGeneratePeakFileEndedEvent - LoadPeakFile Cancelled: " + e.Cancelled.ToString() + " FilePath: " + e.AudioFilePath);
            //if (!e.Cancelled)
            //    _waveFormRenderingService.LoadPeakFile(new AudioFile(e.AudioFilePath));

            InvalidateBitmaps();
        }
Example #3
0
        private void HandleGeneratePeakFileProgressEvent(object sender, GeneratePeakFileEventArgs e)
        {
			//Console.WriteLine("WaveFormControl - HandleGeneratePeakFileProgressEvent  (" + e.PercentageDone.ToString("0") + "% done)");
            RefreshStatus("Generating peak file (" + e.PercentageDone.ToString("0") + "% done)");
        }
Example #4
0
        private void HandleGeneratePeakFileBegunEvent(object sender, GeneratePeakFileEventArgs e)
        {
			//Console.WriteLine("WaveFormControl - HandleGeneratePeakFileBegunEvent");
            RefreshStatus("Generating peak file (0% done)");
        }
 protected virtual void OnGeneratePeakFileEnded(GeneratePeakFileEventArgs e)
 {
     if (GeneratePeakFileEndedEvent != null)
         GeneratePeakFileEndedEvent(this, e);
 }
 protected virtual void OnGeneratePeakFileProgress(GeneratePeakFileEventArgs e)
 {
     if (GeneratePeakFileProgressEvent != null)
         GeneratePeakFileProgressEvent(this, e);
 }