/// <summary>
        /// 生成节点内容
        /// </summary>
        /// <param name="listControlObj"></param>
        /// <param name="listControl"></param>
        /// <param name="treeviewItemObj"></param>
        /// <returns></returns>
        private UIElement ProduceTreeviewItem(List <ControlDetailForPage> listControlObj, List <IControl> listControl, ControlDetailForPage treeviewItemObj)
        {
            List <int>             listChild      = JsonController.DeSerializeToClass <List <int> >(treeviewItemObj.d17);
            ControlDetailForPage   gridObj        = listControlObj.Where(p => listChild.Contains(p.ctrl_id)).ToList()[0];
            ControlDecoder         controlDecoder = new ControlDecoder();
            xinlongyuParentControl parentControl  = new xinlongyuParentControl();

            controlDecoder.ProduceFatherControl(gridObj, listControlObj, listControl, parentControl);
            parentControl.Width  = 200;
            parentControl.Height = 50;
            return(parentControl);
        }
Ejemplo n.º 2
0
 public PageDecoder()
 {
     _controlDecode = new ControlDecoder();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public PageFactory()
 {
     _pageConnection = new PageConnection();
     _pageDecoder    = new PageDecoder();
     _controlDecode  = new ControlDecoder();
 }