private void TimeSlider_PreviewMouseUp(object sender, MouseButtonEventArgs e) { PlayerPanelVM ppVM = DataContext as PlayerPanelVM; // TODO: Код на коленке if (ppVM == null) { return; } ppVM.Body.VLC.TimeSlider_PreviewMouseUp(sender, e); }
private void TimeSlider_PreviewMouseDown(object sender, MouseButtonEventArgs e) { PlayerPanelVM ppVM = DataContext as PlayerPanelVM; // да хуй с ним знаю что уродство if (ppVM == null) { return; } ppVM.Body.VLC.TimeSlider_PreviewMouseDown(sender, e); }