Пример #1
0
        private void addProductButton_Click(object sender, EventArgs e)
        {
            Product product = CreateProduct();

            JsonSave.serializeProduct(product);
            this.Close();
        }
Пример #2
0
 private void UpdateProducts()
 {
     products     = JsonSave.deserializeProducts <List <Product> >();
     workProducts = new List <Product>(products);
 }