资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Ex15_02
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        string strPath=null;//文件咱径
        private void button1_Click(object sender EventArgs e)
        {
           
            openFileDialog1.Filter = “xml文件|*.xml“;
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                strPath = openFileDialog1.FileName;
            }
        }

        private void button2_Click(object sender EventArgs e)
        {
            if (strPath != null)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-06 13:10  Ex15_02\
     文件         910  2007-07-11 11:34  Ex15_02.sln
     文件       32768  2007-07-11 11:34  Ex15_02.suo
     目录           0  2010-04-06 13:10  Ex15_02\bin\
     目录           0  2018-02-16 16:43  Ex15_02\bin\Debug\
     文件       20480  2007-07-11 11:34  Ex15_02\bin\Debug\Ex15_02.exe
     文件       30208  2007-07-11 11:34  Ex15_02\bin\Debug\Ex15_02.pdb
     文件        5658  2007-07-11 11:34  Ex15_02\bin\Debug\Ex15_02.vshost.exe
     文件        1462  2007-07-11 11:34  Ex15_02\bin\Debug\xmlFile1.xml
     文件        3258  2007-07-11 11:34  Ex15_02\Ex15_02.csproj
     文件        1252  2007-07-11 11:34  Ex15_02\Form1.cs
     文件        3905  2007-07-11 11:34  Ex15_02\Form1.Designer.cs
     文件        6017  2007-07-11 11:34  Ex15_02\Form1.resx
     目录           0  2010-04-06 13:10  Ex15_02\obj\
     目录           0  2010-04-06 13:10  Ex15_02\obj\Debug\
     文件         842  2007-07-11 11:34  Ex15_02\obj\Debug\Ex15_02.csproj.GenerateResource.Cache
     文件       20480  2007-07-11 11:34  Ex15_02\obj\Debug\Ex15_02.exe
     文件         180  2007-07-11 11:34  Ex15_02\obj\Debug\Ex15_02.Form1.resources
     文件       30208  2007-07-11 11:34  Ex15_02\obj\Debug\Ex15_02.pdb
     文件         180  2007-07-11 11:34  Ex15_02\obj\Debug\Ex15_02.Properties.Resources.resources
     目录           0  2010-04-06 13:10  Ex15_02\obj\Debug\TempPE\
     文件        4608  2007-07-11 11:34  Ex15_02\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件         268  2007-07-11 11:34  Ex15_02\obj\Ex15_02.csproj.FileList.txt
     文件         466  2007-07-11 11:34  Ex15_02\Program.cs
     目录           0  2010-04-06 13:10  Ex15_02\Properties\
     文件        1162  2007-07-11 11:34  Ex15_02\Properties\AssemblyInfo.cs
     文件        2836  2007-07-11 11:34  Ex15_02\Properties\Resources.Designer.cs
     文件        5612  2007-07-11 11:34  Ex15_02\Properties\Resources.resx
     文件        1103  2007-07-11 11:34  Ex15_02\Properties\Settings.Designer.cs
     文件         249  2007-07-11 11:34  Ex15_02\Properties\Settings.settings
     文件        1462  2007-07-11 11:34  Ex15_02\xmlFile1.xml
............此处省略0个文件信息

评论

共有 条评论