private void CdrButton_Click(object sender, RoutedEventArgs e) { Client client = cdrCB.SelectedItem as Client; DDB ddb = new DDB(User.DataBase, User.Username, User.Password); RecipeCreator recipeCreator = ddb.SelectRecipeCreator(new string[] { "numero" }, new string[] { $"'{client.PhoneNumber}'" })[0]; ddb.DeleteRecipeCreator(recipeCreator); ddb.Close(); LoadComboBox(); FillGridTop5(); FillGridTopCDR(); FillCDROfTheWeek(); }