private void ProcessTextBoxQueue() { string text = TextboxQueue.DequeueConcat(); if (!String.IsNullOrEmpty(text)) { Textbox.AppendText(text); Textbox.ScrollToEnd(); } }
protected void AppendText(object text) { TextboxQueue.Enqueue(text.ToString()); }