• 大小: 43KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-09
  • 语言: C#
  • 标签:

资源简介

winform开发C#打开电脑本地地址,获取本地文件地址。打开本地文件。

资源截图

代码片段和文件信息

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

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

        private void button1_Click(object sender EventArgs e)
        {
            if (openFileDialog1.ShowDialog(this) == DialogResult.OK)
            {
                textBox1.Text = openFileDialog1.FileName;
            }
               
        }
    }
}

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

     文件       9216  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe

     文件      22016  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb

     文件      11600  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe

     文件        490  2010-03-17 22:39  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest

     文件        638  2014-07-22 20:15  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs

     文件       2802  2014-07-22 20:15  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Form1.Designer.cs

     文件       6020  2014-07-22 20:15  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Form1.resx

     文件       2152  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6454  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        492  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\GenerateResource.read.1.tlog

     文件       1150  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\GenerateResource.write.1.tlog

     文件       1492  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt

     文件       9216  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.exe

     文件        180  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Form1.resources

     文件      22016  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.pdb

     文件        180  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources

     文件        505  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs

     文件       1404  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Properties\AssemblyInfo.cs

     文件       2896  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.Designer.cs

     文件       5612  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.resx

     文件       1107  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.Designer.cs

     文件        249  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.settings

     文件       3707  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\WindowsFormsApplication1.csproj

     文件        914  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1.sln

    ..A..H.     21504  2014-07-22 20:15  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1.suo

     目录          0  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\TempPE

     目录          0  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug

     目录          0  2014-07-22 20:14  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug

     目录          0  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86

     目录          0  2014-07-22 20:04  C#打开电脑本地文件(地址)\WindowsFormsApplication1\WindowsFormsApplication1\bin

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

评论

共有 条评论

相关资源