public static void EditProduct(ShopProduct product)
        {
            var form = new EditShopProductForm();

            form.Init(product);
            form.ShowDialog();
        }
        private void Init(ShopProduct product)
        {
            Cursor = Cursors.WaitCursor;

            Product = product;
            LoadProduct();

            Cursor = Cursors.Default;
        }
Exemple #3
0
 public ShopProdNode(ShopProduct @base, ShopCatNode shopCatNode)
 {
     Base = @base;
     Parent = shopCatNode;
 }