From 68395c181bbf629c33607829aa971cf12c19c29d Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 18 Feb 2012 22:09:26 +0000 Subject: WinGui: (WPF) General work hooking up various aspects of the new WPF UI, bug fixes and improvements. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4456 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Views/MainView.xaml.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'win/CS/HandBrakeWPF/Views/MainView.xaml.cs') diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs index 347b83547..165e74923 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs @@ -11,10 +11,6 @@ namespace HandBrakeWPF.Views { using System.Windows; - using HandBrake.ApplicationServices.Model; - - using HandBrakeWPF.ViewModels.Interfaces; - /// /// Interaction logic for MainView.xaml /// @@ -27,31 +23,5 @@ namespace HandBrakeWPF.Views { InitializeComponent(); } - - /// - /// Gets ViewModel. - /// - private IMainViewModel ViewModel - { - get - { - return ((IMainViewModel)this.DataContext); - } - } - - /// - /// Set the Selected Preset Property. - /// The SelectedItem property of a treeview is readonly. - /// - /// - /// The sender. - /// - /// - /// The RoutedPropertyChangedEventArgs. - /// - private void TreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs e) - { - this.ViewModel.SelectedPreset = e.NewValue as Preset; - } } } -- cgit v1.2.3