Add(ChildPanelEx,7671596,623,154)
{
}
BEGIN_SDK
Add(EditMultiEx,15719061,35,35)
{
WorkCount=#8:doEvent1|
EventCount=#8:onEvent1|
VarCount=#30:Output=Формирование 4ёх вершин|
DataCount=#2:X1|2:У1|2:X2|2:У2|
Width=230
Height=186
link(Output,3336936:Result,[(41,189)(153,189)])
link(doEvent1,3066290:doEnum,[(52,41)(52,153)])
}
Add(Panel,186579,189,182)
{
Left=5
Top=5
Width=10
Height=10
}
Add(StrList,2699549,63,84)
{
Strings=#13:%2*65536 + %1|18:(%2*65536)+(%1+%3)|23:((%2+%4)*65536)+(%1+%3)|18:((%2+%3)*65536)+%1|
}
Add(MathParse,3336936,147,147)
{
DataCount=4
MathStr=""
Point(doMathStr)
link(onResult,15719061:onEvent1,[(211,153)(211,41)])
link(X1,15719061:X1,[(153,73)(41,73)])
link(X2,15719061:У1,[(160,65)(48,65)])
link(X3,15719061:X2,[(167,56)(55,56)])
link(X4,15719061:У2,[(174,50)(62,50)])
}
Add(ArrayEnum,3066290,77,147)
{
link(onItem,9677001:doEvent1,[])
link(Array,2699549:Array,[])
}
Add(Hub,9677001,119,147)
{
link(onEvent1,3336936:doMathStr,[(140,153)(140,160)])
link(onEvent2,3336936:doCalc,[(140,160)(140,153)])
}
END_SDK
Add(MultiElement,65026,483,238)
{
}
BEGIN_SDK
Add(EditMulti,73558,28,21)
{
EventCount=1
WorkCount=1
DataCount=4
Width=139
Height=123
link(doWork1,13914004:doFor,[(38,27)(38,76)])
}
Add(MathParse,2469249,98,70)
{
DataCount=5
MathStr="((%2*65536 + %1)*(%5=0))+\r\n(((%2*65536)+(%1+%3))*(%5=1))+\r\n((((%2+%4)*65536)+(%1+%3))*(%5=2))+\r\n((((%2+%3)*65536)+%1)*(%5=3))"
ResultType=0
Default=2
link(onResult,73558:onEvent1,[(152,76)(152,27)])
link(X1,73558:Data1,[(104,56)(34,56)])
link(X2,73558:Data2,[(111,56)(41,56)])
link(X3,73558:Data3,[(118,56)(48,56)])
link(X4,73558:Data4,[(125,56)(55,56)])
}
Add(For,13914004,49,70)
{
End=3
link(onEvent,2469249:doCalc,[])
}
END_SDK