Exemplo n.º 1
0
        public ProjectionControlVmD()
        {
            Title  = "Design Title";
            TitleX = "Design X";
            TitleY = "Design Y";

            ItemsX.ForEach(v => XSelectorVm.AddItem(v, v.ToString()));
            ItemsY.ForEach(v => YSelectorVm.AddItem(v, v.ToString()));
        }
Exemplo n.º 2
0
        public ProjectionControlVm(IEnumerable <int> keys) : this()
        {
            var keyLst = keys.ToList();

            keyLst.ForEach(k =>
            {
                XSelectorVm.AddItem(k, k.ToString());
                YSelectorVm.AddItem(k, k.ToString());
            });
        }