Example #1
0
 private void frmCustomers_Load(object sender, EventArgs e)
 {
     customers.Changed += customers =>
     {
         customers.Save();
         FillCustomerListBox();
     };
     customers.Fill();
     FillCustomerListBox();
 }
Example #2
0
 private void HandleChange(CustomerList list)
 {
     customers.Save();
     FillCustomerListBox();
 }
Example #3
0
 private void SaveAndUpdate(CustomerList list)
 {
     list.Save();
     FillCustomerListBox();
 }