Commit 45b391e7 authored by tsuji's avatar tsuji

レポート名を修正後、パス文末にフォーカスされるように修正

parent 57f7a0c3
...@@ -253,6 +253,8 @@ namespace CSRender ...@@ -253,6 +253,8 @@ namespace CSRender
pdfReportName += ".pdf"; pdfReportName += ".pdf";
} }
reportBox.Text = pdfReportPath + pdfReportName; reportBox.Text = pdfReportPath + pdfReportName;
reportBox.Focus();
reportBox.Select(this.reportBox.Text.Length, 0);
reportFlag = true; reportFlag = true;
} }
return reportFlag; return reportFlag;
......
...@@ -111,6 +111,7 @@ namespace CSRender ...@@ -111,6 +111,7 @@ namespace CSRender
"\nもう一度設定してください。", "The specified file or folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information); "\nもう一度設定してください。", "The specified file or folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information);
ResultConsole.Text += " 指定された対象ファイルあるいはフォルダを発見できませんでした\r\n"; ResultConsole.Text += " 指定された対象ファイルあるいはフォルダを発見できませんでした\r\n";
ResultConsole.Text += "<TIFF変換中止>\r\n"; ResultConsole.Text += "<TIFF変換中止>\r\n";
ResultConsole.ScrollToEnd();
Properties.Settings.Default.targetSetting = ""; Properties.Settings.Default.targetSetting = "";
Properties.Settings.Default.Save(); Properties.Settings.Default.Save();
return; return;
...@@ -123,6 +124,7 @@ namespace CSRender ...@@ -123,6 +124,7 @@ namespace CSRender
"\nもう一度設定してください。", "The specified reference file or folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information); "\nもう一度設定してください。", "The specified reference file or folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information);
ResultConsole.Text += " 指定されたリファレンスファイルあるいはフォルダを発見できませんでした\r\n"; ResultConsole.Text += " 指定されたリファレンスファイルあるいはフォルダを発見できませんでした\r\n";
ResultConsole.Text += "<TIFF変換中止>\r\n"; ResultConsole.Text += "<TIFF変換中止>\r\n";
ResultConsole.ScrollToEnd();
Properties.Settings.Default.referenceSetting = ""; Properties.Settings.Default.referenceSetting = "";
Properties.Settings.Default.Save(); Properties.Settings.Default.Save();
return; return;
...@@ -135,6 +137,7 @@ namespace CSRender ...@@ -135,6 +137,7 @@ namespace CSRender
"\nもう一度設定してください。", "The work space folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information); "\nもう一度設定してください。", "The work space folder does not exist", MessageBoxButton.OK, MessageBoxImage.Information);
ResultConsole.Text += " 指定された作業フォルダを発見できませんでした\r\n"; ResultConsole.Text += " 指定された作業フォルダを発見できませんでした\r\n";
ResultConsole.Text += "<TIFF変換中止>\r\n"; ResultConsole.Text += "<TIFF変換中止>\r\n";
ResultConsole.ScrollToEnd();
workBox.Text = ""; workBox.Text = "";
Properties.Settings.Default.workSpaceSetting = workBox.Text; Properties.Settings.Default.workSpaceSetting = workBox.Text;
Properties.Settings.Default.Save(); Properties.Settings.Default.Save();
...@@ -179,6 +182,7 @@ namespace CSRender ...@@ -179,6 +182,7 @@ namespace CSRender
//TIFF画像の生成 //TIFF画像の生成
ResultConsole.Text += "<TIFF変換開始>\r\n"; ResultConsole.Text += "<TIFF変換開始>\r\n";
ResultConsole.Text += " 対象ファイルをTIFF画像に変換中\r\n"; ResultConsole.Text += " 対象ファイルをTIFF画像に変換中\r\n";
ResultConsole.ScrollToEnd();
DoEvents(); DoEvents();
//対象フォルダ //対象フォルダ
...@@ -208,6 +212,7 @@ namespace CSRender ...@@ -208,6 +212,7 @@ namespace CSRender
} }
ResultConsole.Text += " リファレンスファイルをTIFF画像に変換中\r\n"; ResultConsole.Text += " リファレンスファイルをTIFF画像に変換中\r\n";
ResultConsole.ScrollToEnd();
DoEvents(); DoEvents();
//リファレンスフォルダ //リファレンスフォルダ
...@@ -237,6 +242,7 @@ namespace CSRender ...@@ -237,6 +242,7 @@ namespace CSRender
} }
ResultConsole.Text += "<TIFF変換完了>\r\n\r\n"; ResultConsole.Text += "<TIFF変換完了>\r\n\r\n";
ResultConsole.ScrollToEnd();
DoEvents(); DoEvents();
string workDir = ""; string workDir = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment