уменьшил количество элементов еще на 10 штук, исправил грамматические (и логические) ошибки
Add(MainForm,14555940,700,525)
{
Width=351
Height=220
Color=12639424
Caption="Кнопки"
BorderStyle=1
Icon=[ZIP5E07000078DAD5D43F0E82301406F0CF387474336C3A327A0CEFE301908103B0303131790C8FE2111C9D7CF68F358FB6606B9A101F5F190AFD85022DB0924751409D7114C01640299BECC201A65FD55EE09FEBECD56F02707212AF8D85CA4B94C61033AAF1F2D6E6A910D2B2B8541CD24EE40BC51C8E742C0E1570C648C3909EA5F326E852A187F920838E4F253952B8E80C8B3A94635E6493FC9E67A984EF1EFA0F8D93FC1F4E50C9EB22E33ACDB56F64DCC7F2EEAB0B16D9AA899EA8E8811DDDB1D1ED06A1DB15EB60B3D7EDFD6AAC329465EB0553EE21CC]
Position=1
link(onCreate,13096396:doWork3,[(780,545)(780,482)])
}
Add(LED,14515248,469,231)
{
Left=295
Top=60
Width=35
Height=30
Color=12639424
Point(onMouseDown)
link(onMouseDown,10350524:doData,[])
}
Add(LED,2301653,469,280)
{
Left=245
Top=60
Width=35
Height=30
Color=12639424
Point(onMouseDown)
link(onMouseDown,16223835:doData,[])
}
Add(LED,11516964,469,329)
{
Left=195
Top=60
Width=35
Height=30
Color=12639424
Point(onMouseDown)
link(onMouseDown,1864205:doData,[])
}
Add(Random,13324051,315,224)
{
Min=7
Max=15
link(onRandom,1003920:doCase,[])
}
Add(Timer,15371999,231,252)
{
Interval=70
Enable=1
Point(doInterval)
link(onTimer,6795061:doEvent1,[])
}
Add(ComboBox,16538822,119,294)
{
Left=10
Top=70
Width=145
Height=21
Strings=#9:1 уровень|9:2 уровень|9:3 уровень|9:4 уровень|
Text=""
ReadOnly=0
Point(doSelect)
link(onClick,5755001:doGetString,[])
}
Add(Label,13229662,798,294)
{
Left=10
Top=135
Width=56
Height=20
Color=12639424
Font=[Arial,10,1,0,204]
Caption="Счет: 0"
}
Add(Label,14994431,357,371)
{
Left=10
Top=110
Width=71
Height=20
Color=12639424
Font=[Arial,10,1,0,204]
Caption="Время: 60"
}
Add(Timer,14960863,175,371)
{
Enable=1
link(onTimer,1224711:doNext,[])
}
Add(Counter,1224711,231,371)
{
Max=60
Type=1
link(onNext,12140122:doEvent1,[])
}
Add(If_else,7852916,322,420)
{
Op2=Integer(0)
link(onTrue,11037275:doEvent1,[])
}
Add(Hub,11037275,371,420)
{
OutCount=7
link(onEvent1,14960863:doStop,[(391,426)(391,412)(162,412)(162,384)])
link(onEvent2,15371999:doStop,[(402,433)(402,361)(219,361)(219,265)])
link(onEvent3,14515248:doOff,[(429,440)(429,244)])
link(onEvent4,2301653:doOff,[(443,447)(443,293)])
link(onEvent5,11516964:doOff,[(455,454)(455,342)])
link(onEvent6,16125820:doWork2,[(414,461)(414,197)(95,197)(95,160)])
link(onEvent7,5191515:doStrCatDlm,[(432,468)(432,489)])
}
Add(Button,4647344,154,147)
{
Left=195
Top=105
Width=140
Height=50
Caption="Старт"
Point(doEnabled)
link(onClick,9945651:doEvent1,[(199,153)(199,136)(46,136)(46,209)])
}
Add(MenuEx,16152188,525,392)
{
Menu=#7:справка|5:about|4:счет|
Bitmaps=[]
link(MenuItemIdx,13244207:doEvent,[])
}
Add(IndexToChanel,13244207,588,392)
{
Count=3
link(onEvent1,9029450:doMessage,[])
link(onEvent2,13177627:doWork1,[(633,405)(633,433)])
link(onEvent3,13096396:doWork1,[(627,412)(627,468)])
}
Add(ChildForm,13177627,644,427)
{
}
BEGIN_SDK
Add(EditMulti,6712881,21,21)
{
WorkCount=1
Width=363
Height=221
link(doWork1,8860366:doVisible,[(39,27)(39,83)])
}
Add(MainForm,8860366,56,49)
{
Left=35
Top=105
Width=302
Height=187
Color=12639424
Visible=1
Caption="About"
BorderStyle=1
Icon=[ZIP5E07000078DAD5D43F0E82301406F0CF387474336C3A327A0CEFE301908103B0303131790C8FE2111C9D7CF68F358FB6606B9A101F5F190AFD85022DB0924751409D7114C01640299BECC201A65FD55EE09FEBECD56F02707212AF8D85CA4B94C61033AAF1F2D6E6A910D2B2B8541CD24EE40BC51C8E742C0E1570C648C3909EA5F326E852A187F920838E4F253952B8E80C8B3A94635E6493FC9E67A984EF1EFA0F8D93FC1F4E50C9EB22E33ACDB56F64DCC7F2EEAB0B16D9AA899EA8E8811DDDB1D1ED06A1DB15EB60B3D7EDFD6AAC329465EB0553EE21CC]
Point(doVisible)
}
Add(Button,6879204,105,147)
{
Left=105
Top=100
Color=12639424
Caption="ОК"
link(onClick,8860366:doClose,[(149,153)(149,115)(44,115)(44,76)])
}
Add(LED,14515248,287,28)
{
Left=170
Top=25
Width=35
Height=30
Color=12639424
Point(onMouseDown)
}
Add(LED,2301653,287,63)
{
Left=120
Top=25
Width=35
Height=30
Color=12639424
Point(onMouseDown)
}
Add(LED,11516964,287,98)
{
Left=70
Top=25
Width=35
Height=30
Color=12639424
Point(onMouseDown)
}
Add(Random,13324051,175,28)
{
Min=7
Max=15
link(onRandom,7815089:doCompare,[])
}
Add(If_else,7815089,231,28)
{
Op2=Integer(12)
link(onTrue,14515248:doChangeValue,[])
}
Add(Random,6233229,175,63)
{
Min=7
Max=15
link(onRandom,5000619:doCompare,[])
}
Add(If_else,5000619,231,63)
{
Op2=Integer(12)
link(onTrue,2301653:doChangeValue,[])
}
Add(Random,7927652,175,98)
{
Min=7
Max=15
link(onRandom,1072312:doCompare,[])
}
Add(If_else,1072312,231,98)
{
Op2=Integer(12)
link(onTrue,11516964:doChangeValue,[])
}
Add(Timer,15371999,105,56)
{
Interval=10
Point(doInterval)
link(onTimer,6795061:doEvent1,[])
}
Add(Hub,6795061,147,56)
{
OutCount=3
link(onEvent1,13324051:doRandom,[(168,62)(168,34)])
link(onEvent2,6233229:doRandom,[])
link(onEvent3,7927652:doRandom,[(168,76)(168,104)])
}
Add(Label,1527351,63,189)
{
Left=20
Top=75
Width=77
Height=19
Color=12639424
Font=[Arial,9,1,128,204]
Caption="Автор: Roma"
}
Add(Label,10990312,210,175)
{
Left=150
Top=75
Width=109
Height=19
Color=12639424
Font=[Arial,9,1,128,204]
Caption="rmakeew@mail.ru"
}
END_SDK
Add(Hub,9945651,56,203)
{
OutCount=5
link(onEvent1,16125820:doWork1,[(84,209)(84,153)])
link(onEvent2,12581667:doReset,[(652,216)(652,314)])
link(onEvent3,15371999:doTimer,[(219,223)(219,258)])
link(onEvent4,16538822:doSelect,[(105,230)(105,342)])
link(onEvent5,14960863:doTimer,[(94,237)(94,377)])
}
Add(ChildForm,13096396,798,462)
{
}
BEGIN_SDK
Add(EditMulti,6712881,21,21)
{
WorkCount=3
Width=125
Height=144
VOffset=77
link(doWork1,4167595:doWork2,[(32,104)(32,69)])
link(doWork2,345835:doEvent1,[])
link(doWork3,11899414:doLoad,[(35,118)(35,139)])
}
Add(MainForm,8860366,98,35)
{
Left=35
Top=105
Height=183
Visible=1
Caption="Справка"
BorderStyle=1
Icon=[ZIP5E07000078DAD5D43F0E82301406F0CF387474336C3A327A0CEFE301908103B0303131790C8FE2111C9D7CF68F358FB6606B9A101F5F190AFD85022DB0924751409D7114C01640299BECC201A65FD55EE09FEBECD56F02707212AF8D85CA4B94C61033AAF1F2D6E6A910D2B2B8541CD24EE40BC51C8E742C0E1570C648C3909EA5F326E852A187F920838E4F253952B8E80C8B3A94635E6493FC9E67A984EF1EFA0F8D93FC1F4E50C9EB22E33ACDB56F64DCC7F2EEAB0B16D9AA899EA8E8811DDDB1D1ED06A1DB15EB60B3D7EDFD6AAC329465EB0553EE21CC]
Position=1
Point(doShowModal)
}
Add(Button,6879204,35,28)
{
Left=160
Top=115
Caption="ОК"
link(onClick,8860366:doClose,[(82,34)(82,62)])
}
Add(StringTable,11899414,98,112)
{
Left=45
Top=10
Width=295
Height=100
FileName="score.tbl"
Columns=#4:счет|3:имя|
Grid=0
SaveWidth=0
Redaction=1
StaticColumn=0
}
Add(Hub,345835,49,105)
{
OutCount=3
link(onEvent1,4167595:doWork3,[(81,111)])
link(onEvent2,11899414:doAdd,[])
link(onEvent3,11899414:doSave,[(81,125)(81,146)])
}
Add(HubEx,4167595,77,63)
{
link(onEvent,8860366:doShowModal,[])
}
END_SDK
Add(Hub,12140122,280,371)
{
link(onEvent1,6926094:doStrCat,[])
link(onEvent2,7852916:doCompare,[(308,384)(308,426)])
}
Add(DoData,10350524,525,238)
{
link(onEventData,15906330:doWork1,[(574,244)])
link(Data,14515248:Value,[(531,226)(506,226)(506,274)(475,274)])
}
Add(DoData,16223835,525,287)
{
link(onEventData,15906330:doWork2,[])
link(Data,2301653:Value,[(531,275)(511,275)(511,322)(475,322)])
}
Add(DoData,1864205,525,336)
{
link(onEventData,15906330:doWork3,[(574,342)])
link(Data,11516964:Value,[(531,324)(514,324)(514,376)(475,376)])
}
Add(HubEx,15906330,570,287)
{
link(onEvent,16478190:doEvent,[])
}
Add(Edit,12301927,798,350)
{
Left=10
Top=40
Width=145
Text="NoName"
}
Add(StrList,5755001,175,259)
{
Strings=#2:70|2:60|2:40|2:10|0:|
Point(doGetString)
Point(onGetString)
link(onGetString,15371999:doInterval,[])
}
Add(Label,5783600,751,349)
{
Left=10
Top=10
Width=49
Height=20
Color=12639424
Font=[Arial,10,1,0,204]
Caption="Игрок: "
}
Add(Case,1003920,364,224)
{
Value=Integer(12)
link(onTrue,14515248:doChangeValue,[])
}
Add(Case,10847095,364,273)
{
Value=Integer(12)
link(onTrue,2301653:doChangeValue,[])
}
Add(Case,16607850,364,322)
{
Value=Integer(12)
link(onTrue,11516964:doChangeValue,[])
}
Add(Counter,12581667,700,294)
{
Max=1000
link(onNext,16277679:doStrCat,[])
}
Add(If_else,3245375,644,350)
{
Op2=Integer(0)
link(onFalse,12581667:doPrev,[(688,363)(688,307)])
link(Op1,12244232:Var1,[(650,334)])
}
Add(GetDataEx,12244232,700,329)
{
link(Data,12581667:Count,[])
}
Add(StrCatDelim,5191515,700,483)
{
Delimiter=";"
link(onStrCatDlm,13096396:doWork2,[(748,489)(748,475)])
link(Str1,12244232:Var2,[])
link(Str2,12301927:Text,[(713,411)(804,411)])
}
Add(Random,6233229,315,273)
{
Min=7
Max=15
link(onRandom,10847095:doCase,[])
}
Add(Random,7927652,315,322)
{
Min=7
Max=15
link(onRandom,16607850:doCase,[])
}
Add(Hub,6795061,273,252)
{
OutCount=3
link(onEvent1,13324051:doRandom,[(305,258)(305,230)])
link(onEvent2,6233229:doRandom,[(308,265)(308,279)])
link(onEvent3,7927652:doRandom,[(297,272)(297,328)])
}
Add(StrCat,16277679,749,294)
{
Str1="Счет: "
link(onStrCat,13229662:doText,[])
}
Add(ChanelToIndex,16125820,105,147)
{
link(onIndex,4647344:doEnabled,[])
}
Add(StrCat,6926094,315,371)
{
Str1="Время: "
link(onStrCat,14994431:doText,[])
}
Add(Label,8907754,469,175)
{
Left=210
Top=15
Width=107
Height=33
Color=12639424
Font=[MS Sans Serif,18,0,0,1]
Caption="КНОПКИ"
}
Add(Message,9029450,644,392)
{
Message="Нужно нажимать левой кнопкой мыши по кнопкам
При нажатии на горящую кнопку начисляется 1 балл
При нажании на потушенную кнопку снимается 1 балл
Всё нужно сделать за минуту!!!"
Caption="Справка"
Icon=4
}
Add(IndexToChanel,16478190,588,287)
{
link(onEvent1,3245375:doCompare,[(635,293)(635,356)])
link(onEvent2,12581667:doNext,[])
}