コード例 #1
0
 private void AmountTextBox_Leave(object sender, EventArgs e)
 {
     if (AmountTextBox.Text == "")
     {
         AmountCueText.Show();
     }
 }
コード例 #2
0
 private void AmountTextBox_Enter(object sender, EventArgs e)
 {
     if (AmountTextBox.Text == "")
     {
         AmountCueText.Hide();
     }
 }
コード例 #3
0
 private void AmountCueText_Click(object sender, EventArgs e)
 {
     if (AmountTextBox.Text == "")
     {
         AmountCueText.Hide();
         AmountTextBox.Focus();
     }
 }