Exemplo n.º 1
0
 private async void CustomerPhone_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter && CustomerPhone.TextLength > 0)
     {
         customerEntryBindingSource.DataSource = await CRMManager.GetCustomerEntriesByPhoneAsync(CustomerPhone.Text);
     }
 }