private static void HandleLostFocus(object sender, EventArgs e) { var TextBox = (sender as TextBox); TextBox.BackColor = Color.White; }