C# Windows Forms Programming
Learn C# (C sharp) in FREE step-by-step lessons.
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.
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
Glossary for listbox lessonFull Glossary