Example #1
0
        private void saveToXMLButton_Click(object sender, EventArgs e)
        {
            DataBaseService.AddingContentToDataBase(GetCustomerData(), dataGridView1);

            CreatingXML.CreateCustomerXML(DataBaseService.GetCollectionOfCustomers());
            CreatingXML.CreateOrdersXML(DataBaseService.GetCollectionOfOrders());
        }
Example #2
0
 private void saveToDatabaseButton_Click(object sender, EventArgs e)
 {
     DataBaseService.AddingContentToDataBase(GetCustomerData(), dataGridView1);
 }