private async void Update_Click(object sender, EventArgs e) { dataGridView1.DataSource = await ClientCommand.GetClientCommandsAsync(); }
private async void updateList() { dataGridView1.DataSource = await ClientCommand.GetClientCommandsAsync(); }