示例#1
0
        private static void OnSpectrogramSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Spectrogram spectrogram = d as Spectrogram;

            spectrogram.InitializeSpectrogramBitmap(true);
        }
示例#2
0
        private static void OnModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            Spectrogram spectrogram = d as Spectrogram;

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