Beispiel #1
0
        public void Edit()
        {
            HidGuardianManager hidGuardianManager = ApplicationContext.Global.Resolve <HidGuardianManager>();
            var controllerSettingsWindow          = new InputSettingsWindow(new InputSettingsViewModel(new InputSettingsModel(), hidGuardianManager, Model.Device, isAdmin), Model.Device);

            controllerSettingsWindow.ShowDialog();
        }
Beispiel #2
0
        private void InputSettingsCommandExecuted(object sender, ExecutedRoutedEventArgs e)
        {
            var inputSettingsWindow = new InputSettingsWindow();

            inputSettingsWindow.Owner = this;

            NesPause();
            inputSettingsWindow.ShowDialog();
            NesResume();
        }
Beispiel #3
0
        public void Edit()
        {
            var controllerSettingsWindow = new InputSettingsWindow(new InputSettingsViewModel(new InputSettingsModel(), Model.Device, isAdmin), Model.Device);

            controllerSettingsWindow.ShowDialog();
        }