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

📄 ccommand.pas

📁 delphi深度探索第二版随书光盘所附内容
💻 PAS
字号:
unit CCommand;

interface

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

type
  TForm1 = class(TForm)
    mm1: TMainMenu;
    miN1: TMenuItem;
    actlst1: TActionList;
    ac1: TAction;
    procedure ac1Execute(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

uses CFormCommand;

{$R *.dfm}

procedure TForm1.ac1Execute(Sender: TObject);
var
  AForm:TFormCommand;
begin
  AForm:=TFormCommand.Create(nil);
  try
    AForm.ShowModal;
  finally
    AForm.Free;
  end;
end;

end.

⌨️ 快捷键说明

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