/// <summary> /// 写入工程树 /// </summary> /// <param name="ptview">工程资源管理器</param> /// <param name="option">选项</param> static private void Write(ProjectTreeView ptview, int option) { XElement xele = new XElement("ProjectTreeView"); ptview.Save(xele); string xtext = xele.ToString(); edata.Add(0xfa); Write32(xtext); }