Exemplo n.º 1
0
        private static void OnSpectrogramSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Spectrogram spectrogram = d as Spectrogram;

            spectrogram.InitializeSpectrogramBitmap(true);
        }
Exemplo n.º 2
0
        private static void OnModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Spectrogram spectrogram = d as Spectrogram;

            spectrogram.mode = (SpectrogramMode)e.NewValue;
        }