예제 #1
0
 public void SaveData(HtmlTreeView treeView)
 {
     treeView.Nodes.Clear();
     if (treeView.ImageList == null)
     {
         IWebPage wp = treeView.FindForm() as IWebPage;
         if (wp != null)
         {
             treeView.ImageList = wp.AddComponent(typeof(ImageList)) as ImageList;
         }
     }
     copyNodes(treeView1.Nodes, treeView.Nodes, treeView.ImageList);
 }