Exemplo n.º 1
0
        static void IsPlayingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            bool             newVal = (bool)e.NewValue;
            SpectrumAnalyzer s      = d as SpectrumAnalyzer;

            //s._isStreamPlaying = newVal;

            s.CheckOnStateChanged();
        }
Exemplo n.º 2
0
        static void IsStreamChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            int newVal         = (int)e.NewValue;
            SpectrumAnalyzer s = d as SpectrumAnalyzer;

            //s._stream = newVal;

            s.CheckOnStateChanged();
        }
Exemplo n.º 3
0
        static void OnDisplayChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            DISPLAY newVal = (DISPLAY)e.NewValue;

            SpectrumAnalyzer s = d as SpectrumAnalyzer;

            //s._display = newVal;

            s.CheckOnStateChanged();
        }
Exemplo n.º 4
0
        static void SpectrumAnalyzer_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            SpectrumAnalyzer s = sender as SpectrumAnalyzer;

            s.CheckOnStateChanged();
        }