Добавил:
Upload
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:OC - Лекция 8 / SysInfo / AboutU
.pas unit AboutU;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls;
type
TAboutBox = class(TForm)
Panel1: TPanel;
ProgramIcon: TImage;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
OKButton: TButton;
Comments: TLabel;
end;
procedure ShowAboutBox;
implementation
{$R *.DFM}
procedure ShowAboutBox;
begin
with TAboutBox.Create(Application) do
try
ShowModal;
finally
Free;
end;
end;
end.
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls;
type
TAboutBox = class(TForm)
Panel1: TPanel;
ProgramIcon: TImage;
ProductName: TLabel;
Version: TLabel;
Copyright: TLabel;
OKButton: TButton;
Comments: TLabel;
end;
procedure ShowAboutBox;
implementation
{$R *.DFM}
procedure ShowAboutBox;
begin
with TAboutBox.Create(Application) do
try
ShowModal;
finally
Free;
end;
end;
end.