This commit is contained in:
chi
2022-02-01 00:28:56 +09:00
parent 66f1ff0cbb
commit 4a43b30973
88 changed files with 1503 additions and 22144 deletions

View File

@@ -223,7 +223,7 @@ namespace FPJ0000.JobReport_
{
this.richTextBoxEx1.Rtf = dr.description2;
}
catch (Exception ex)
catch
{
this.richTextBoxEx1.Text = dr.description;
}
@@ -555,7 +555,7 @@ namespace FPJ0000.JobReport_
void chkform_indexchan(object sender, EventArgs e)
{
if (cmbType.Text.Trim() != "" &&
cmbType.SelectedIndex >= 0 && cmbState.Text.Trim().isEmpty() == false)
cmbType.SelectedIndex >= 0 && String.IsNullOrEmpty(cmbState.Text.Trim()) == false)
{
@@ -581,7 +581,7 @@ namespace FPJ0000.JobReport_
if (dr != null)
{
if (this.richTextBoxEx1.Text.isEmpty())
if (String.IsNullOrEmpty(this.richTextBoxEx1.Text))
{
this.richTextBoxEx1.Rtf = dr.body;
}
@@ -603,7 +603,7 @@ namespace FPJ0000.JobReport_
{
var oldtext = this.richTextBoxEx1.Text;
this.richTextBoxEx1.Rtf = dr.body;
if (this.richTextBoxEx1.Text.isEmpty() == false)
if (String.IsNullOrEmpty(this.richTextBoxEx1.Text) == false)
this.richTextBoxEx1.Text += "\r\n\r\n" + oldtext;
//this.richTextBoxEx1.Text += oldtext;