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 66 67 68
|
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, jpeg, ExtCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
LabelInformation: TLabel;
allume: TButton;
eteind: TButton;
Label3: TLabel;
LabelInformation2: TLabel;
arret: TButton;
marche: TButton;
Label4: TLabel;
labelTemperature: TLabel;
Label5: TLabel;
Courbe: TButton;
Label6: TLabel;
Label7: TLabel;
LabelPH: TLabel;
Ph: TButton;
Image2: TImage;
procedure eteindClick(Sender: TObject);
procedure allumeClick(Sender: TObject);
procedure marcheClick(Sender: TObject);
procedure arretClick(Sender: TObject);
private
{ Déclarations privées }
public
{ Déclarations publiques }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.eteindClick(Sender: TObject);
begin
LabelInformation.Caption:='Eteind';
end;
procedure TForm1.allumeClick(Sender: TObject);
begin
LabelInformation.Caption:='allume';
end;
procedure TForm1.marcheClick(Sender: TObject);
begin
LabelInformation2.Caption:='marche';
end;
procedure TForm1.arretClick(Sender: TObject);
begin
LabelInformation2.Caption:='arret';
end;
end. |
Partager