I'm wondering how could I save the info I have in my listbox and create one text file with that info and retrieve that information back to the listbox when form1 opens in the next session?
I have tried this but it didnt work.
private void Form1_Closing(object sender, EventArgs e)
{
Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
}
void Application_ApplicationExit(object sender, EventArgs e)
{
Properties.Settings.Default.Save();
}