Documente Academic
Documente Profesional
Documente Cultură
SALA DE CULTURISM
Profesor indrumator,
Iuliana Ursachi
Absolvent,
Caleap Madalin- Constantin
2010
Cuprins
Prezentare generala Fox pro...3
Memoriu justificativ...6
Descriere atestat.7
Baza de date..13
Codu sursa14
Bibliografie..48
Principalele caracteristici :
- gestionarea mai buna a proiectelor si a bazelor de date;
- interfata prietenoasa, obtinuta prin utilizarea tuturor facilitatilor grafice
proprii mediului Windows
- posibilitati de interactiune cu alte aplicatii
- suporta elemente de programare orientata pe obiecte
- furnizeaza un sistem avansat de Help
- optimizarea aplicatiilor cu ajutorul tehnologiei Rushmore
- posibilitatea dezvoltarii de solutii client-server.
- posibilitatea operarii n mod comanda,n mod program sau asistat(..
Wizard, .. Designer)
Definitii
Sistem de gestiune a bazelor de date (SGBD) (Database Management
System
(DBMS)): Un pachet de module software care permit crearea si ntretinerea
unei baze de date.
Sistem de baze de date (Database System): Soft-ul corespunzator unui
SGBD mpreuna cu datele corespunzatoare. Uneori sunt incluse si
aplicatiile.
Date: Fapte cunoscute care pot fi nregistrate si care au o semnificatie
implicita.
Entitate: o realitate de sine statatoare. Poate fi considerata obiectul unei
informatii. Intre entitati pot fi stabilite diverse legaturi (asocieri, relatii).
Proiect VisualFoxPro -o colectie de fisiere, date, documente si obiecte
salvate ntr-un fisier cu extensia .pjx.
Baza de date (database) reprezinta un set de tabele legate unele de altele prin
intermediul unor cmpuri comune. Un fisier baza de date are extensia .dbc si
poate contine tabele, vederi,conexiuni la surse de date la distanta si
proceduri stocate.
Tabelul (table)- structura fundamentala a bazei de date. Tabelele stocheaza
date n cadrul nregistrarilor (linii, rnduri) ntr-o colectie de cmpuri
(coloane).ntr-un tabel trebuie sa se stocheze date corespunzatoare unui
anumit tip de entitati sau unui tip de legaturi ntre entitati.
Chei straine - set de cmpuri dintr-un tabel care reprezinta o cheie candidat
ntr-un alt tabel. Cheile straine sunt utilizate pentru a stabili legaturi ntre
tabelele bazei de date.
MEMORIU JUSTIFICATIV
Tema acestei lucrari de atestat este Sala de Culturism si poate fi
folosita in domeniul body building.
Operatiile principale folosite in acest program sunt:
creare tabele;
vizualizare;
cautare;
actualizare;
cautare elemente de programare orientate pe obiecte.
De asemenea, apar elemente de programare clasica in Fox Pro:
structuri alternative, structuri repetitive si selective.
Consider ca aceasta aplicatie este utila pentru a informa doritorii de
culturism, sauna, box, solar.
Descrierea aplicatiei
Primul
buton
Home conduce
catre
o
alta
fereastra in care
este
prezentata
ofertele actuale cat
si cele noi ale salii
de culturism si alte
sporturi .Aici sunt
2
butoane ,Inapoi
care te trimite catre pagina principala, si butonul Iesire cu care poti parasi
aplicatia.
Apsand
butonul
Sali de pe pagina
principala , ajungem
intr-o fereastra in care
sunt prezentate toate
salile disponibile si
orarul in care este
deschis centrul.
In fiecare fereastra
noua gasiti
poze
despre sala in care ati
intrat
si
orarul
disponibil salii. In
fiecare fereastra se
gasesc 2 butoane:|
Inapoi care te duce
la pagina principala si
iesire care te ajuta
sa parasesti aplicatia.F
Butonul
program
exercitii conduce catre
pagina din dreapta, din
care apasand butonul
Program
a
sau
Program b ajungem
in fereastra in care sunt
prezentate
toate
programele pentru o
anumita zi pentru :
umeri , biceps, triceps,
spate,
abdomen
si
picioare . fiecare avand
cate 2 butoane, unul
pentru a ajunge la
pagina
principala
Inapoi si unul pentru
iesire Iesire
Pe
butonul
Contact de
pe
pagina
principala
,
ajungem
in
fereastra
in
care
sunt
prezentate
datele
personale la
care ne puteti
contacta.
10
12
Baza de date
Caleap1.dbf
13
Codul sursa
USE caleap1
f1=CREATEOBJECT('form1')
f2=CREATEOBJECT('form2')
f3=CREATEOBJECT('form3')
f4=CREATEOBJECT('form4')
f5=CREATEOBJECT('form5')
f6=CREATEOBJECT('form6')
f7=CREATEOBJECT('form7')
f8=CREATEOBJECT('form8')
f9=CREATEOBJECT('form9')
f10=CREATEOBJECT('form10')
f11=CREATEOBJECT('form11')
f12=CREATEOBJECT('form12')
f13=CREATEOBJECT('form13')
f14=CREATEOBJECT('form14')
f15=CREATEOBJECT('form15')
f16=CREATEOBJECT('form16')
f1.show
READ events
DEFINE CLASS form1 as form
caption='Welcome'
closable=.f.
height=600
width=800
backcolor=RGB(82,82,82)
ADD OBJECT text as label
ADD OBJECT text1 as label
ADD OBJECT t1 as image
ADD OBJECT t2 as image
ADD OBJECT t3 as image
ADD OBJECT t4 as image
ADD OBJECT t5 as image
ADD OBJECT b1 as commandbutton
14
ADD
ADD
ADD
ADD
ADD
ADD
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
b2
b3
b4
b5
b6
b7
as
as
as
as
as
as
commandbutton
commandbutton
commandbutton
commandbutton
commandbutton
commandbutton
text.caption='SuperGym'
text.height=50
text.fontsize=20
text.left=50
text.forecolor=RGB(255,0,0)
text.fontbold=.t.
text.backstyle=0
text.top=15
text.width=200
text.visible=.t.
text1.caption='Sali de culturism si fitness in Barlad'
text1.height=50
text1.fontsize=15
text1.left=50
text1.forecolor=RGB(255,0,0)
text1.fontbold=.t.
text1.backstyle=0
text1.top=40
text1.width=500
text1.visible=.t.
t1.picture='salamic3.jpg'
t1.top=80
t1.left=5
t1.visible=.t.
t2.picture='salamic2.jpg'
t2.top=80
t2.left=208
t2.visible=.t.
t3.picture='salamic1.jpg'
t3.top=80
t3.left=411
t3.visible=.t.
t4.picture='salamic4.jpg'
t4.top=80
t4.left=610
t4.visible=.t.
t5.picture='salamic2o.jpg'
t5.top=160
t5.left=610
t5.visible=.t.
b1.caption='Home'
b1.height=50
b1.left=100
15
b1.fontsize=10
b1.top=250
b1.fontitalic=.t.
b1.forecolor=RGB(0,128,128)
b1.width=150
b1.visible=.t.
b2.caption='Sali'
b2.height=50
b2.left=400
b2.top=300
b2.fontsize=10
b2.fontitalic=.t.
b2.forecolor=RGB(0,128,128)
b2.width=150
b2.visible=.t.
b3.caption='Program exercitii'
b3.height=50
b3.left=100
b3.top=350
b3.fontsize=10
b3.fontitalic=.t.
b3.forecolor=RGB(0,128,128)
b3.width=150
b3.visible=.t.
b4.caption='Contact'
b4.height=50
b4.left=400
b4.top=400
b4.fontsize=10
b4.fontitalic=.t.
b4.forecolor=RGB(0,128,128)
b4.width=150
b4.visible=.t.
b5.caption='Locatie'
b5.height=50
b5.left=100
b5.top=450
b5.fontsize=10
b5.fontitalic=.t.
b5.forecolor=RGB(0,128,128)
b5.width=150
b5.visible=.t.
b6.caption='Iesire'
b6.height=50
b6.left=400
b6.top=500
b6.fontsize=10
b6.fontitalic=.t.
b6.forecolor=RGB(0,128,128)
b6.width=150
b6.visible=.t.
16
b7.caption='Rezervare online'
b7.height=50
b7.left=100
b7.top=550
b7.fontsize=10
b7.fontitalic=.t.
b7.forecolor=RGB(0,128,128)
b7.width=150
b7.visible=.t.
PROCEDURE b1.click
f1.hide
f2.show
ENDPROC
PROCEDURE b2.click
f1.hide
f8.show
ENDPROC
PROCEDURE b3.click
f14.show
f1.hide
ENDPROC
PROCEDURE b4.click
f1.hide
f3.show
ENDPROC
PROCEDURE b5.click
f1.hide
f4.show
ENDPROC
PROCEDURE b6.click
thisform.Release
CANCEL
ENDPROC
PROCEDURE b7.click
f1.hide
f5.show
ENDPROC
enddefine
DEFINE CLASS form2 as form
caption='Bine ati venit'
closable=.f.
height=600
width=965
backcolor=RGB(191,191,191)
ADD OBJECT text2 as label
ADD OBJECT text3 as Label
ADD OBJECT text4 as label
ADD OBJECT text5 as label
ADD OBJECT text6 as label
17
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
text7 as label
text8 as label
text9 as label
text10 as label
text11 as label
text12 as label
text13 as label
text14 as label
text15 as label
text16 as label
b7 as commandbutton
b8 as commandbutton
18
text5.width=10000
text5.visible=.t.
text6.caption='profesionala
de
ultima
generatie,
instructori
calificati, programe speciale de antrenament si o selectie '
text6.height=50
text6.fontsize=15
text6.left=5
text6.forecolor=RGB(0,0,0)
text6.fontbold=.t.
text6.backstyle=0
text6.top=170
text6.width=10000
text6.visible=.t.
text7.caption='excelenta de suplimente nutritive.'
text7.height=50
text7.fontsize=15
text7.left=300
text7.forecolor=RGB(0,0,0)
text7.fontbold=.t.
text7.backstyle=0
text7.top=205
text7.width=10000
text7.visible=.t.
text8.caption='Sala are aproximativ 750 de mp. cu sala de culturism,
aerobic, box, solar, sauna.'
text8.height=50
text8.fontsize=15
text8.left=100
text8.forecolor=RGB(0,0,0)
text8.fontbold=.t.
text8.backstyle=0
text8.top=235
text8.width=10000
text8.visible=.t.
text9.caption='Nou la SuperGym:'
text9.height=50
text9.fontsize=15
text9.left=5
text9.forecolor=RGB(255,0,0)
text9.fontbold=.t.
text9.backstyle=0
text9.top=280
text9.width=10000
text9.visible=.t.
text10.caption='-> solar(aparat de bronzat) 1 leu/minutul'
text10.height=50
text10.fontsize=15
text10.left=5
text10.forecolor=RGB(0,0,0)
text10.fontbold=.t.
text10.backstyle=0
text10.top=310
19
text10.width=10000
text10.visible=.t.
text11.caption='-> sauna finlandeza 60 de lei/ora'
text11.height=50
text11.fontsize=15
text11.left=5
text11.forecolor=RGB(0,0,0)
text11.fontbold=.t.
text11.backstyle=0
text11.top=335
text11.width=10000
text11.visible=.t.
text12.caption='-> box si kick-boxing'
text12.height=50
text12.fontsize=15
text12.left=5
text12.forecolor=RGB(0,0,0)
text12.fontbold=.t.
text12.backstyle=0
text12.top=360
text12.width=10000
text12.visible=.t.
text13.caption='-> gimnastica aerobica '
text13.height=50
text13.fontsize=15
text13.left=5
text13.forecolor=RGB(0,0,0)
text13.fontbold=.t.
text13.backstyle=0
text13.top=385
text13.width=10000
text13.visible=.t.
text14.caption='In curand SuperGym:'
text14.height=50
text14.fontsize=15
text14.left=5
text14.forecolor=RGB(255,0,0)
text14.fontbold=.t.
text14.backstyle=0
text14.top=420
text14.width=10000
text14.visible=.t.
text15.caption='-> kendo'
text15.height=50
text15.fontsize=15
text15.left=5
text15.forecolor=RGB(0,0,0)
text15.fontbold=.t.
text15.backstyle=0
text15.top=445
text15.width=10000
text15.visible=.t.
20
21
t1.caption='Email: supergym@gmail.com'
t1.height=50
t1.fontsize=15
t1.left=100
t1.forecolor=RGB(0,0,0)
t1.fontbold=.t.
t1.backstyle=0
t1.top=150
t1.width=10000
t1.visible=.t.
p1.picture='avatar-steagul-romaniei_01.jpg'
p1.top=50
p1.left=180
p1.visible=.t.
t2.caption='Telefon: 461.56.90'
t2.height=50
t2.fontsize=15
t2.left=150
t2.forecolor=RGB(0,0,0)
t2.fontbold=.t.
t2.backstyle=0
t2.top=190
t2.width=10000
t2.visible=.t.
t3.caption='Ne puteti contacta in intervalul 08:00-22:00'
t3.height=50
t3.fontsize=15
t3.left=50
t3.forecolor=RGB(0,0,0)
t3.fontbold=.t.
t3.backstyle=0
t3.top=250
t3.width=10000
t3.visible=.t.
t4.caption='Va asteptam'
t4.height=50
t4.fontsize=15
t4.left=200
t4.forecolor=RGB(0,0,0)
t4.fontbold=.t.
t4.backstyle=0
t4.top=300
t4.width=10000
t4.visible=.t.
b9.caption='Inapoi'
b9.height=50
b9.left=50
b9.top=400
b9.fontsize=10
b9.fontitalic=.t.
b9.forecolor=RGB(0,128,128)
b9.width=150
22
b9.visible=.t.
b10.caption='Iesire'
b10.height=50
b10.left=300
b10.top=400
b10.fontsize=10
b10.fontitalic=.t.
b10.forecolor=RGB(0,128,128)
b10.width=150
b10.visible=.t.
PROCEDURE b9.click
f3.hide
f1.show
ENDPROC
PROCEDURE b10.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
DEFINE CLASS form4 as Form
Caption='Unde ne gasiti'
height=600
width=800
backcolor=RGB(198,226,255)
ADD OBJECT p2 as image
ADD OBJECT t1 as label
ADD OBJECT t2 as label
ADD OBJECT t3 as label
ADD OBJECT b11 as commandbutton
ADD OBJECT b12 as commandbutton
p2.picture='avatar-steagul-romaniei_01.jpg'
p2.top=50
p2.left=300
p2.visible=.t.
t1.caption='Sala este situata in Barlad, Strada Tudor Vladimirescu nr.
57,'
t1.height=50
t1.fontsize=15
t1.left=140
t1.forecolor=RGB(0,0,0)
t1.fontbold=.t.
t1.backstyle=0
t1.top=150
t1.width=10000
t1.visible=.t.
t2.caption='in cladirea fabricii de abrazivi "Carbochim", etajul 2.'
t2.height=50
t2.fontsize=15
t2.left=100
23
t2.forecolor=RGB(0,0,0)
t2.fontbold=.t.
t2.backstyle=0
t2.top=180
t2.width=10000
t2.visible=.t.
t3.caption='Telefon: 461.56.90'
t3.height=50
t3.fontsize=15
t3.left=300
t3.forecolor=RGB(0,0,0)
t3.fontbold=.t.
t3.backstyle=0
t3.top=210
t3.width=10000
t3.visible=.t.
b11.caption='Inapoi'
b11.height=50
b11.left=50
b11.top=500
b11.fontsize=10
b11.fontitalic=.t.
b11.forecolor=RGB(0,128,128)
b11.width=150
b11.visible=.t.
b12.caption='Iesire'
b12.height=50
b12.left=600
b12.top=500
b12.fontsize=10
b12.fontitalic=.t.
b12.forecolor=RGB(0,128,128)
b12.width=150
b12.visible=.t.
PROCEDURE b11.click
f1.show
f4.hide
ENDPROC
PROCEDURE b12.click
thisform.Release
CANCEL
ENDPROC
enddefine
DEFINE CLASS form5 as Form
Caption='Inregistrare'
height=600
width=800
backcolor=RGB(0,0,0)
ADD OBJECT t1 as label
ADD OBJECT c1 as textbox
24
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
OBJECT
t2 as label
c2 as textbox
t3 as label
c3 as textbox
t4 as label
c4 as textbox
t5 as label
d5 as combobox
b13 as commandbutton
b14 as commandbutton
t1.caption='Nume'
t1.height=50
t1.fontsize=20
t1.left=200
t1.fontname='forte'
t1.forecolor=RGB(255,255,255)
t1.fontbold=.t.
t1.backstyle=0
t1.top=100
t1.width=10000
t1.visible=.t.
c1.height=25
c1.left=330
c1.top=103
c1.width=200
c1.visible=.t.
t2.caption='Prenume'
t2.height=50
t2.fontsize=20
t2.left=200
t2.fontname='forte'
t2.forecolor=RGB(255,255,255)
t2.fontbold=.t.
t2.backstyle=0
t2.top=140
t2.width=10000
t2.visible=.t.
c2.height=25
c2.left=330
c2.top=143
c2.width=200
c2.visible=.t.
t3.caption='Varsta'
t3.height=50
t3.fontsize=20
t3.left=200
t3.fontname='forte'
t3.forecolor=RGB(255,255,255)
t3.fontbold=.t.
t3.backstyle=0
t3.top=180
t3.width=10000
25
t3.visible=.t.
c3.height=25
c3.left=330
c3.top=183
c3.width=200
c3.visible=.t.
t4.caption='Durata'
t4.height=50
t4.fontsize=20
t4.left=200
t4.fontname='forte'
t4.forecolor=RGB(255,255,255)
t4.fontbold=.t.
t4.backstyle=0
t4.top=220
t4.width=10000
t4.visible=.t.
c4.height=25
c4.left=330
c4.top=223
c4.width=200
c4.visible=.t.
t5.caption='Plata'
t5.height=50
t5.fontsize=20
t5.left=200
t5.fontname='forte'
t5.forecolor=RGB(255,255,255)
t5.fontbold=.t.
t5.backstyle=0
t5.top=260
t5.width=10000
t5.visible=.t.
d5.rowsourcetype=5
d5.rowsource='a'
d5.controlsource=""
d5.fontbold=.t.
d5.top=220
d5.left=330
d5.forecolor=RGB(255,64,64)
d5.numberofelements=4
d5.style=2
d5.top=263
d5.width=200
PROCEDURE load
PUBLIC a
DIMENSION a(5)
endproc
PROCEDURE init
26
a(1)='Cash'
a(2)='Card'
a(3)='Virament bancar'
a(4)=' '
this.d5.listindex=4
ENDPROC
b13.caption='Inapoi'
b13.height=50
b13.left=50
b13.top=550
b13.fontsize=10
b13.fontitalic=.t.
b13.forecolor=RGB(0,128,128)
b13.width=150
b13.visible=.t.
b14.caption='Confirm'
b14.height=50
b14.left=600
b14.top=550
b14.fontsize=10
b14.fontitalic=.t.
b14.forecolor=RGB(0,128,128)
b14.width=150
b14.visible=.t.
PROCEDURE b13.click
f5.hide
f1.show
PROCEDURE b14.click
LOCATE FOR nume=ALLTRIM(f5.c1.value) AND prenume=ALLTRIM(f5.c2.value)
IF FOUND()=.t.
MESSAGEBOX("exista deja",16)
f5.hide
f7.show
else
f5.hide
f6.show
endif
ENDPROC
enddefine
DEFINE CLASS form6 as Form
Caption='Succes'
height=500
width=600
picture='97c8176fe1.jpg'
ADD OBJECT text as label
ADD OBJECT text1 as label
ADD OBJECT b15 as commandbutton
27
28
b16.caption='Iesire'
b16.height=50
b16.left=300
b16.top=480
b16.fontsize=20
b16.fontitalic=.t.
b16.forecolor=RGB(0,128,128)
b16.width=150
b16.visible=.t.
PROCEDURE b16.click
thisform.Release
cancel
ENDPROC
enddefine
DEFINE CLASS form8 as Form
caption='Sali'
height=600
width=700
backcolor=RGB(198,226,255)
ADD OBJECT t1 as label
ADD OBJECT t2 as label
ADD OBJECT t3 as label
ADD OBJECT t4 as label
ADD OBJECT b17 as commandbutton
ADD OBJECT b18 as commandbutton
ADD OBJECT b19 as commandbutton
ADD OBJECT b20 as commandbutton
ADD OBJECT b21 as commandbutton
ADD OBJECT b22 as commandbutton
ADD OBJECT b23 as commandbutton
t1.caption= 'Orar:'
t1.height=30
t1.fontsize=15
t1.fontbold=.t.
t1.backstyle=0
t1.forecolor=RGB(30,144,255)
t1.left=300
t1.top=15
t1.width=500
t1.visible=.t.
t2.caption= 'luni-vineri: 7.30-22.30'
t2.height=30
t2.fontsize=15
t2.fontbold=.t.
t2.backstyle=0
t2.forecolor=RGB(30,144,255)
t2.left=230
t2.top=40
t2.width=500
t2.visible=.t.
29
30
b20.fontsize=15
b20.top=280
b20.fontitalic=.t.
b20.forecolor=RGB(255,0,0)
b20.width=150
b20.visible=.t.
b21.caption='Sauna'
b21.height=50
b21.left=480
b21.fontsize=15
b21.top=280
b21.fontitalic=.t.
b21.forecolor=RGB(255,0,0)
b21.width=150
b21.visible=.t.
b22.caption='Iesire'
b22.height=50
b22.left=500
b22.top=500
b22.fontsize=20
b22.fontitalic=.t.
b22.forecolor=RGB(0,128,128)
b22.width=150
b22.visible=.t.
b23.caption='Inapoi'
b23.height=50
b23.left=50
b23.top=500
b23.fontsize=20
b23.fontitalic=.t.
b23.forecolor=RGB(0,128,128)
b23.width=150
b23.visible=.t.
PROCEDURE b17.click
f8.hide
f9.show
ENDPROC
PROCEDURE b18.click
f10.show
f8.hide
ENDPROC
PROCEDURE b19.click
f11.show
f8.hide
ENDPROC
PROCEDURE b20.click
f12.show
f8.hide
ENDPROC
31
PROCEDURE b21.click
f13.show
f8.hide
endproc
PROCEDURE b22.click
thisform.Release
CANCEL
ENDPROC
PROCEDURE b23.click
f8.hide
f1.show
ENDPROC
enddefine
DEFINE CLASS form9 as form
Caption='Sala'
height=600
width=1000
backcolor=RGB(110,110,110)
ADD OBJECT i1 as image
ADD OBJECT i2 as image
ADD OBJECT b24 as commandbutton
ADD OBJECT b25 as commandbutton
i1.picture='sala50.jpg'
i1.top=0
i1.left=4
i1.visible=.t.
i1.height=250
i2.picture='sala40.jpg'
i2.top=300
i2.left=3
i2.visible=.t.
I2.height=250
b25.caption='Iesire'
b25.height=50
b25.left=700
b25.top=200
b25.fontsize=20
b25.fontitalic=.t.
b25.forecolor=RGB(0,128,128)
b25.width=150
b25.visible=.t.
b24.caption='Inapoi'
b24.height=50
b24.left=700
b24.top=400
b24.fontsize=20
b24.fontitalic=.t.
b24.forecolor=RGB(0,128,128)
b24.width=150
32
b24.visible=.t.
PROCEDURE b24.click
f8.show
f9.hide
ENDPROC
PROCEDURE b25.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
DEFINE CLASS form10 as Form
Caption='Box'
height=600
width=900
backcolor=RGB(110,110,110)
ADD OBJECT t1 as label
ADD OBJECT i3 as image
ADD OBJECT t2 as label
ADD OBJECT t3 as label
ADD OBJECT t4 as label
ADD OBJECT t5 as label
ADD OBJECT t6 as label
ADD OBJECT b26 as commandbutton
ADD OBJECT b27 as commandbutton
t1.caption= 'Sala de 180 mp., 3 saci de piele, 3 saci speciali pt.
Kick-Boxing.'
t1.height=30
t1.fontsize=15
t1.fontbold=.t.
t1.backstyle=0
t1.forecolor=RGB(30,144,255)
t1.left=100
t1.top=15
t1.width=700
t1.visible=.t.
i3.picture='box.jpg'
i3.top=40
i3.left=100
i3.visible=.t.
t2.caption= 'Orar'
t2.height=30
t2.fontsize=15
t2.fontbold=.t.
t2.backstyle=0
t2.forecolor=RGB(30,144,255)
t2.left=420
t2.top=400
t2.width=700
t2.visible=.t.
33
34
b27.height=50
b27.left=60
b27.top=550
b27.fontsize=20
b27.fontitalic=.t.
b27.forecolor=RGB(0,128,128)
b27.width=150
b27.visible=.t.
PROCEDURE b27.click
f10.hide
f8.show
ENDPROC
PROCEDURE b26.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
DEFINE CLASS form11 as Form
Caption='Aerobic'
height=600
width=900
backcolor=RGB(110,110,110)
ADD OBJECT i4 as image
ADD OBJECT t1 as label
ADD OBJECT t2 as label
ADD OBJECT t3 as label
ADD OBJECT t4 as label
ADD OBJECT t5 as label
ADD OBJECT t6 as label
ADD OBJECT t7 as label
ADD OBJECT t8 as label
ADD OBJECT t9 as label
ADD OBJECT t10 as label
ADD OBJECT t11 as label
ADD OBJECT t12 as label
ADD OBJECT b28 as commandbutton
ADD OBJECT b29 as commandbutton
t1.caption='Orar'
t1.height=30
t1.fontsize=15
t1.fontbold=.t.
t1.backstyle=0
t1.forecolor=RGB(30,144,255)
t1.left=420
t1.top=90
t1.width=700
t1.visible=.t.
t2.caption='Luni-Vineri'
t2.height=30
t2.fontsize=15
t2.fontbold=.t.
t2.backstyle=0
35
t2.forecolor=RGB(30,144,255)
t2.left=200
t2.top=150
t2.width=700
t2.visible=.t.
t3.caption='9.00-11.00'
t3.height=30
t3.fontsize=15
t3.fontbold=.t.
t3.backstyle=0
t3.forecolor=RGB(30,144,255)
t3.left=200
t3.top=170
t3.width=700
t3.visible=.t.
t4.caption='18.30-20.30'
t4.height=30
t4.fontsize=15
t4.fontbold=.t.
t4.backstyle=0
t4.forecolor=RGB(30,144,255)
t4.left=200
t4.top=190
t4.width=700
t4.visible=.t.
t5.caption='Sambata'
t5.height=30
t5.fontsize=15
t5.fontbold=.t.
t5.backstyle=0
t5.forecolor=RGB(30,144,255)
t5.left=400
t5.top=150
t5.width=700
t5.visible=.t.
t6.caption='10.00-11.00'
t6.height=30
t6.fontsize=15
t6.fontbold=.t.
t6.backstyle=0
t6.forecolor=RGB(30,144,255)
t6.left=400
t6.top=170
t6.width=700
t6.visible=.t.
t7.caption='18.00-19.00'
t7.height=30
t7.fontsize=15
t7.fontbold=.t.
t7.backstyle=0
t7.forecolor=RGB(30,144,255)
t7.left=400
36
t7.top=190
t7.width=700
t7.visible=.t.
t8.caption='Duminica'
t8.height=30
t8.fontsize=15
t8.fontbold=.t.
t8.backstyle=0
t8.forecolor=RGB(30,144,255)
t8.left=600
t8.top=150
t8.width=700
t8.visible=.t.
t9.caption='Inchis'
t9.height=30
t9.fontsize=15
t9.fontbold=.t.
t9.backstyle=0
t9.forecolor=RGB(30,144,255)
t9.left=600
t9.top=170
t9.width=700
t9.visible=.t.
t10.caption='Pret:'
t10.height=30
t10.fontsize=15
t10.fontbold=.t.
t10.backstyle=0
t10.forecolor=RGB(30,144,255)
t10.left=420
t10.top=250
t10.width=700
t10.visible=.t.
t11.caption='40 lei/luna dimineata'
t11.height=30
t11.fontsize=15
t11.fontbold=.t.
t11.backstyle=0
t11.forecolor=RGB(30,144,255)
t11.left=420
t11.top=270
t11.width=700
t11.visible=.t.
t12.caption='50 lei/luna seara'
t12.height=30
t12.fontsize=15
t12.fontbold=.t.
t12.backstyle=0
t12.forecolor=RGB(30,144,255)
t12.left=420
t12.top=290
t12.width=700
37
t12.visible=.t.
i4.picture='aerobic1.jpg'
i4.top=10
i4.left=120
i4.visible=.t.
i4.height=300
b28.caption='Inapoi'
b28.height=50
b28.left=60
b28.top=550
b28.fontsize=20
b28.fontitalic=.t.
b28.forecolor=RGB(0,128,128)
b28.width=150
b28.visible=.t.
b29.caption='Iesire'
b29.height=50
b29.left=700
b29.top=550
b29.fontsize=20
b29.fontitalic=.t.
b29.forecolor=RGB(0,128,128)
b29.width=150
b29.visible=.t.
PROCEDURE b28.click
f8.show
f11.hide
ENDPROC
PROCEDURE b29.click
thisform.Release
CANCEL
ENDPROC
enddefine
DEFINE CLASS form12 as Form
Caption='Solar'
height=550
width=900
backcolor=RGB(110,110,110)
ADD OBJECT i5 as image
ADD object t1 as label
ADD OBJECT b30 as commandbutton
ADD OBJECT b31 as commandbutton
t1.caption='Pret:1 leu minutul, 26 de tuburi de 120W + extra facial 4 X
180W'
t1.height=30
t1.fontsize=15
t1.fontbold=.t.
t1.backstyle=0
t1.forecolor=RGB(30,144,255)
38
t1.left=150
t1.top=450
t1.width=700
t1.visible=.t.
i5.picture='solar.jpg'
i5.top=10
i5.left=150
i5.visible=.t.
b30.caption='Inapoi'
b30.height=50
b30.left=60
b30.top=500
b30.fontsize=20
b30.fontitalic=.t.
b30.forecolor=RGB(0,128,128)
b30.width=150
b30.visible=.t.
b31.caption='Iesire'
b31.height=50
b31.left=700
b31.top=500
b31.fontsize=20
b31.fontitalic=.t.
b31.forecolor=RGB(0,128,128)
b31.width=150
b31.visible=.t.
PROCEDURE b30.click
f8.show
f12.hide
ENDPROC
PROCEDURE b31.click
thisform.Release
CANCEL
ENDPROC
enddefine
DEFINE CLASS form13 as Form
Caption='Sauna'
height=600
width=900
backcolor=RGB(110,110,110)
ADD OBJECT i6 as image
ADD object t1 as label
ADD OBJECT b32 as commandbutton
ADD OBJECT b33 as commandbutton
i6.picture='sauna.jpg'
i6.top=10
i6.left=150
i6.visible=.t.
t1.caption='Pret 5 lei/ora '
39
t1.height=30
t1.fontsize=15
t1.fontbold=.t.
t1.backstyle=0
t1.forecolor=RGB(30,144,255)
t1.left=450
t1.top=450
t1.width=700
t1.visible=.t.
b32.caption='Inapoi'
b32.height=50
b32.left=60
b32.top=550
b32.fontsize=20
b32.fontitalic=.t.
b32.forecolor=RGB(0,128,128)
b32.width=150
b32.visible=.t.
b33.caption='Iesire'
b33.height=50
b33.left=700
b33.top=550
b33.fontsize=20
b33.fontitalic=.t.
b33.forecolor=RGB(0,128,128)
b33.width=150
b33.visible=.t.
PROCEDURE b32.click
f8.show
f13.hide
ENDPROC
PROCEDURE b33.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
DEFINE CLASS form14 as Form
Caption='Aparate'
height=500
width=600
backcolor=RGB(110,110,110)
ADD OBJECT b36 as commandbutton
ADD OBJECT b37 as commandbutton
ADD OBJECT b34 as commandbutton
ADD OBJECT b35 as commandbutton
b36.caption='Program A'
b36.height=50
b36.left=50
b36.fontsize=10
b36.top=100
40
b36.fontitalic=.t.
b36.forecolor=RGB(0,128,128)
b36.width=150
b36.visible=.t.
b37.caption='Program B'
b37.height=50
b37.left=400
b37.fontsize=10
b37.top=140
b37.fontitalic=.t.
b37.forecolor=RGB(0,128,128)
b37.width=150
b37.visible=.t.
b34.caption='Inapoi'
b34.height=50
b34.left=60
b34.top=400
b34.fontsize=20
b34.fontitalic=.t.
b34.forecolor=RGB(0,128,128)
b34.width=150
b34.visible=.t.
b35.caption='Iesire'
b35.height=50
b35.left=400
b35.top=400
b35.fontsize=20
b35.fontitalic=.t.
b35.forecolor=RGB(0,128,128)
b35.width=150
b35.visible=.t.
PROCEDURE b36.click
f15.show
f14.hide
ENDPROC
PROCEDURE b37.click
f16.show
f14.hide
endproc
PROCEDURE b34.click
f1.show
f14.hide
ENDPROC
PROCEDURE b35.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
41
'
42
t4.backstyle=0
t4.forecolor=RGB(0,255,255)
t4.left=10
t4.top=61
t4.width=700
t4.visible=.t.
t5.caption='Umeri '
t5.height=30
t5.fontsize=15
t5.fontbold=.t.
t5.backstyle=0
t5.forecolor=RGB(0,0,0)
t5.left=10
t5.top=90
t5.width=700
t5.visible=.t.
t6.caption='-ridicari pe verticala cu ganterele din pozitia sezand
t6.height=30
t6.fontsize=10
t6.fontbold=.t.
t6.backstyle=0
t6.forecolor=RGB(0,255,255)
t6.left=10
t6.top=108
t6.width=700
t6.visible=.t.
t7.caption='-ridicari laterale cu gantere din stand
t7.height=30
t7.fontsize=10
t7.fontbold=.t.
t7.backstyle=0
t7.forecolor=RGB(0,255,255)
t7.left=10
t7.top=121
t7.width=700
t7.visible=.t.
'
'
43
t9.forecolor=RGB(0,0,0)
t9.left=10
t9.top=160
t9.width=700
t9.visible=.t.
t10.caption='-French press '
t10.height=30
t10.fontsize=10
t10.fontbold=.t.
t10.backstyle=0
t10.forecolor=RGB(0,255,255)
t10.left=10
t10.top=183
t10.width=700
t10.visible=.t.
t11.caption='-impins bara din plan orizontal cu bratele mai apropiate
decat la exercitiile pt piept '
t11.height=30
t11.fontsize=10
t11.fontbold=.t.
t11.backstyle=0
t11.forecolor=RGB(0,255,255)
t11.left=10
t11.top=200
t11.width=700
t11.visible=.t.
t12.caption='-scripete
'
t12.height=30
t12.fontsize=10
t12.fontbold=.t.
t12.backstyle=0
t12.forecolor=RGB(0,255,255)
t12.left=10
t12.top=218
t12.width=700
t12.visible=.t.
b38.caption='Inapoi'
b38.height=50
b38.left=60
b38.top=400
b38.fontsize=20
b38.fontitalic=.t.
b38.forecolor=RGB(0,128,128)
b38.width=160
b38.visible=.t.
b39.caption='Iesire'
b39.height=50
b39.left=400
b39.top=400
b39.fontsize=20
b39.fontitalic=.t.
44
b39.forecolor=RGB(0,128,128)
b39.width=150
b39.visible=.t.
PROCEDURE b38.click
f14.show
f15.hide
ENDPROC
PROCEDURE b39.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
DEFINE CLASS form16 as Form
Caption='Program B'
height=500
width=600
backcolor=RGB(110,110,110)
ADD OBJECT t1 as label
ADD OBJECT t2 as label
ADD OBJECT t3 as label
ADD OBJECT t5 as label
ADD OBJECT t6 as label
ADD OBJECT t7 as label
ADD OBJECT t8 as label
ADD OBJECT t9 as label
ADD OBJECT t10 as label
ADD OBJECT t11 as label
ADD OBJECT t12 as label
ADD OBJECT b40 as CommandButton
ADD OBJECT b41 as commandbutton
t1.caption='Spate '
t1.height=30
t1.fontsize=15
t1.fontbold=.t.
t1.backstyle=0
t1.forecolor=RGB(0,0,0)
t1.left=10
t1.top=15
t1.width=700
t1.visible=.t.
t2.caption='-scripete la piept din pozitia sezand pe scaun '
t2.height=30
t2.fontsize=10
t2.fontbold=.t.
t2.backstyle=0
t2.forecolor=RGB(0,255,255)
t2.left=10
t2.top=35
t2.width=700
t2.visible=.t.
t3.caption='-"canotaj" la scripete '
45
t3.height=30
t3.fontsize=10
t3.fontbold=.t.
t3.backstyle=0
t3.forecolor=RGB(0,255,255)
t3.left=10
t3.top=48
t3.width=700
t3.visible=.t.
t5.caption='Biceps '
t5.height=30
t5.fontsize=15
t5.fontbold=.t.
t5.backstyle=0
t5.forecolor=RGB(0,0,0)
t5.left=10
t5.top=90
t5.width=700
t5.visible=.t.
t6.caption='-flexii cu gantere din sezand
t6.height=30
t6.fontsize=10
t6.fontbold=.t.
t6.backstyle=0
t6.forecolor=RGB(0,255,255)
t6.left=10
t6.top=108
t6.width=700
t6.visible=.t.
t7.caption='-flexii hammer din sezand
t7.height=30
t7.fontsize=10
t7.fontbold=.t.
t7.backstyle=0
t7.forecolor=RGB(0,255,255)
t7.left=10
t7.top=121
t7.width=700
t7.visible=.t.
'
46
'
'
t9.fontsize=15
t9.fontbold=.t.
t9.backstyle=0
t9.forecolor=RGB(0,0,0)
t9.left=10
t9.top=160
t9.width=700
t9.visible=.t.
t10.caption='-impins presa plan inclinat (45 grade)
t10.height=30
t10.fontsize=10
t10.fontbold=.t.
t10.backstyle=0
t10.forecolor=RGB(0,255,255)
t10.left=10
t10.top=183
t10.width=700
t10.visible=.t.
t11.caption='-extensii picioare pt cvadriceps femural
t11.height=30
t11.fontsize=10
t11.fontbold=.t.
t11.backstyle=0
t11.forecolor=RGB(0,255,255)
t11.left=10
t11.top=200
t11.width=700
t11.visible=.t.
'
'
47
'
b41.fontitalic=.t.
b41.forecolor=RGB(0,128,128)
b41.width=150
b41.visible=.t.
PROCEDURE b40.click
f14.show
f16.hide
ENDPROC
PROCEDURE b41.click
thisform.Release
CANCEL
ENDPROC
ENDDEFINE
BIBLIOGRAFIE
1. Gabriel si Mihai DIMA, FOXPRO, Editura TEORA, 1998.
2. Gabriel si Mihai DIMA, FOXPRO. MENIURI, Editura TEORA, 1997.
3. Mariana PANTIRU, Informatica economica. Baze de date. Proiect de
manual pentru clasele XI-XII, Editura Petrion, Bucuresti, 1996
4. Gabriel si Mihai DIMA, Programarea calculatoarelor. Proiect de manual
pentru clasa a XI-a, alternativa B, Editura TEORA, 1998.
48
49