private void dataGridViewProducts_DoubleClick(object sender, EventArgs e)
        {
            ProductServiceClient product = new ProductServiceClient();
            Product productToChange      = products[dataGridViewProducts.CurrentRow.Index];

            using (AddEdit edit = new AddEdit(productToChange, true))
            {
                edit.ShowDialog();
                products[dataGridViewProducts.CurrentRow.Index] = edit.Product;
                product.UpdateProduct(products[dataGridViewProducts.CurrentRow.Index]);
                dataGridViewProducts.Refresh();
                UpdateLables();
            }
        }
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            ProductServiceClient product = new ProductServiceClient();
            Product productToChange      = new Product();

            using (AddEdit edit = new AddEdit(productToChange, false))
            {
                edit.ShowDialog();
                product.AddProduct(edit.Product);
                products = product.GetAllProducts().ToList();
                dataGridViewProducts.DataSource = products;
                dataGridViewProducts.Refresh();
                UpdateLables();
            }
        }