private void AcademicTextBox_Leave(object sender, EventArgs e) { if (AcademicTextBox.Text.Trim() == "") { AcademicCueText.Show(); } else { AcademicCueText.Hide(); } }
private void AcademicTextBox_Enter(object sender, EventArgs e) { if (AcademicTextBox.Text.Trim() == "") { AcademicCueText.Hide(); } else if (AcademicTextBox.Text.Trim() != "" && AcademicCueText.Visible == false) { AcademicCueText.Hide(); } }