private void txtPhoneNumberBookings_TextChanged(object sender, EventArgs e) { try { btnShowBookings.Visible = true; txtPhoneNumberBookings.BackColor = HelperClass.ChangeBackColorPhone(txtPhoneNumberBookings.Text); } catch (Exception) { btnShowBookings.Visible = false; txtPhoneNumberBookings.BackColor = Color.LightCoral; } }