Example #1
0
 private void bttnSave_Click(object sender, RoutedEventArgs e)
 {
     dtShipDate.Text = DateTime.Now.ToString();
     DatabaseProcedure.InsertingIntoDB(InsertQuery());
     MyCollection           = null;
     txtCompany.Text        = "";
     cbShippingCompany.Text = "";
     chckbRepair.IsChecked  = false;
     txtCost.Text           = "0";
     AddingComponentsToGrid();
     FillingMainDataGrid(true);
 }