private void loadContent()
        {
            BLL.Services.RazuzlovanieService bll_razuzlovanie = BLL.ServicesCreater.CreateRazuzlovanieService();
            List<Entities.PolnayaPrimenyaemostEntity> sostavIzdelias = bll_razuzlovanie.getPolnayaPrimenyaemost();
            bll_pr = BLL.ServicesCreater.CreateProductionService();

            foreach (var sostavIzdelia in sostavIzdelias)
            {
                AddNewRow(sostavIzdelia, table_sostavIzdelia);
            }
        }
        private void loadContent()
        {
            if (Request["Ver"] == null)
                throw new Exception("Не указано изделие");

            BLL.Services.RazuzlovanieService bll_razuzlovanie = BLL.ServicesCreater.CreateRazuzlovanieService();
            List<Entities.SostavIzdeliaEntity> sostavIzdelias = bll_razuzlovanie.getSostavIzdelia();
            BLL.Services.ProductionService pro = BLL.ServicesCreater.CreateProductionService();
            Entities.ProductionEntity pr = pro.getProduction(long.Parse(Request["Ver"]));

            tv_izdelie.Nodes.Clear();
            TreeNode mainNode = new TreeNode(pr.NameProduction +"("+pr.DesignationProduction+")", pr.ProductionCode.ToString());

            tv_izdelie.Nodes.Add(mainNode);

            bll_unit_s = BLL.ServicesCreater.CreateProductionService();

            foreach (var sostavIzdelia in sostavIzdelias)
            {
                buildTree(tv_izdelie.Nodes, sostavIzdelia);
            }
        }