• 大小: 0.12M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: 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 getPCphysicsmemory
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            Microsoft.VisualBasic.Devices.Computer myInfo = new Microsoft.VisualBasic.Devices.Computer();
            label1.Text = Convert.ToInt32(myInfo.Info.TotalPhysicalMemory / 1024 / 1024).ToString();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         944  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory.sln
     文件       14848  2009-02-07 12:51  sj\01\getPCphysicsmemory\getPCphysicsmemory.suo
     文件         665  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\Form1.cs
     文件        2592  2009-02-07 11:48  sj\01\getPCphysicsmemory\getPCphysicsmemory\Form1.Designer.cs
     文件        5814  2009-02-07 11:48  sj\01\getPCphysicsmemory\getPCphysicsmemory\Form1.resx
     文件        3833  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\getPCphysicsmemory.csproj
     文件         499  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory\Program.cs
     文件        8704  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\bin\Debug\getPCphysicsmemory.exe
     文件       24064  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\bin\Debug\getPCphysicsmemory.pdb
     文件       14328  2009-02-07 12:51  sj\01\getPCphysicsmemory\getPCphysicsmemory\bin\Debug\getPCphysicsmemory.vshost.exe
     文件         490  2007-07-21 01:33  sj\01\getPCphysicsmemory\getPCphysicsmemory\bin\Debug\getPCphysicsmemory.vshost.exe.manifest
     文件         801  2009-02-07 12:51  sj\01\getPCphysicsmemory\getPCphysicsmemory\obj\Debug\getPCphysicsmemory.csproj.FileListAbsolute.txt
     文件         847  2009-02-07 11:48  sj\01\getPCphysicsmemory\getPCphysicsmemory\obj\Debug\getPCphysicsmemory.csproj.GenerateResource.Cache
     文件        8704  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\obj\Debug\getPCphysicsmemory.exe
     文件         180  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\obj\Debug\getPCphysicsmemory.Form1.resources
     文件       24064  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\obj\Debug\getPCphysicsmemory.pdb
     文件         180  2009-02-07 11:49  sj\01\getPCphysicsmemory\getPCphysicsmemory\obj\Debug\getPCphysicsmemory.Properties.Resources.resources
     文件        1368  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory\Properties\AssemblyInfo.cs
     文件        2886  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory\Properties\Resources.Designer.cs
     文件        5612  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory\Properties\Resources.resx
     文件        1103  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory\Properties\Settings.Designer.cs
     文件         249  2009-02-07 11:47  sj\01\getPCphysicsmemory\getPCphysicsmemory\Properties\Settings.settings
     文件         938  2009-02-07 12:51  sj\02\getPCdummymemory\getPCdummymemory.sln
     文件       14848  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory.suo
     文件         662  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory\Form1.cs
     文件        2594  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory\Form1.Designer.cs
     文件        5814  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory\Form1.resx
     文件        3829  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory\getPCdummymemory.csproj
     文件         497  2009-02-07 12:51  sj\02\getPCdummymemory\getPCdummymemory\Program.cs
     文件        8704  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory\bin\Debug\getPCdummymemory.exe
     文件       19968  2009-02-07 12:52  sj\02\getPCdummymemory\getPCdummymemory\bin\Debug\getPCdummymemory.pdb
............此处省略35个文件信息

评论

共有 条评论