AOI_V1/MaiMuAOI/AssistClient/Utils/EnumData.cs

36 lines
815 B
C#
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AssistClient.Utils
{
public class EnumData
{
public class EnumClass
{
public int EnumValue { get; set; }
public string EnumName { get; set; }
}
//public List<T> BindData(ComboBox cmb, T value)
//{
// List list = new List();
// foreach (int itemVal in Enum.GetValues(typeof(EnumClass)))
// {
// EnumClass wd = new EnumClass();
// wd.EnumValue = itemVal;
// wd.EnumName = Enum..GetName(typeof(EnumClass), itemVal);
// list.Add(wd);
// }
//}
}
}