ningshuxia
2025-04-03 4917fb959e2befec07a693e72d7010c09494ec7c
02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncElement.cs
@@ -13,49 +13,49 @@
        public FuncElement(string name)
        {
            this.Id = Guid.NewGuid().ToString();
            this.Name = name;
            this.IsGroup = true;
            Id = Guid.NewGuid().ToString();
            Name = name;
            IsGroup = true;
        }
        public FuncElement(string name, List<FuncElement> elements = null)
        {
            this.Id = Guid.NewGuid().ToString();
            this.Name = name;
            this.IsGroup = true;
            this.FuncElements = elements;
            Id = Guid.NewGuid().ToString();
            Name = name;
            IsGroup = true;
            FuncElements = elements;
        }
        public FuncElement(string name, List<FuncElement> elements = null, Image img = null)
        {
            this.Id = Guid.NewGuid().ToString();
            this.Name = name;
            this.IsGroup = true;
            this.Image = img;
            this.FuncElements = elements;
            Id = Guid.NewGuid().ToString();
            Name = name;
            IsGroup = true;
            Image = img;
            FuncElements = elements;
        }
        public FuncElement(string name, string dllFileName, string controlFullName, WinFrmUI.eModular modular, Image img = null)
        {
            this.Id = Guid.NewGuid().ToString();
            this.Name = name;
            this.DllFileName = dllFileName;
            this.ControlFullName = controlFullName;
            this.SurfaceGuid = new WinFrmUI.SurfaceGuid(modular, name);
            this.Image = img;
            this.IsGroup = false;
            Id = Guid.NewGuid().ToString();
            Name = name;
            DllFileName = dllFileName;
            ControlFullName = controlFullName;
            SurfaceGuid = new WinFrmUI.SurfaceGuid(modular, name);
            Image = img;
            IsGroup = false;
        }
        public FuncElement(string name, string dllFileName, string controlFullName, WinFrmUI.SurfaceGuid sguid, Image img = null)
        {
            this.Id = Guid.NewGuid().ToString();
            this.Name = name;
            this.DllFileName = dllFileName;
            this.ControlFullName = controlFullName;
            this.SurfaceGuid = sguid;
            this.Image = img;
            this.IsGroup = false;
            Id = Guid.NewGuid().ToString();
            Name = name;
            DllFileName = dllFileName;
            ControlFullName = controlFullName;
            SurfaceGuid = sguid;
            Image = img;
            IsGroup = false;
        }
        /// <summary>