Learn C# (C sharp) in FREE step-by-step lessons.
Unit IV: Advanced Techniques

The list box manager can read in a file, edit it, order it, save it , and save as.
Of particular interest in this lesson is the technique used to make sure that if the user has made any changes to the list, he is reminded about saving it before exiting, before reading in a different file, or starting a new list.
In this lesson, you will create a ListBox manager program to Implement Add, delete, save to file.
You will also learn to implemnent asking user if they want to save.
- Understand how the list manager program works;
- Be able to implement Ask to Save in another application.
Please study the material at each of the links below.
- Notepad: Experiment with notepad to see what it does.
List Box Editor: Step 1, build the menu- List Box Editor: Step 2, the input form
- List Box Editor: Step 3, Add, Delete, and Edit
- List Box Editor: Step 4, Changes and Current File Name
- List Box Editor: Step 5, Read File
- List Box Editor: Step 6, Write to File from ListBox
- List Box Editor: Step 7, Save and SaveAs
- List Box Editor: Step 8, Ask to Save
- List Box Editor: Step 9, Exit and Close
- List Box Editor: Step 10, Order the List
Glossary for ListBox Manager in C#
Full Glossary