Zebra0.com

csharp listboxListBox Manager in C#

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:

Objectives:

Please study the material at each of the links below.

  1. Notepad: Experiment with notepad to see what it does.
  2. List Box Editor: Step 1, build the menu List Box Editor: Step 1, build the menu
  3. List Box Editor: Step 2, the input form
  4. List Box Editor: Step 3, Add, Delete, and Edit
  5. List Box Editor: Step 4, Changes and Current File Name
  6. List Box Editor: Step 5, Read File
  7. List Box Editor: Step 6, Write to File from ListBox
  8. List Box Editor: Step 7, Save and SaveAs
  9. List Box Editor: Step 8, Ask to Save
  10. List Box Editor: Step 9, Exit and Close
  11. List Box Editor: Step 10, Order the List
GlossaryGlossary for listbox lesson
Full Glossary