Это значение по умолчанию, которое вы ставите и играете с событием GotFocus
.
public Form1()
{
InitializeComponent();
richTextBox1.Text = "enter text here";
richTextBox1.ForeColor = Color.Gray;
richTextBox1.GotFocus += new EventHandler(richTextBox1_GotFocus);
richTextBox1.LostFocus += new EventHandler(richTextBox1_LostFocus);
}
void richTextBox1_LostFocus(object sender, EventArgs e)
{
if (richTextBox1.Text.Equals(string.Empty))
{
richTextBox1.Text = "enter text here";
richTextBox1.ForeColor = Color.Gray;
}
}
void richTextBox1_GotFocus(object sender, EventArgs e)
{
if (richTextBox1.Text.Equals("enter text here"))
{
richTextBox1.Text = string.Empty;
richTextBox1.ForeColor = Color.Black;
}
}