コード例 #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
ファイル: Form1.cs プロジェクト: amwtke/GetBookInfoFromJD
 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;
     }
 }