示例#1
0
文件: Form1.cs 项目: amwtke/es-test
 public void SetText(string txt)
 {
     if (this.jasonOutput.InvokeRequired)
     {
         SetRichTextBox s = new SetRichTextBox(SetRt);
         this.Invoke(s, new object[] { txt });
     }
     else
     {
         jasonOutput.Text = txt;
     }
 }
示例#2
0
 public void SetText(string txt)
 {
     if (this.jasonOutput.InvokeRequired)
     {
         SetRichTextBox s = new SetRichTextBox(SetRt);
         this.Invoke(s, new object[] { txt });
     }
     else
     {
         jasonOutput.Text = txt;
     }
 }
示例#3
0
 public void SetText(string txt)
 {
     if (this.rtx_info.InvokeRequired)
     {
         SetRichTextBox s = new SetRichTextBox(SetRt);
         this.Invoke(s, new object[] { txt });
     }
     else
     {
         rtx_info.Text = txt;
     }
 }