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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
namespace JudgeFileOpen
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            Close();
        }

        private void button2_Click(object sender EventArgs e)
        {
            checkBox1.Checked = false;
            checkBox2.Checked = true;
            openFileDialog1.ShowDialog();
            try
            {
                System.IO.File.Move(openFileDialog1.FileName openFileDialog1.FileName);
            }
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-09-21 22:30  JudgeFileOpen\
     文件         929  2016-09-21 22:28  JudgeFileOpen.sln
     目录           0  2016-09-21 22:28  JudgeFileOpen\bin\
     目录           0  2016-09-21 22:30  JudgeFileOpen\bin\Debug\
     文件        9728  2016-09-21 22:30  JudgeFileOpen\bin\Debug\JudgeFileOpen.exe
     文件       22016  2016-09-21 22:30  JudgeFileOpen\bin\Debug\JudgeFileOpen.pdb
     文件       21656  2016-09-21 22:31  JudgeFileOpen\bin\Debug\JudgeFileOpen.vshost.exe
     文件         490  2012-06-02 22:34  JudgeFileOpen\bin\Debug\JudgeFileOpen.vshost.exe.manifest
     文件         974  2016-09-21 22:29  JudgeFileOpen\Form1.cs
     文件        4962  2012-08-19 07:31  JudgeFileOpen\Form1.Designer.cs
     文件        6017  2007-07-11 11:26  JudgeFileOpen\Form1.resx
     文件        3767  2016-09-21 22:28  JudgeFileOpen\JudgeFileOpen.csproj
     目录           0  2016-09-21 22:28  JudgeFileOpen\obj\
     目录           0  2016-09-21 22:30  JudgeFileOpen\obj\Debug\
     文件         791  2016-09-21 22:29  JudgeFileOpen\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6998  2016-09-21 22:28  JudgeFileOpen\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件        1146  2016-09-21 22:31  JudgeFileOpen\obj\Debug\JudgeFileOpen.csproj.FileListAbsolute.txt
     文件         847  2016-09-21 22:30  JudgeFileOpen\obj\Debug\JudgeFileOpen.csproj.GenerateResource.Cache
     文件        1759  2016-09-21 22:30  JudgeFileOpen\obj\Debug\JudgeFileOpen.csprojResolveAssemblyReference.cache
     文件        9728  2016-09-21 22:30  JudgeFileOpen\obj\Debug\JudgeFileOpen.exe
     文件         180  2016-09-21 22:30  JudgeFileOpen\obj\Debug\JudgeFileOpen.Form1.resources
     文件       22016  2016-09-21 22:30  JudgeFileOpen\obj\Debug\JudgeFileOpen.pdb
     文件         180  2016-09-21 22:30  JudgeFileOpen\obj\Debug\JudgeFileOpen.Properties.Resources.resources
     目录           0  2016-09-21 22:28  JudgeFileOpen\obj\Debug\TempPE\
     文件         492  2016-09-21 22:30  JudgeFileOpen\Program.cs
     目录           0  2012-08-19 06:59  JudgeFileOpen\Properties\
     文件        1358  2009-02-24 16:08  JudgeFileOpen\Properties\AssemblyInfo.cs
     文件        2876  2009-02-24 16:08  JudgeFileOpen\Properties\Resources.Designer.cs
     文件        5612  2009-02-24 16:08  JudgeFileOpen\Properties\Resources.resx
     文件        1098  2009-02-24 16:08  JudgeFileOpen\Properties\Settings.Designer.cs
     文件         249  2009-02-24 16:08  JudgeFileOpen\Properties\Settings.settings
............此处省略0个文件信息

评论

共有 条评论