public List <string> GetElementSettedData()
        {
            List <string> LListStrReturn = new List <string>();

            UCTreeViewYoung LUCTreeViewYoung    = GridObjectSelect.Children[0] as UCTreeViewYoung;
            List <object>   LListObjectSelected = LUCTreeViewYoung.GetCheckedOrUnCheckedItem("1");

            foreach (object LObjectSingle in LListObjectSelected)
            {
                LListStrReturn.Add("S00" + App.AscCodeToChr(27) + LObjectSingle.ToString());
            }

            return(LListStrReturn);
        }
Beispiel #2
0
        public List <string> GetElementSettedData()
        {
            List <string> LListStrReturn = new List <string>();

            UCTreeViewYoung LUCTreeViewYoung = GridObjectSelect.Children[0] as UCTreeViewYoung;

            LUCTreeViewYoung.SetItemCheckedStatus(true, "102" + App.GClassSessionInfo.RentInfo.Token + "00000000001");
            LUCTreeViewYoung.SetItemCheckedStatus(true, App.GClassSessionInfo.UserInfo.UserID.ToString());

            List <object> LListObjectSelected = LUCTreeViewYoung.GetCheckedOrUnCheckedItem("1");

            foreach (object LObjectSingle in LListObjectSelected)
            {
                LListStrReturn.Add("U00" + App.AscCodeToChr(27) + LObjectSingle.ToString());
            }

            return(LListStrReturn);
        }