Example #1
0
 //"Save" click event
 private void btnSave_Click(object sender, EventArgs e)
 {
     CarDM.Save(listCar);
 }
Example #2
0
 //Load event
 private void MainForm_Load(object sender, EventArgs e)
 {
     listCar = CarDM.Load();
 }