geboshi_V1/LeatherProject/LeatherApp/Utils/EnumData.cs
2024-03-07 14:03:22 +08:00

36 lines
848 B
C#
Raw 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 LeatherApp.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);
// }
//}
}
}