예제 #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;
     }
 }