public OptionsWindow() { InitializeComponent(); vm = new OptionsWindowViewModel(); this.DataContext = vm; }
public OptionsWindow() { InitializeComponent(); _ViewModel = new OptionsWindowViewModel(); DataContext = _ViewModel; }
public OptionsWindow(InstallConfiguration installConfiguration) { InitializeComponent(); _ViewModel = new OptionsWindowViewModel(installConfiguration); DataContext = _ViewModel; }
public OptionsWindow(OptionsWindowViewModel vm) { InitializeComponent(); _vm = vm; this.DataContext = _vm; }
private void OptionsCommand_Executed(object sender, ExecutedRoutedEventArgs e) { var optionsVM = new OptionsWindowViewModel(Options.CurrentUserOptions); var optionsWindow = new OptionsWindow(optionsVM); optionsWindow.Owner = this; optionsWindow.ShowDialog(); }
public ChangePageICommand(OptionsWindowViewModel viewManager) { m_viewManager = viewManager; }
public ResetPropertiesICommand(OptionsWindowViewModel viewModel) { _viewModel = viewModel; }
public CancelPropertiesICommand(OptionsWindowViewModel viewModel) { _viewModel = viewModel; }