public OptionsWindow()
        {
            InitializeComponent();

            vm = new OptionsWindowViewModel();
            this.DataContext = vm;
        }
Пример #2
0
        public OptionsWindow()
        {
            InitializeComponent();

            _ViewModel  = new OptionsWindowViewModel();
            DataContext = _ViewModel;
        }
Пример #3
0
        public OptionsWindow(InstallConfiguration installConfiguration)
        {
            InitializeComponent();

            _ViewModel  = new OptionsWindowViewModel(installConfiguration);
            DataContext = _ViewModel;
        }
Пример #4
0
        public OptionsWindow(OptionsWindowViewModel vm)
        {
            InitializeComponent();

            _vm = vm;
            this.DataContext = _vm;
        }
Пример #5
0
        private void OptionsCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var optionsVM = new OptionsWindowViewModel(Options.CurrentUserOptions);

            var optionsWindow = new OptionsWindow(optionsVM);

            optionsWindow.Owner = this;
            optionsWindow.ShowDialog();
        }
Пример #6
0
 public ChangePageICommand(OptionsWindowViewModel viewManager)
 {
     m_viewManager = viewManager;
 }
Пример #7
0
 public ResetPropertiesICommand(OptionsWindowViewModel viewModel)
 {
     _viewModel = viewModel;
 }
Пример #8
0
 public CancelPropertiesICommand(OptionsWindowViewModel viewModel)
 {
     _viewModel = viewModel;
 }