All pastes #200094 Raw Edit

Mine

public text v1 · immutable
#200094 ·published 2006-10-12 23:00 UTC
rendered paste body
        delegate void SetTextAppendCallback(string Text);




        private void AppendString(string text)
        {
            if(this.results.InvokeRequired)
            {
                SetTextAppendCallback d = new SetTextAppendCallback(AppendString);
                Invoke(d, new object[] { text });
               }
            else
            {
                results.AppendText(text);
            }
        }



AppendString("<" + name + "> " + msg + "\r\n");