using DevExpress.Utils.Svg;
|
using System;
|
using System.Collections.Generic;
|
using System.IO;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace HStation.WinFrmUI
|
{
|
/// <summary>
|
/// SvgImageHelper
|
/// </summary>
|
public class XhsMainSvgImageHelper
|
{
|
/// <summary>
|
/// 首页
|
/// </summary>
|
public static SvgImage Home
|
{
|
get
|
{
|
if (_home == null)
|
{
|
_home = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Xhs.Core.Properties.Resources.home));
|
}
|
return _home;
|
}
|
}
|
private static SvgImage _home = null;
|
|
|
/// <summary>
|
/// 项目
|
/// </summary>
|
public static SvgImage Project
|
{
|
get
|
{
|
if (_project == null)
|
{
|
_project = SvgImage.FromStream(new MemoryStream(HStation.WinFrmUI.Xhs.Core.Properties.Resources.project));
|
}
|
return _project;
|
}
|
}
|
private static SvgImage _project = null;
|
|
|
}
|
}
|