using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Yw.WinFrmUI { /// /// /// public class HttpStatusImageHelper { /// /// /// public static ImageCollection ImgC { get { if (_imgc == null) { _imgc = new ImageCollection(); _imgc.ImageSize = new Size(32, 32); _imgc.Images.Add(Yw.WinFrmUI.Core.Properties.Resources.succeed_32); _imgc.Images.Add(Yw.WinFrmUI.Core.Properties.Resources.confirm_32); _imgc.Images.Add(Yw.WinFrmUI.Core.Properties.Resources.prompt_32); _imgc.Images.Add(Yw.WinFrmUI.Core.Properties.Resources.warning_32); _imgc.Images.Add(Yw.WinFrmUI.Core.Properties.Resources.error_32); _imgc.Images.Add(Yw.WinFrmUI.Core.Properties.Resources.timeout_32); } return _imgc; } } private static DevExpress.Utils.ImageCollection _imgc = null; } }