public void AddText(string Text) { if (this.InvokeRequired) { AddText_d ATD = new AddText_d(AddText); this.Invoke(ATD, new object[] { Text }); } else { this.Text = this.Text + Text; } }
public void AddText(string Text) { if (this.InvokeRequired) { AddText_d ATD = new AddText_d(AddText); this.Invoke(ATD, new object[] { Text }); } else { this.AppendText(Text); this.SelectionStart = this.Text.Length; this.ScrollToCaret(); } }
public void AddText(string Text) { if (this.IsDisposed) return; if (this.InvokeRequired) { AddText_d ATD = new AddText_d(AddText); this.OutputTB.Invoke(ATD, new object[] { Text }); } else { this.OutputTB.Text = this.OutputTB.Text + Text; this.OutputTB.SelectionStart = this.OutputTB.Text.Length; this.OutputTB.ScrollToCaret(); } }
public void AddText(string Text) { if (this.IsDisposed) { return; } if (this.InvokeRequired) { AddText_d ATD = new AddText_d(AddText); this.OutputTB.Invoke(ATD, new object[] { Text }); } else { this.OutputTB.Text = this.OutputTB.Text + Text; this.OutputTB.SelectionStart = this.OutputTB.Text.Length; this.OutputTB.ScrollToCaret(); } }