Why sometimes the richTextBox is blinking?
<p>Im updating in the richTextBox two variables and since i dont want it to move to a new line each time im doing a Clear() to the richTextbox.
But every few seconds in the richextBox is like blinking when clearing it.
Before Clear() i used: richTextBox1.Text = ""; but it gave the same result.</p>

<p>Is there any way to avoid that ?</p>

<pre><code>private void timer1_Tick(object sender, EventArgs e)
        {
            richTextBox1.Clear();
            memUsage = theMemCounter.NextValue();
            label1.Text = memUsage.ToString();
            Logger.Write("Memory Usage   " + memUsage.ToString());
            AppendText(richTextBox1, "Memory Usage   " + memUsage.ToString() + Environment.NewLine, Color.Red);
            cpuUsage = this.theCPUCounter.NextValue();
            label2.Text = cpuUsage.ToString();
            Logger.Write("Cpu Usage   " + this.cpuUsage.ToString());
            AppendText(richTextBox1, "Cpu Usage   " + cpuUsage.ToString() + Environment.NewLine, Color.Blue);
            Values.Add(cpuUsage);
            isProcessRunning();
            if (alreadyRun == true)
            {
                processValues.Add(cpuUsage);
            }

        }
</code></pre>

<p>Maybe i should use something else then richTextBox ? Im using richTextBox to color the text inside.</p>

<p>This is the AppendText function:</p>

<pre><code>public  void AppendText( RichTextBox box, string text, Color color)
        {
            box.SelectionStart = box.TextLength;
            box.SelectionLength = 0;

            box.SelectionColor = color;
            box.AppendText(text);
            box.SelectionColor = box.ForeColor;
        } 
</code></pre>
