Ejemplo n.º 1
0
        public UI_HWC_Tools()
        {
            InitializeComponent();

            Data = FindResource("datahandler") as UI_HWC_ToolsDataHandler;

            List<string> l = new List<string>();
            var values = Enum.GetValues(typeof(ToolType)).Cast<ToolType>();
            foreach (var v in values)
            {
                l.Add(v.ToString());
            }

            Data.ToolType = l;
        }
Ejemplo n.º 2
0
        public UI_HWC_Tools()
        {
            InitializeComponent();

            Data = FindResource("datahandler") as UI_HWC_ToolsDataHandler;

            List <string> l      = new List <string>();
            var           values = Enum.GetValues(typeof(ToolType)).Cast <ToolType>();

            foreach (var v in values)
            {
                l.Add(v.ToString());
            }

            Data.ToolType = l;
        }