• 大小: 1.49M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: QQ  菜单  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.xml;//

namespace WinListViewQQ
{
    class clsxml
    {
        private  static xmlDocument xmlDoc = new xmlDocument();
        static string fileName =System.Windows.Forms.Application.StartupPath + “\\config.xml“;//配置文件的路径、名

        
        /// 
        /// 返回xml文档的根节点
        /// 

        /// 根节点
        public static xmlNode GetRootNode()
        {
            //xmlDoc = new xmlDocument();
            xmlDoc.Load(fileName);
            xmlNode root = xmlDoc.DocumentElement;
            return root;

        }
        /// 
        ///  保存xml文件
        /// 

       
        public static void xmlSave()
        {
         

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1743  2008-04-03 10:00  WinListViewQQ\bin\Debug\config.xml

     文件       1499  2008-03-30 20:51  WinListViewQQ\bin\Debug\images\bgBlue.jpg

     文件       1444  2008-03-30 20:50  WinListViewQQ\bin\Debug\images\bgRed.jpg

     文件       4915  2007-12-14 17:51  WinListViewQQ\bin\Debug\images\desktop.png

     文件       1078  2000-11-21 17:39  WinListViewQQ\bin\Debug\images\exit.ico

     文件      53843  2008-03-26 11:26  WinListViewQQ\bin\Debug\images\ico.ico

     文件     262200  2005-11-03 23:34  WinListViewQQ\bin\Debug\images\largeBlue.bmp

     文件     262200  2005-11-03 23:33  WinListViewQQ\bin\Debug\images\largeRed.bmp

     文件       1078  2000-11-21 17:38  WinListViewQQ\bin\Debug\images\showFrmMain.ico

     文件       4854  2006-03-16 08:38  WinListViewQQ\bin\Debug\images\smallBlue.bmp

     文件       4854  2006-03-16 08:37  WinListViewQQ\bin\Debug\images\smallRed.bmp

     文件     282367  2008-03-29 22:21  WinListViewQQ\bin\Debug\listQ.rar

     文件     110592  2008-04-03 10:01  WinListViewQQ\bin\Debug\WinListViewQQ.exe

     文件       1890  2008-04-03 10:05  WinListViewQQ\bin\Release\config.xml

     文件       1499  2008-03-30 20:51  WinListViewQQ\bin\Release\images\bgBlue.jpg

     文件       1444  2008-03-30 20:50  WinListViewQQ\bin\Release\images\bgRed.jpg

     文件       4915  2007-12-14 17:51  WinListViewQQ\bin\Release\images\desktop.png

     文件       1078  2000-11-21 17:39  WinListViewQQ\bin\Release\images\exit.ico

     文件      53843  2008-03-26 11:26  WinListViewQQ\bin\Release\images\ico.ico

     文件     262200  2005-11-03 23:34  WinListViewQQ\bin\Release\images\largeBlue.bmp

     文件     262200  2005-11-03 23:33  WinListViewQQ\bin\Release\images\largeRed.bmp

     文件       1078  2000-11-21 17:38  WinListViewQQ\bin\Release\images\showFrmMain.ico

     文件       4854  2006-03-16 08:38  WinListViewQQ\bin\Release\images\smallBlue.bmp

     文件       4854  2006-03-16 08:37  WinListViewQQ\bin\Release\images\smallRed.bmp

     文件     243111  2008-04-03 10:04  WinListViewQQ\bin\Release\Release.rar

     文件     106496  2008-04-03 10:04  WinListViewQQ\bin\Release\WinListViewQQ.exe

     文件      73528  2008-03-25 16:04  WinListViewQQ\bin\Release\WinListViewQQ.rar

     文件      73528  2008-03-25 16:04  WinListViewQQ\bin\Release\WinListViewQQ1.rar

     文件      90764  2008-03-25 16:11  WinListViewQQ\bin\Release\WinListViewQQ2.rar

     文件       4498  2008-03-31 16:05  WinListViewQQ\clsxml.cs

............此处省略41个文件信息

评论

共有 条评论