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; }
public ShopProdNode(ShopProduct @base, ShopCatNode shopCatNode) { Base = @base; Parent = shopCatNode; }