示例#1
0
        public void AddItemList(string item, string description, List <string> Test)
        {
            ListOfItems.Add(Index, item);
            ListOfDescription.Add(Index, description);

            var TestDictonary = new Dictionary <int, string>();

            foreach (string i in Test)
            {
                TestDictonary.Add(IndexList, i);
                IndexList += 1;
            }
            IndexList = 1;
            ListDictionaryItemList.Add(TestDictonary);
            ListOfItemList.Add(Index);
            Sideway.Add(1);

            Index += 1;
        }
示例#2
0
 public void AddItem(string item, string description)
 {
     ListOfItems.Add(Index, item);
     ListOfDescription.Add(Index, description);
     Index += 1;
 }