Answered step by step
Verified Expert Solution
Question
1 Approved Answer
form for this aspipument. The form and ats coatrofs thoud be the VB standards and appropriate data fveits. Comments are ahwavs encicicand Q . Form
form for this aspipument. The form and ats coatrofs thoud be the VB standards and appropriate data fveits.
Comments are ahwavs encicicand
Q Form : Working with singie fiefd array and LINO chitk events four queries
Before you begin working en your codet you need to chate at iest of string items of your choosing farthoughi you neted to heep it GRated: In the lecture simple code, I usind flower hames but you should create your own data list for this assignment. Each line should contain one word or phrase value were not working with csv records for this. asetginent!
Programming Note: The output listbox should be cleared prior to having newinformation displayed to it Le Within each button click event, before you begin adding informaticin to the listhox, clear out any lines that may be there from previous everits.
This program will work with a class level array named items that needs to be created before the events can work with it
Load Event:
Ac Load time, use the ReadAllLines command to read the records that make up the items. bxt file into the items actry. Aka Populate the items array from the text fle Once the tems array has beno populate, each item in the arrov should be displayed in the eutpat listhor. This is to be dene al foad time tod
First Button Click Event: value that the user nrovides. Hawe the user enter an furin to search for via an liguatBoc. User a UNQ to cetemine if that CLEAR the listbox. If the item is found, a meaningtif messinge should be displaved in the listbox fo let the uner
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started