Procedure CreateWizardImg();
begin
With WizardForm do begin
Bevel.Hide;
InnerNotebook.Hide;
OuterNotebook.Hide;
Font.Name := {#FontName};
BorderStyle := bsNone;
ClientWidth := ScaleX(780);
ClientHeight := ScaleY(390);
Center;
end;
EmptyLabel := TLabelCreate(WizardForm, 0, 0, 780, 32, 10, '', {#FontName}, {#FontColor}, [], False, taLeftJustify, nil, @FrameMouseDown);
Panel1 := TPanel.Create(WizardForm);
with Panel1 do
begin
Parent := WizardForm;
Left := ScaleX(232);
Top := ScaleY(180);
Width := ScaleX(185);
Height := ScaleY(57);
BevelOuter := bvNone;
Caption := 'Panel1';
Color := clRed;
ParentBackground := False;
end;
MainBg := ImgLoad(WizardForm.Handle, 'BG-1.png', ScaleX(0), ScaleY(0), ScaleX(780), ScaleY(390), True, True);
DirBg := ImgLoad(WizardForm.Handle, 'bg-dir.png', ScaleX(0), ScaleY(0), ScaleX(780), ScaleY(390), True, True);
TopLine := ImgLoad(WizardForm.Handle, 'topLine.png', ScaleX(0), ScaleY(31), ScaleX(780), ScaleY(1), True, True);
ImgLoad(WizardForm.Handle, 'Avatar.png', ScaleX(12), ScaleY(43), ScaleX(26), ScaleY(26), True, True);
dirFrame := ImgLoad(WizardForm.Handle, 'dirFrame.png', ScaleX(71), ScaleY(152), ScaleX(444), ScaleY(36), True, True);
compFrame := ImgLoad(WizardForm.Handle, 'compFrame.png', ScaleX(71), ScaleY(218), ScaleX(444), ScaleY(128), True, True);
diskFrame := ImgLoad(WizardForm.Handle, 'diskFrame.png', ScaleX(529), ScaleY(218), ScaleX(180), ScaleY(82), True, True);
Cover := ImgLoad(WizardForm.Handle, 'Cover.png', ScaleX(53), ScaleY(87), ScaleX(190), ScaleY(268), True, True);
InfoImgLabel := ImgLoad(WizardForm.Handle, 'sizeFrame.png', ScaleX(469), ScaleY(297), ScaleX(63), ScaleY(36), True, True);
Line1 := ImgLoad(WizardForm.Handle, 'line.png', ScaleX(272), ScaleY(108), ScaleX(30), ScaleY(2), True, True);
Line2 := ImgLoad(WizardForm.Handle, 'line.png', ScaleX(170), ScaleY(139), ScaleX(30), ScaleY(2), True, True);
Line3 := ImgLoad(WizardForm.Handle, 'line.png', ScaleX(170), ScaleY(205), ScaleX(30), ScaleY(2), True, True);
Line4 := ImgLoad(WizardForm.Handle, 'line.png', ScaleX(628), ScaleY(205), ScaleX(30), ScaleY(2), True, True);
Line5 := ImgLoad(WizardForm.Handle, 'line.png', ScaleX(70), ScaleY(108), ScaleX(30), ScaleY(2), True, True);
ImgApplyChanges(WizardForm.Handle);
end;