Getting different results using Debug.Writeline vs. RichTextBox.AppendText
===

I was wondering if anyone could explain why when I use the following code I get different results.  For further explaination, I'm using a dll that was created in C, it's an rcon framework.  The richtextbox displays 3 lines then will not display anymore whereas my debug console continues to get data from my rcon connection.

I'm using:

    Private Shared Sub HandleMessage(args As BattlEyeMessageEventArgs)
        Debug.WriteLine(args.Message)
        Form1.RichTextBox3.AppendText(args.Message & vbNewLine)
        Form1.RichTextBox3.SelectionStart = Form1.RichTextBox3.TextLength
        If args.Message = "Connected!" Then
            Form1.Button3.Enabled = True
        End If
    End Sub

If it helps, here's the C code for the EventHandler:


    using System;

    namespace BattleNET
    {
        public delegate void BattlEyeMessageEventHandler(BattlEyeMessageEventArgs args);

        public class BattlEyeMessageEventArgs : EventArgs
    {
        public BattlEyeMessageEventArgs(string message)
        {
            Message = message;
        }

        public string Message { get; private set; }
        }
    }