• 大小: 0.06M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: 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;
using System.Diagnostics;

namespace ShutDown
{
    public partial class Shut : Form
    {
        public Shut()
        {
            InitializeComponent();
            this.lblCurrentTime.Text = DateTime.Now.ToString(“yyyy-MM-dd hh:mm:ss“);
            this.rdoOff.Checked = true;
            
        }

        private void tmrCurrentTime_Tick(object sender EventArgs e)
        {
            this.lblCurrentTime.Text = DateTime.Now.ToString(“yyyy-MM-dd HH:mm:ss“);
            
        }

        private void btnDetermine_Click(object sender EventArgs e)
        {
            i

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-09 08:40  ShutDown\
     目录           0  2017-10-09 08:40  ShutDown\ShutDown\
     目录           0  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\
     文件       12213  2017-10-10 15:52  ShutDown\ShutDown\ShutDown\Form1.Designer.cs
     文件        3075  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\Form1.cs
     文件        8431  2017-10-10 15:52  ShutDown\ShutDown\ShutDown\Form1.resx
     文件        1060  2017-10-10 14:55  ShutDown\ShutDown\ShutDown\Program.cs
     目录           0  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\Properties\
     文件        1358  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\Properties\AssemblyInfo.cs
     文件        2868  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\Properties\Resources.Designer.cs
     文件        5612  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\Properties\Resources.resx
     文件        1095  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\Properties\Settings.Designer.cs
     文件         249  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\Properties\Settings.settings
     文件        3730  2017-10-09 10:25  ShutDown\ShutDown\ShutDown\ShutDown.csproj
     目录           0  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\bin\
     目录           0  2017-10-10 14:47  ShutDown\ShutDown\ShutDown\bin\Debug\
     文件       15360  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\bin\Debug\ShutDown.exe
     文件       26112  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\bin\Debug\ShutDown.pdb
     文件       24216  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\bin\Debug\ShutDown.vshost.exe
     文件         490  2010-03-17 22:39  ShutDown\ShutDown\ShutDown\bin\Debug\ShutDown.vshost.exe.manifest
     目录           0  2017-10-09 08:40  ShutDown\ShutDown\ShutDown\obj\
     目录           0  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\obj\Debug\
     文件        1453  2017-10-10 10:34  ShutDown\ShutDown\ShutDown\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6803  2017-10-09 08:41  ShutDown\ShutDown\ShutDown\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         180  2017-10-10 14:47  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.Properties.Resources.resources
     文件        1972  2017-10-10 15:54  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.Shut.resources
     文件         601  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.csproj.FileListAbsolute.txt
     文件         977  2017-10-10 15:54  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.csproj.GenerateResource.Cache
     文件        2211  2017-10-10 14:53  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.csprojResolveAssemblyReference.cache
     文件       15360  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.exe
     文件       26112  2017-10-10 15:56  ShutDown\ShutDown\ShutDown\obj\Debug\ShutDown.pdb
............此处省略3个文件信息

评论

共有 条评论