private void ClearTextBoxes() { CocktailsListBox.ClearSelected(); CocktailNameLabel.Text = ""; IngredientsTextBox.Text = ""; RecipeTextBox.Text = ""; CocktailImageBox.Image = CocktailImageBox.InitialImage; }
private void RefreshListContent() { DataAccess.GetCocktails(); CocktailsListBox.DataSource = DataAccess.Cocktails; CocktailsListBox.ClearSelected(); NameTextBox.Text = ""; IngredientTagsComboBox.Text = ""; TagList.Clear(); FullIngredientInfoTextBox.Text = ""; RecipeTextBox.Text = ""; ClearImage(); }