lixiaojun
2025-04-09 9aa8106d88fc3070498493e2819922f7ac31746e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
using DevExpress.Utils.Svg;
 
namespace Yw.WinFrmUI
{
    /// <summary>
    /// SvgImageHelper
    /// </summary>
    public class HydroMainSvgImageHelper
    {
        /// <summary>
        /// 水力
        /// </summary>
        public static SvgImage Hydro
        {
            get
            {
                if (_hydro == null)
                {
                    _hydro = SvgImage.FromStream(new MemoryStream(Yw.WinFrmUI.Hydro.Core.Properties.Resources.hydro));
                }
                return _hydro;
            }
        }
        private static SvgImage _hydro = null;
 
        /// <summary>
        /// 场景
        /// </summary>
        public static SvgImage Scene
        {
            get
            {
                if (_scene == null)
                {
                    _scene = SvgImage.FromStream(new MemoryStream(Yw.WinFrmUI.Hydro.Core.Properties.Resources.scene));
                }
                return _scene;
            }
        }
        private static SvgImage _scene = null;
 
        /// <summary>
        /// 连接节点
        /// </summary>
        public static SvgImage Junction
        {
            get
            {
                if (_junction == null)
                {
                    _junction = SvgImage.FromStream(new MemoryStream(Yw.WinFrmUI.Hydro.Core.Properties.Resources.junction));
                }
                return _junction;
            }
        }
        private static SvgImage _junction = null;
 
 
    }
}