• 大小: 0.08M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: C#  网络  c  源码  驱动  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Ex14_10
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
           this.comboBox2.DataSource = Environment.GetLogicalDrives();
           this.comboBox1.DataSource = DirName();
        }

        private string[] DirName()
        {
            int j = 0;
            string[] str = new string[26];
            for (int i = 65; i <91;i++ )
            {
                str [j]= Convert.ToChar(i).ToString()+“:“;
                j++;
            

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-06 13:10  Ex14_10\
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\
     文件         910  2007-07-11 11:34  Ex14_10\Ex14_10.sln
     文件       14336  2007-07-11 11:34  Ex14_10\Ex14_10.suo
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\bin\
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\bin\Debug\
     文件       20480  2007-07-11 11:34  Ex14_10\Ex14_10\bin\Debug\Ex14_10.exe
     文件       22016  2007-07-11 11:34  Ex14_10\Ex14_10\bin\Debug\Ex14_10.pdb
     文件        5632  2007-07-11 11:34  Ex14_10\Ex14_10\bin\Debug\Ex14_10.vshost.exe
     文件        3268  2007-07-11 11:34  Ex14_10\Ex14_10\Ex14_10.csproj
     文件        2113  2007-07-11 11:34  Ex14_10\Ex14_10\Form1.cs
     文件        7090  2007-07-11 11:34  Ex14_10\Ex14_10\Form1.Designer.cs
     文件        6022  2007-07-11 11:34  Ex14_10\Ex14_10\Form1.resx
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\obj\
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\obj\Debug\
     文件         842  2007-07-11 11:34  Ex14_10\Ex14_10\obj\Debug\Ex14_10.csproj.GenerateResource.Cache
     文件       20480  2007-07-11 11:34  Ex14_10\Ex14_10\obj\Debug\Ex14_10.exe
     文件         180  2007-07-11 11:34  Ex14_10\Ex14_10\obj\Debug\Ex14_10.Form1.resources
     文件       22016  2007-07-11 11:34  Ex14_10\Ex14_10\obj\Debug\Ex14_10.pdb
     文件         180  2007-07-11 11:34  Ex14_10\Ex14_10\obj\Debug\Ex14_10.Properties.Resources.resources
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\obj\Debug\TempPE\
     文件         268  2007-07-11 11:34  Ex14_10\Ex14_10\obj\Ex14_10.csproj.FileList.txt
     文件         466  2007-07-11 11:34  Ex14_10\Ex14_10\Program.cs
     目录           0  2010-04-06 13:10  Ex14_10\Ex14_10\Properties\
     文件        1162  2007-07-11 11:34  Ex14_10\Ex14_10\Properties\AssemblyInfo.cs
     文件        2868  2007-07-11 11:34  Ex14_10\Ex14_10\Properties\Resources.Designer.cs
     文件        5612  2007-07-11 11:34  Ex14_10\Ex14_10\Properties\Resources.resx
     文件        1090  2007-07-11 11:34  Ex14_10\Ex14_10\Properties\Settings.Designer.cs
     文件         249  2007-07-11 11:34  Ex14_10\Ex14_10\Properties\Settings.settings
     目录           0  2010-04-06 13:10  Ex14_15\
     目录           0  2010-04-06 13:10  Ex14_15\Ex14_15\
............此处省略33个文件信息

评论

共有 条评论