Hashtable hashTable = HashTableClass.VideoData();
TreeListNode node = null;
ArrayList arrayList = new ArrayList();
this.treeList1.BeginUnboundLoad();
foreach (DictionaryEntry voide in hashTable)
{
arrayList.Clear();
node = this.treeList1.AppendNode(new object[] { voide.Key }, -1, 0, 0, 4);
Hashtable hashTables = (Hashtable)hashTable[voide.Key];
foreach (DictionaryEntry vodes in hashTables)
{
arrayList.Add(vodes.Key);
arrayList.Sort();
}
foreach (String context in arrayList)
{
this.treeList1.AppendNode(new object[] { context }, node);
}
}
this.treeList1.EndUnboundLoad();
TreeListNode node = null;
ArrayList arrayList = new ArrayList();
this.treeList1.BeginUnboundLoad();
foreach (DictionaryEntry voide in hashTable)
{
arrayList.Clear();
node = this.treeList1.AppendNode(new object[] { voide.Key }, -1, 0, 0, 4);
Hashtable hashTables = (Hashtable)hashTable[voide.Key];
foreach (DictionaryEntry vodes in hashTables)
{
arrayList.Add(vodes.Key);
arrayList.Sort();
}
foreach (String context in arrayList)
{
this.treeList1.AppendNode(new object[] { context }, node);
}
}
this.treeList1.EndUnboundLoad();