Ejemplo n.º 1
0
        private Wj1090TreeSetLoad()
        {
            if (myself == null)
            {
                myself = this;
            }

            var info = Wlst.Cr.CoreOne.Services.SystemXmlConfig.Read(XmlConfigName);

            if (info.ContainsKey("IsShowGrpInTreeModelShowId"))
            {
                IsShowGrpInTreeModelShowId = info["IsShowGrpInTreeModelShowId"].Contains("yes");
            }
            else
            {
                IsShowGrpInTreeModelShowId = true;
            }

            //if (info.ContainsKey("IsOnSelectNodeNavToParsSetView"))
            //{
            //    IsOnSelectNodeNavToParsSetView = info["IsOnSelectNodeNavToParsSetView"].Contains("yes");
            //}
            //else IsOnSelectNodeNavToParsSetView = true;

            if (info.ContainsKey("IsShowTreeOnTab"))
            {
                IsShowTreeOnTab = info["IsShowTreeOnTab"].Contains("yes");
            }
            else
            {
                IsShowTreeOnTab = true;
            }
        }
Ejemplo n.º 2
0
        private Wj1090TreeSetLoad()
        {
            if (myself == null)
            {
                myself = this;
            }

            var info = Wlst.Cr.CoreOne.Services.SystemXmlConfig.Read(XmlConfigName);

            if (info.ContainsKey("IsShowGrpInTreeModelShowId"))
            {
                IsShowGrpInTreeModelShowId = info["IsShowGrpInTreeModelShowId"].Contains("yes");
            }
            else
            {
                IsShowGrpInTreeModelShowId = true;
            }

            //if (info.ContainsKey("IsOnSelectNodeNavToParsSetView"))
            //{
            //    IsOnSelectNodeNavToParsSetView = info["IsOnSelectNodeNavToParsSetView"].Contains("yes");
            //}
            //else IsOnSelectNodeNavToParsSetView = true;

            if (info.ContainsKey("IsShowTreeOnTab"))
            {
                IsShowTreeOnTab = info["IsShowTreeOnTab"].Contains("yes");
            }
            else
            {
                IsShowTreeOnTab = true;
            }

            if (info.ContainsKey("IsShowArea"))
            {
                IsShowArea = info["IsShowArea"].Contains("yes");
            }
            else
            {
                IsShowArea = true;
            }

            if (info.ContainsKey("IsShowGrp"))
            {
                IsShowGrp = info["IsShowGrp"].Contains("yes");
            }
            else
            {
                IsShowArea = true;
            }

            if (info.ContainsKey("IsShowFid"))
            {
                IsShowFid = info["IsShowFid"].Contains("yes");
            }
            else
            {
                IsShowFid = true;
            }



            if (info.ContainsKey("IsShowCJSJ"))
            {
                IsShowCJSJ = info["IsShowCJSJ"].Contains("yes");
            }
            else
            {
                IsShowCJSJ = false;
            }

            if (info.ContainsKey("IsShowZT"))
            {
                IsShowZT = info["IsShowZT"].Contains("yes");
            }
            else
            {
                IsShowZT = false;
            }

            if (info.ContainsKey("IsShowYGGL"))
            {
                IsShowYGGL = info["IsShowYGGL"].Contains("yes");
            }
            else
            {
                IsShowYGGL = false;
            }

            if (info.ContainsKey("IsShowWGGL"))
            {
                IsShowWGGL = info["IsShowWGGL"].Contains("yes");
            }
            else
            {
                IsShowWGGL = false;
            }

            if (info.ContainsKey("IsShowGLYS"))
            {
                IsShowGLYS = info["IsShowGLYS"].Contains("yes");
            }
            else
            {
                IsShowGLYS = false;
            }

            if (info.ContainsKey("IsShowLDL"))
            {
                IsShowLDL = info["IsShowLDL"].Contains("yes");
            }
            else
            {
                IsShowLDL = false;
            }

            if (info.ContainsKey("IsShowXHQD"))
            {
                IsShowXHQD = info["IsShowXHQD"].Contains("yes");
            }
            else
            {
                IsShowXHQD = false;
            }

            if (info.ContainsKey("IsShowHLZK"))
            {
                IsShowHLZK = info["IsShowHLZK"].Contains("yes");
            }
            else
            {
                IsShowHLZK = false;
            }

            if (info.ContainsKey("IsShowYYXH"))
            {
                IsShowYYXH = info["IsShowYYXH"].Contains("yes");
            }
            else
            {
                IsShowYYXH = false;
            }

            if (info.ContainsKey("IsShowXHZS"))
            {
                IsShowXHZS = info["IsShowXHZS"].Contains("yes");
            }
            else
            {
                IsShowXHZS = false;
            }

            if (info.ContainsKey("IsShowBJSZ"))
            {
                IsShowBJSZ = info["IsShowBJSZ"].Contains("yes");
            }
            else
            {
                IsShowBJSZ = false;
            }
        }