public void SetText(string txt) { if (this.jasonOutput.InvokeRequired) { SetRichTextBox s = new SetRichTextBox(SetRt); this.Invoke(s, new object[] { txt }); } else { jasonOutput.Text = txt; } }
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; } }