This commit is contained in:
chi
2023-06-11 23:03:37 +09:00
parent d9e4974886
commit 800492b1a1
4 changed files with 26 additions and 25 deletions

View File

@@ -755,7 +755,14 @@ namespace FPJ0000.JobReport_
var oldtext = this.richTextBoxEx1.Text;
this.richTextBoxEx1.Rtf = dr.body;
if (String.IsNullOrEmpty(this.richTextBoxEx1.Text) == false)
this.richTextBoxEx1.Text += "\r\n\r\n" + oldtext;
{
this.richTextBoxEx1.rtb.AppendText("\n\n");
this.richTextBoxEx1.rtb.SelectionLength = 1;
this.richTextBoxEx1.rtb.SelectionStart = this.richTextBoxEx1.rtb.TextLength;
this.richTextBoxEx1.rtb.ForeColor = Color.Black;
this.richTextBoxEx1.rtb.AppendText(oldtext);
}
//this.richTextBoxEx1.Text += oldtext;
//this.richTextBoxEx1.Text += oldtext;