我想修改一下delphi创建程序的代码.
programProject1;usesForms,Unit1in'Unit1.pas'{Form1};{$R*.res}beginApplication.Initial...
program Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
我想加上下面这两行代码,不知道加到哪个位置
Initialization
showmessage('begin');
Finalization
showmessage('end'); 展开
uses
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
我想加上下面这两行代码,不知道加到哪个位置
Initialization
showmessage('begin');
Finalization
showmessage('end'); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询