public void loadMenu(string sPath) { var oTree = new TreeDesigner.clsTreeDesigner(null, ui.getTreeXmlPath()); oTree.fillMenu(menuStrip1); setEvent(menuStrip1.Items); }
public void load(string sPath) { oTreeDesigner = new clsTreeDesigner(treeView1, sPath); if (!System.IO.File.Exists(sPath)) { return; } oTreeDesigner.readXml(); grdImageList.DataSource = oTreeDesigner.getImageList(); }
public void loadTree(string sPath) { var oTree = new TreeDesigner.clsTreeDesigner(treeView1, ui.getTreeXmlPath()); oTree.readXml(); }