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

资源简介


资源截图

代码片段和文件信息

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

namespace PowerManageApp
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        /// 
        /// 注销当前用户
        /// 

        /// 
        /// 
        private void btnLogOff_Click(object sender EventArgs e)
        {
            ExitWindows.LogOff();
        }
        /// 
        /// 重启当前电脑
        /// 

        /// 
        /// 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-06-17 13:25  .vs\
     目录           0  2019-06-17 13:25  .vs\PowerManageApp\
     目录           0  2019-06-17 13:25  .vs\PowerManageApp\v15\
     文件       31744  2019-06-17 13:37  .vs\PowerManageApp\v15\.suo
     目录           0  2019-06-17 13:25  .vs\PowerManageApp\v15\Server\
     目录           0  2019-06-17 13:25  .vs\PowerManageApp\v15\Server\sqlite3\
     文件           0  2019-06-17 13:25  .vs\PowerManageApp\v15\Server\sqlite3\db.lock
     文件        4096  2019-06-17 13:25  .vs\PowerManageApp\v15\Server\sqlite3\storage.ide
     文件       32768  2019-06-17 13:25  .vs\PowerManageApp\v15\Server\sqlite3\storage.ide-shm
     文件     2060032  2019-06-17 13:36  .vs\PowerManageApp\v15\Server\sqlite3\storage.ide-wal
     目录           0  2019-06-17 13:35  PowerManageApp\
     文件         189  2019-06-17 13:25  PowerManageApp\App.config
     文件        5027  2019-06-17 13:35  PowerManageApp\Form1.Designer.cs
     文件        1847  2019-06-17 13:35  PowerManageApp\Form1.cs
     文件        5817  2019-06-17 13:35  PowerManageApp\Form1.resx
     文件        3631  2019-06-17 13:35  PowerManageApp\PowerManageApp.csproj
     文件        9546  2019-06-17 13:34  PowerManageApp\PowerOperationForWin32Api.cs
     文件         526  2019-06-17 13:25  PowerManageApp\Program.cs
     目录           0  2019-06-17 13:25  PowerManageApp\Properties\
     文件        1326  2019-06-17 13:25  PowerManageApp\Properties\AssemblyInfo.cs
     文件        2841  2019-06-17 13:25  PowerManageApp\Properties\Resources.Designer.cs
     文件        5612  2019-06-17 13:25  PowerManageApp\Properties\Resources.resx
     文件        1101  2019-06-17 13:25  PowerManageApp\Properties\Settings.Designer.cs
     文件         249  2019-06-17 13:25  PowerManageApp\Properties\Settings.settings
     目录           0  2019-06-17 13:25  PowerManageApp\bin\
     目录           0  2019-06-17 13:35  PowerManageApp\bin\Debug\
     文件       12288  2019-06-17 13:35  PowerManageApp\bin\Debug\PowerManageApp.exe
     文件         189  2019-06-17 13:25  PowerManageApp\bin\Debug\PowerManageApp.exe.config
     文件       28160  2019-06-17 13:35  PowerManageApp\bin\Debug\PowerManageApp.pdb
     目录           0  2019-06-17 13:25  PowerManageApp\obj\
     目录           0  2019-06-17 13:35  PowerManageApp\obj\Debug\
............此处省略15个文件信息

评论

共有 条评论