From 45b391e7c621536c560724110069fdda43bb308e Mon Sep 17 00:00:00 2001 From: tsuji Date: Wed, 22 Dec 2021 11:33:19 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AC=E3=83=9D=E3=83=BC=E3=83=88=E5=90=8D?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E5=BE=8C=E3=80=81=E3=83=91=E3=82=B9?= =?UTF-8?q?=E6=96=87=E6=9C=AB=E3=81=AB=E3=83=95=E3=82=A9=E3=83=BC=E3=82=AB?= =?UTF-8?q?=E3=82=B9=E3=81=95=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/CSRender/CSRender/FilePathSelect.cs | 2 ++ Code/CSRender/CSRender/MainWindow.xaml.cs | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Code/CSRender/CSRender/FilePathSelect.cs b/Code/CSRender/CSRender/FilePathSelect.cs index a407237..8f3c7b1 100644 --- a/Code/CSRender/CSRender/FilePathSelect.cs +++ b/Code/CSRender/CSRender/FilePathSelect.cs @@ -253,6 +253,8 @@ namespace CSRender pdfReportName += ".pdf"; } reportBox.Text = pdfReportPath + pdfReportName; + reportBox.Focus(); + reportBox.Select(this.reportBox.Text.Length, 0); reportFlag = true; } return reportFlag; diff --git a/Code/CSRender/CSRender/MainWindow.xaml.cs b/Code/CSRender/CSRender/MainWindow.xaml.cs index d81b598..5b5aebc 100644 --- a/Code/CSRender/CSRender/MainWindow.xaml.cs +++ b/Code/CSRender/CSRender/MainWindow.xaml.cs @@ -111,6 +111,7 @@ namespace CSRender "\nもう一度設定してください。", "The specified file or folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information); ResultConsole.Text += " 指定された対象ファイルあるいはフォルダを発見できませんでした\r\n"; ResultConsole.Text += "\r\n"; + ResultConsole.ScrollToEnd(); Properties.Settings.Default.targetSetting = ""; Properties.Settings.Default.Save(); return; @@ -123,6 +124,7 @@ namespace CSRender "\nもう一度設定してください。", "The specified reference file or folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information); ResultConsole.Text += " 指定されたリファレンスファイルあるいはフォルダを発見できませんでした\r\n"; ResultConsole.Text += "\r\n"; + ResultConsole.ScrollToEnd(); Properties.Settings.Default.referenceSetting = ""; Properties.Settings.Default.Save(); return; @@ -135,6 +137,7 @@ namespace CSRender "\nもう一度設定してください。", "The work space folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information); ResultConsole.Text += " 指定された作業フォルダを発見できませんでした\r\n"; ResultConsole.Text += "\r\n"; + ResultConsole.ScrollToEnd(); workBox.Text = ""; Properties.Settings.Default.workSpaceSetting = workBox.Text; Properties.Settings.Default.Save(); @@ -179,6 +182,7 @@ namespace CSRender //TIFF画像の生成 ResultConsole.Text += "\r\n"; ResultConsole.Text += " 対象ファイルをTIFF画像に変換中\r\n"; + ResultConsole.ScrollToEnd(); DoEvents(); //対象フォルダ @@ -208,6 +212,7 @@ namespace CSRender } ResultConsole.Text += " リファレンスファイルをTIFF画像に変換中\r\n"; + ResultConsole.ScrollToEnd(); DoEvents(); //リファレンスフォルダ @@ -237,6 +242,7 @@ namespace CSRender } ResultConsole.Text += "\r\n\r\n"; + ResultConsole.ScrollToEnd(); DoEvents(); string workDir = ""; -- 2.22.0