Пример #1
0
        private void More_Click(object sender, RoutedEventArgs e)
        {
            MakeAllHiddenExcept(nameof(this.BorderMoreVisibility));
            var settings = NodeRunnerSettings.LoadSettings();

            this.TextBoxArguments.Text = settings.Arguments;
            this.TextBoxPath.Text      = settings.UiPath;
        }
Пример #2
0
        private void Wallet_Click(object sender, RoutedEventArgs e)
        {
            string path = "";

            try
            {
                path = NodeRunnerSettings.LoadSettings().UiPath;
                var process = new Process();
                process.StartInfo.FileName        = path;
                process.StartInfo.UseShellExecute = true;
                process.Start();
            }
            catch (Exception ex)
            {
                MessageBox.Show($"Can't start X1.exe at path '{path}': {ex.Message}");
            }
        }