1
Well, I have a Windows Form program with 35 textboxes,and I want to perform the following action on all of them,:
    private void txtGSabado5_TextChanged(object sender, EventArgs e)
    {
        if (String.IsNullOrEmpty(txtGSabado5.Text))
        {
            txtGSabado5.BackColor = Color.Red;
        }
        else
        {
            txtGSabado5.BackColor = Color.White;
        }
That is, if the textbox is empty it changes the background color to red.