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); } }
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); } }