ListBox Manager in C#
Learn C# (C sharp) in FREE step-by-step lessons.
Module 17: ListBox Manager in C#
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.
Goals:
- Create a ListBox manager;
- Implement Add, delete, save to file;
- Implemnent Asking user if they want to save
Objectives:
- 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 lessonFull Glossary