Add(MainForm,2953706,833,420)
{
Width=347
Height=180
Caption="Отгадыватель"
}
Add(Button,13180006,266,322)
{
Left=5
Top=105
Width=100
Height=35
Visible=1
Caption="Меньше"
Point(doVisible)
link(onClick,14771267:doData,[])
}
Add(Button,10877874,266,378)
{
Left=235
Top=105
Width=100
Height=35
Visible=1
Caption="Больше"
Point(doVisible)
link(onClick,2953354:doData,[])
}
Add(Button,16705393,315,420)
{
Left=120
Top=105
Width=100
Height=35
Visible=1
Caption="Верно"
Point(doVisible)
link(onClick,1158347:doEvent1,[])
}
Add(Label,15031933,259,161)
{
Left=125
Top=50
Width=75
Height=40
Font=[MS Sans Serif,24,1,16711680,1]
Visible=1
Caption="64"
AutoSize=1
Alignment=2
Point(doVisible)
}
Add(Label,7491422,742,266)
{
Left=5
Top=10
Width=330
Height=35
Font=[MS Sans Serif,14,1,0,1]
Caption="Загадай число от 1 до 128"
AutoSize=1
Alignment=2
}
Add(Button,14329849,21,196)
{
Left=95
Top=75
Width=135
Height=40
Font=[MS Sans Serif,18,0,0,1]
Caption="Готов"
Data=Integer(0)
Point(doVisible)
link(onClick,6356286:doEvent1,[])
}
Add(ChanelToIndex,414035,126,196)
{
link(onIndex,14329849:doVisible,[(170,202)(170,190)(9,190)(9,202)])
}
Add(Hub,6356286,84,196)
{
link(onEvent1,414035:doWork1,[])
link(onEvent2,818122:doWork2,[(109,209)(109,244)])
}
Add(ChanelToIndex,818122,126,231)
{
link(onIndex,9073480:doEvent1,[])
}
Add(Hub,9073480,210,231)
{
OutCount=5
link(onEvent1,15031933:doVisible,[(242,237)(242,174)])
link(onEvent2,8807357:doWork2,[])
link(onEvent3,13180006:doVisible,[(259,251)(259,328)])
link(onEvent4,10877874:doVisible,[(252,258)(252,384)])
link(onEvent5,16705393:doVisible,[(243,265)(243,426)])
}
Add(Math,1546321,462,266)
{
link(onResult,9612637:doOperation,[])
link(Op1,3972776:Var3,[(468,229)])
link(Op2,3518499:Value,[])
}
Add(Math,9612637,511,266)
{
OpType=3
Op2=2
ResultType=0
Default=50
link(onResult,7641520:doEvent1,[])
}
Add(DoData,5639721,336,266)
{
link(onEventData,6749239:doWork2,[])
link(Data,3972776:Var2,[])
}
Add(Memory,3396241,336,182)
{
Default=Integer(0)
}
Add(Memory,3518499,469,168)
{
Default=Integer(128)
}
Add(DoData,2953354,315,378)
{
link(onEventData,16149357:doEvent1,[])
link(Data,6935981:Var1,[(321,362)])
}
Add(DoData,14771267,336,322)
{
link(onEventData,8769083:doEvent1,[])
link(Data,14848961:Var1,[(342,313)])
}
Add(Hub,8769083,399,322)
{
link(onEvent1,3518499:doValue,[(427,328)(427,174)])
link(onEvent2,6749239:doWork3,[(438,335)])
}
Add(HubEx,6749239,434,266)
{
link(onEvent,13662205:doWork2,[])
}
Add(Hub,16149357,364,378)
{
link(onEvent1,3396241:doValue,[(390,384)(390,170)(324,170)(324,188)])
link(onEvent2,13662205:doWork3,[(445,391)])
}
Add(HubEx,13662205,441,266)
{
link(onEvent,1546321:doOperation,[])
}
Add(Hub,7641520,560,266)
{
OutCount=5
link(onEvent1,9168373:doNext,[])
link(onEvent2,15031933:doText,[(584,279)(584,151)(247,151)(247,167)])
link(onEvent3,2050961:doCompare,[(595,286)(595,209)])
link(onEvent4,13070361:doValue,[(585,293)(585,328)])
}
Add(Counter,9168373,616,266)
{
Max=9
link(onNext,10756578:doString,[])
}
Add(FormatStr,10756578,665,266)
{
Mask="Попытка №%1"
link(onFString,5223548:doWork2,[])
}
Add(Message,3429991,567,427)
{
Caption="Результат"
Type=2
Icon=4
Point(onYES)
Point(onNO)
link(onYES,3869937:doEvent1,[(628,440)(628,478)(72,478)(72,230)])
link(onNO,4421839:doWork2,[])
}
Add(FormatStr,3021175,511,427)
{
Mask="Число: %1
Попыток: %2
Играть еще?"
link(onFString,3429991:doMessage,[])
link(Str1,6935981:Var2,[])
link(Str2,9168373:Count,[(524,413)(622,413)])
}
Add(Hub,3174962,280,238)
{
OutCount=5
link(onEvent1,3396241:doClear,[(315,244)(315,195)])
link(onEvent2,3518499:doClear,[(407,251)(407,181)])
link(onEvent3,7529772:doWork1,[(550,258)])
link(onEvent4,9168373:doReset,[(605,265)(605,286)])
link(onEvent5,5639721:doData,[])
}
Add(GetDataEx,3972776,336,224)
{
link(Data,3396241:Value,[])
}
Add(HubEx,8807357,266,238)
{
link(onEvent,3174962:doEvent1,[])
}
Add(GetDataEx,6935981,511,357)
{
link(Data,14848961:Var2,[])
}
Add(GetDataEx,14848961,511,308)
{
link(Data,9612637:Result,[])
}
Add(Memory,13070361,637,322)
{
Default=Integer(0)
}
Add(If_else,2050961,616,203)
{
link(onTrue,10732310:doData,[])
link(Op2,13070361:Value,[(629,191)(715,191)(715,367)(643,367)])
}
Add(Message,7170496,728,203)
{
Caption="Предупреждение!!!"
Type=1
Icon=1
Point(onOK)
Point(onCANCEL)
link(onOK,8807357:doWork1,[(772,216)(772,131)(270,131)])
link(onCANCEL,4421839:doWork1,[(817,223)(817,390)(816,390)])
}
Add(HubEx,4421839,812,441)
{
link(onEvent,2953706:doClose,[])
}
Add(Hub,1158347,392,420)
{
link(onEvent1,7529772:doWork2,[(471,426)(471,335)])
link(onEvent2,3021175:doString,[])
}
Add(DoData,10732310,665,203)
{
Data=String(Давай играть по-честному)
link(onEventData,7170496:doMessage,[])
}
Add(HubEx,7529772,546,329)
{
link(onEvent,13070361:doClear,[])
}
Add(Hub,3869937,84,224)
{
OutCount=3
link(onEvent1,414035:doWork2,[(115,230)(115,209)])
link(onEvent2,818122:doWork1,[])
link(onEvent3,2223706:doData,[(106,244)(106,307)])
}
Add(DoData,2223706,126,301)
{
Data=String(Загадай число от 1 до 128)
link(onEventData,5223548:doWork3,[(732,307)])
}
Add(HubEx,5223548,728,266)
{
link(onEvent,7491422:doText,[])
}
Ответов: 899
Рейтинг: 43
|
|||
отгадыватель
|
|||
карма: 0 |
|