⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aboutfrm.pas

📁 这是一套完整的学生信息管理系统
💻 PAS
字号:
unit aboutfrm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  Tfrmabout = class(TForm)
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Button1: TButton;
    procedure FormShow(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmabout: Tfrmabout;

implementation

{$R *.dfm}

procedure Tfrmabout.FormShow(Sender: TObject);
var mymemorystatus:TMemoryStatus;
begin
  globalmemorystatus(mymemorystatus);
  label2.Caption:=formatfloat('#,##"KB"',mymemorystatus.dwtotalphys/1024);
  label4.caption:=format('%d%%',[mymemorystatus.dwmemoryload]);
end;

procedure Tfrmabout.Button1Click(Sender: TObject);
begin
  close;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -