コード例 #1
0
        private static void OnScaleValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            MediaPlayer_s8_solovj_a mainWindow = o as MediaPlayer_s8_solovj_a;

            if (mainWindow != null)
            {
                mainWindow.OnScaleValueChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
コード例 #2
0
        private static object OnCoerceScaleValue(DependencyObject o, object value)
        {
            MediaPlayer_s8_solovj_a mainWindow = o as MediaPlayer_s8_solovj_a;

            if (mainWindow != null)
            {
                return(mainWindow.OnCoerceScaleValue((double)value));
            }

            else
            {
                return(value);
            }
        }