-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathoprogramie.pas
More file actions
66 lines (51 loc) · 1.41 KB
/
oprogramie.pas
File metadata and controls
66 lines (51 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
unit oprogramie;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, lclintf;
type
{ TForm2 }
TForm2 = class(TForm)
Button1: TButton;
ButtonClose: TButton;
Label1: TLabel;
Memo1: TMemo;
Panel1: TPanel;
procedure Button1Click(Sender: TObject);
procedure ButtonCloseClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
Form2: TForm2;
implementation
{$R *.lfm}
{ TForm2 }
procedure TForm2.FormCreate(Sender: TObject);
begin
Form2.Caption:='O programie...';
Memo1.Clear;
Memo1.Append('Program pomaga monitorować aktualną pogodę na lotniskach na całym świecie');
Memo1.Append('');
Memo1.Append('Licencja:');
Memo1.Append('Program dostępny jako freeware. Gdy go bardziej rozbuduję, rozważam udostępnienie jako open source na licencji GPL.');
Memo1.Append('');
Memo1.Append('Gwarancja:');
Memo1.Append('Nie odpowiadam za szkody spowodowane używaniem programu Pogoda.');
Memo1.Append('');
Memo1.Append('Wszelkie sugestie i uwagi mile widziane: bart@lowcaburz.tk');
end;
procedure TForm2.ButtonCloseClick(Sender: TObject);
begin
Form2.Close;
end;
procedure TForm2.Button1Click(Sender: TObject);
begin
OpenURL('http://grzybicki.pl/software/pogoda%20by%20lowcaburz.tk');
Form2.Close;
end;
end.