ListBox Manager in C#
Learn C# (C sharp) in FREE step-by-step lessons.
ListBox Manager in C#
Create a ListBox manager; Add, delete, save to file; Ask user if they want to save
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 order to do this you will:
- 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.
- List Box Editor: Step 1, build the menu
/csharp/videos/csharp-menu2.mp4
- 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