예제 #1
0
        void reqItems_ResponseReceived(HttpRequest sender, HttpResponse response)
        {
            ArrayList items = new ArrayList();

            items = (ArrayList)Json.NETMF.JsonSerializer.DeserializeString(response.Text);

            object[] arra = new object[3];

            for (int j = 0; j < items.Count; j++)
            {
                ((System.Collections.Hashtable)items[j]).Values.CopyTo(arra, 0);
                DCItem it = new DCItem()
                {
                    IdItem = arra[1].ToString(), DescItem = arra[2].ToString()
                };
                itemsList.Add(it);
            }
        }
예제 #2
0
 public void Remove(DCItem item)
 {
     this.Remove(item);
 }
예제 #3
0
 public void Add(DCItem item)
 {
     this.Add(item);
 }