using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ProductionControl.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);

        //    }
        //}
    }
}
