void BtnSort_Click(object sender, RoutedEventArgs e) { var viewModel = new DisplayPreferencesViewModel(_displayPreferences, _presentationManager); var menu = new SortWindow(viewModel, _options.SortOptions); menu.ShowModal(this.GetWindow()); viewModel.Save(); }
void BtnSort_Click(object sender, RoutedEventArgs e) { var viewModel = new DisplayPreferencesViewModel(_displayPreferences, _presentationManager); var menu = new SortWindow(viewModel, _options.SortOptions); menu.ShowModal(this.GetWindow()); viewModel.Save(); }