....
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user