• 大小: 0.04M
    文件类型: .rar
    金币: 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 PostRunTask
{
    public partial class Frm_Main : Form
    {
        public Frm_Main()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            richTextBox1.Text = string.Empty;//清空控件
            Process[] myProcesses = Process.GetProcesses();//获取当前进程数组
            foreach (Process myProcess in myProcesses)//遍历数组
            {
                if (myProcess.MainWindowtitle.Length > 0)//如果进程存在用户界面标题
                    //将界面标题添加到控件中
                    richTextBox1.

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

     文件       9216  2016-12-22 02:30  PostRunTask\PostRunTask\bin\Debug\PostRunTask.exe

     文件      28160  2016-12-22 02:30  PostRunTask\PostRunTask\bin\Debug\PostRunTask.pdb

     文件      14328  2016-12-22 02:30  PostRunTask\PostRunTask\bin\Debug\PostRunTask.vshost.exe

     文件        490  2016-12-22 02:30  PostRunTask\PostRunTask\bin\Debug\PostRunTask.vshost.exe.manifest

     文件        975  2016-12-21 17:37  PostRunTask\PostRunTask\Frm_Main.cs

     文件       3427  2016-12-21 17:37  PostRunTask\PostRunTask\Frm_Main.designer.cs

     文件       5814  2016-12-21 17:37  PostRunTask\PostRunTask\Frm_Main.resx

     文件       7020  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1961  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\PostRunTask.csproj.FileListAbsolute.txt

     文件        850  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\PostRunTask.csproj.GenerateResource.Cache

     文件       9216  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\PostRunTask.exe

     文件        180  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\PostRunTask.Frm_Main.resources

     文件      28160  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\PostRunTask.pdb

     文件        180  2016-12-22 02:30  PostRunTask\PostRunTask\obj\Debug\PostRunTask.Properties.Resources.resources

     文件       4608  2016-12-22 04:13  PostRunTask\PostRunTask\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       3991  2016-12-21 17:37  PostRunTask\PostRunTask\PostRunTask.csproj

     文件        495  2016-12-21 17:37  PostRunTask\PostRunTask\Program.cs

     文件       1354  2016-12-21 20:58  PostRunTask\PostRunTask\Properties\AssemblyInfo.cs

     文件       2862  2016-12-21 20:58  PostRunTask\PostRunTask\Properties\Resources.Designer.cs

     文件       5612  2016-12-21 20:58  PostRunTask\PostRunTask\Properties\Resources.resx

     文件       1111  2016-12-21 20:58  PostRunTask\PostRunTask\Properties\Settings.Designer.cs

     文件        249  2016-12-21 20:58  PostRunTask\PostRunTask\Properties\Settings.settings

     文件        923  2016-12-21 16:07  PostRunTask\PostRunTask.sln

     目录          0  2016-12-22 04:13  PostRunTask\PostRunTask\obj\Debug\Refactor

     目录          0  2016-12-22 04:13  PostRunTask\PostRunTask\obj\Debug\TempPE

     目录          0  2016-12-22 02:30  PostRunTask\PostRunTask\bin\Debug

     目录          0  2016-12-22 02:30  PostRunTask\PostRunTask\bin\Release

     目录          0  2016-12-22 04:13  PostRunTask\PostRunTask\obj\Debug

     目录          0  2016-12-22 02:30  PostRunTask\PostRunTask\bin

     目录          0  2016-12-22 02:30  PostRunTask\PostRunTask\obj

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

评论

共有 条评论