Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
unit Main;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
Winapi.Windows, System.SysUtils, Vcl.Forms;
|
||||
|
||||
type
|
||||
TForm1 = class(TForm)
|
||||
procedure FormCreate(Sender: TObject);
|
||||
end;
|
||||
|
||||
var
|
||||
Form1: TForm1;
|
||||
|
||||
implementation
|
||||
|
||||
{$R *.dfm}
|
||||
|
||||
procedure TForm1.FormCreate(Sender: TObject);
|
||||
var
|
||||
w,h:Integer;
|
||||
begin
|
||||
w := Screen.Monitors[0].WorkareaRect.Width;
|
||||
h := Screen.Monitors[0].WorkareaRect.Height;
|
||||
Caption:= format('%d x %d',[w,h]);
|
||||
SetBounds(0,0,w,h);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
object Form1: TForm1
|
||||
OnCreate = FormCreate
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue