Beispiel #1
0
 /// <summary>
 /// Whenever we browse the addresses and the stores available at that address, insert the address and the stores in the DB
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e">The object containing the address and available stores</param>
 private void FormMain_ReportAvailableStoresEvent(object sender, Shipt_Available_Stores e)
 {
     if (e.StoreNames.Count > 0)
     {
         DB_Manager.InsertAddress(e.Delivery_Address);
         DB_Manager.InsertStores(e);
     }
 }