A CSV (Comma Separated Values) file might be a good idea.
You could combine each customers details then save each one as a new line in a CSV file.
For Example.
string custDetails = title + ',' + fullName + ',' (and so on.....)
or (if you are comfortable using loops)
for (int i = 0; i < 5; i++) // 5 text boxes
{
custDetails += textBox[i].Text + ','; // Add each value + a comma (to separate the values later)
}
Then write the line to a file and save it to the desktop.
Then when the form is loaded, read the file LINE BY LINE into a List, split the string on commas (Look up c# string split)
And finally when the selected index of the list box is changed, update the values for each text box.
Hopefully that was clear enough for you and helps you out :)
EDIT: Added an example of reading a file line by line
static void Main(string[] args)
{
List<String> list = new List<String>();
using (StreamReader sr = new StreamReader(@"C:\Users\Tim\Desktop\example.csv"))
{
string line;
while ((line = sr.ReadLine()) != null)
{
list.Add(line);
Console.WriteLine(line);
}
}
}
This goes through the file at "C:\Users\Tim\Desktop\example.csv" and puts every line of that file into a list.
This is useful because later, you can find the data in the list for the customer you want to see in your address book. You then just need to grab that string, split it at every comma, and put that data into the text boxes in your form. :)
Hopefully that clarifies things for you. (Drop me a message in the comments if this isn't clear enough or if you don't understand something :))