示例#1
0
        private void btnPlantNameSearch_Click(object sender, EventArgs e)         // this search im still not sure if i like, something about it feels off but im not sure what
        {
            lbPlants.Items.Clear();

            foreach (Plant plant in InformationLibrary.PlantSearchByName(tbPlantSearchKeyword.Text))
            {
                lbPlants.Items.Add(plant.Name);
            }
        }