private async void CustomerName_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter && CustomerName.TextLength > 0) { customerEntryBindingSource.DataSource = await CRMManager.GetCustomerEntriesAsync(CustomerName.Text); } }
private async void CustomerName_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter && CustomerName.TextLength > 0) { customerEntryBindingSource.DataSource = await CRMManager.GetCustomerEntriesAsync(CustomerName.Text); } }