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