Exemple #1
0
 private void BookNameTextBox_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Down)
     {
         BookListBox.Focus();
         BookListBox.SelectedIndex = 0;
     }
 }
 private void BookNameTextBox_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyCode == Keys.Down)
         {
             BookListBox.Focus();
             BookListBox.SelectedIndex = 0;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }