예제 #1
0
        private async void FFX_Click(object sender, RoutedEventArgs e)
        {
            _configFlyout.IsOpen = false;
            var processSelect = new ProcessSelectWindow("FFX")
            {
                Owner = this
            };

            processSelect.ShowDialog();

            if (processSelect.DialogResult == true)
            {
                Hide();

                if (processSelect.ResultProcess == null)
                {
                    var FFXEditor = new FFXEditor(true);
                    FFXEditor.ShowDialog();
                }
                else
                {
                    var FFXEditor = new FFXEditor();
                    FFXEditor.ShowDialog();
                }
                GameMemory.Detach();
                if (Settings.Default.CloseWithGame)
                {
                    Environment.Exit(0);
                }
                Show();
                Topmost = true;
                Topmost = false;
            }
        }
예제 #2
0
        private void FFX_Click(object sender, RoutedEventArgs e)
        {
            var processSelect = new ProcessSelectWindow("FFX");

            processSelect.ShowDialog();

            if (processSelect.DialogResult == true)
            {
                Hide();
                var FFXEditor = new FFXEditor();
                var gameQuit  = FFXEditor.ShowDialog();
                Show();
                Topmost = true;
                Topmost = false;
            }
        }