Example #1
0
        private async void btnRechercheVente_Click(object sender, EventArgs e)
        {
            bool success = Int32.TryParse(RechercheVente.Text, out int recherche);

            if (success)
            {
                dataGridView1.DataSource = await ClientCommand.GetOneClientCommandAsync(recherche);

                RechercheVente.Text = "";
            }
        }