Add(MainForm,2953706,35,105)
{
Width=258
Height=298
}
Add(Button,5162171,154,112)
{
Left=40
Top=10
link(onClick,12818258:doWork2,[])
}
Add(Button,12111708,154,147)
{
Left=40
Top=35
link(onClick,12818258:doWork3,[(198,153)(198,125)])
}
Add(Button,16594144,154,182)
{
Left=40
Top=60
link(onClick,12818258:doWork4,[(198,188)(198,132)])
}
Add(Button,10031351,259,161)
{
Left=150
Top=55
Caption="X"
link(onClick,257884:doEvent1,[])
AddHint(7,36,22,13,Caption)
}
Add(Hub,257884,301,161)
{
link(onEvent1,15840735:doClear,[(325,167)(325,76)])
link(onEvent2,3489344:doWork3,[(431,174)])
}
Add(StrList,15840735,336,63)
{
Point(doGetIndex)
Point(onGetIndex)
link(onChange,1807866:doSum,[(379,69)(379,124)(338,124)(338,139)])
link(Str,5809982:Value,[(342,51)(304,51)(304,149)(265,149)])
link(onGetIndex,4186004:doCompare,[])
}
Add(If_else,4186004,392,70)
{
Op2=Integer(-1)
link(onTrue,15840735:doAdd,[(434,76)(434,44)(324,44)(324,69)])
}
Add(Memory,5809982,259,105)
{
link(onData,15840735:doGetIndex,[])
}
Add(ArraySum,1807866,350,133)
{
ArrayType=1
Delimiter="
"
link(onSum,12701230:doCompare,[])
link(Array,15840735:Array,[])
}
Add(If_else,12701230,392,133)
{
Type=5
Op2=Integer(45)
link(onTrue,3489344:doWork2,[])
link(onFalse,8906540:doOn,[])
}
Add(LED,8906540,441,126)
{
Left=115
Top=55
}
Add(Button,2564954,154,217)
{
Left=40
Top=90
link(onClick,12818258:doWork5,[(198,223)(198,139)])
}
Add(Button,13766790,154,252)
{
Left=40
Top=115
link(onClick,12818258:doWork6,[(198,258)(198,146)])
}
Add(Button,14240229,154,287)
{
Left=40
Top=145
link(onClick,12818258:doWork7,[(198,293)(198,153)])
}
Add(Button,11562579,154,322)
{
Left=40
Top=170
link(onClick,12818258:doWork8,[(198,328)(198,160)])
}
Add(Button,14913628,154,357)
{
Left=40
Top=195
link(onClick,12818258:doWork9,[(198,363)(198,167)])
}
Add(Button,10610174,154,392)
{
Left=40
Top=220
link(onClick,12818258:doWork10,[(198,398)(198,174)])
}
Add(HubEx,3489344,427,133)
{
link(onEvent,8906540:doOff,[])
}
Add(ChanelToIndex,12818258,210,105)
{
Count=10
link(onIndex,5809982:doValue,[])
}
Ответов: 1536
Рейтинг: 176
|
|||
На случай, если событий будет больше:
|
|||
карма: 1 |
|