Question: Create an windows form application in c sharp that contains an instruction label , a name label and a name textbox, a write button and

Create an windows form application in c sharp that contains an instruction label , a name label and a name textbox, a write button and exit button. When the write button is clicked you should write the name entered in the textbox to a file named name.txt. Each time a name is entered it should add that name to the file on a new line. If there is no text in the textbox , have a messagebox that says "Name must be entered." Do not write an empty line to the text file. When done close the file.

Then Create another windows form application in c sharp, that when it loads it lists the names on separate line from the name.txt file. You will have to place a copy of the file in the bin/debug folder of your project, Display results in a listbox.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!