------------ Дoбавленo в 20.49:
Примерно сделал.
Вот если кому надо, так сказать "Шаблон "
Add(MainForm,2953706,21,105)
{
Width=1051
}
Add(Button,882430,70,112)
{
Left=285
Top=115
link(onClick,13838187:doEvent1,[])
}
Add(ListBox,13191363,196,105)
{
Left=455
Top=5
Width=170
Height=255
}
Add(MultiElementEx,13838187,133,112)
{
link(onEventData,13191363:doText,[(181,118)(181,132)])
}
BEGIN_SDK
Add(EditMultiEx,12799579,21,21)
{
WorkCount=#8:doEvent1|
EventCount=#11:onEventData|
Width=489
Height=277
link(doEvent1,8954988:doEvent1,[(31,27)(31,97)])
}
Add(Memory,9665469,399,49)
{
Default=Integer(0)
}
Add(Hub,8954988,42,91)
{
link(onEvent1,9064250:doData,[(74,97)(74,48)])
link(onEvent2,10317246:##add,[(130,104)(130,195)])
}
Add(DoData,9064250,91,42)
{
Data=Integer(0)
link(onEventData,16142798:doEvent1,[])
}
Add(Hub,16355890,343,49)
{
link(onEvent1,9665469:doValue,[])
}
Add(Hub,16142798,196,42)
{
link(onEvent1,9665469:doClear,[(304,48)(304,62)])
link(onEvent2,2088870:doAdd,[(304,55)(304,104)])
}
Add(MathParse,4019120,462,168)
{
DataCount=1
MathStr="%1 -1"
Point(reCalc)
link(X1,2088870:Count,[(468,159)(412,159)])
}
Add(Hub,15597628,273,140)
{
link(onEvent1,2088870:doReplace,[])
link(onEvent2,2367149:doCompare,[(311,153)(311,230)])
}
Add(If_else,2367149,392,224)
{
link(onTrue,7947625:doData,[])
link(Op2,4019120:reCalc,[(405,212)(475,212)])
}
Add(DoData,7947625,448,224)
{
link(onEventData,12799579:onEventData,[(495,230)(495,27)])
link(Data,2088870:Text,[(454,187)(405,187)])
}
Add(StrList,2088870,399,98)
{
Point(doReplace)
link(Str,9665469:Value,[])
}
Add(MultiElementEx,10317246,203,189)
{
link(onEvent1,16355890:doEvent1,[(289,195)(289,55)])
link(onResult,15597628:doEvent1,[(254,202)(254,146)])
link(Data,10317246:##index,[(209,177)(197,177)(197,233)(209,233)])
}
BEGIN_SDK
Add(EditMultiEx,7269258,21,21)
{
WorkCount=#5:##add|
EventCount=#8:onEvent1|8:onResult|
VarCount=#7:##index|
DataCount=#4:Data|
Width=391
Point(##add)
Point(##index)
link(##add,3781941:doEvent1,[(49,27)(49,76)])
}
Add(DoData,8331581,112,70)
{
link(onEventData,7691919:doValue,[])
link(Data,7269258:Data,[(118,46)(27,46)])
}
Add(Timer,6063197,112,119)
{
Interval=0
Enable=1
MakeExt(Interval,,Interval)
link(onTimer,8241006:doNext,[])
}
Add(Hub,3781941,77,70)
{
link(onEvent1,8331581:doData,[])
link(onEvent2,6063197:doTimer,[(101,83)(101,125)])
}
Add(CounterEx,8241006,182,119)
{
link(onNext,422046:doEvent1,[])
}
Add(Hub,422046,231,119)
{
link(onEvent1,7269258:onEvent1,[(329,125)(329,27)])
link(onEvent2,5942516:doData,[(255,132)(255,139)])
}
Add(DoData,5942516,266,133)
{
link(onEventData,12012184:doOperation,[])
link(Data,7691919:Value,[(272,117)(195,117)])
}
Add(Math,12012184,350,133)
{
OpType=1
Op2=1
link(onResult,7269258:onResult,[(397,139)(397,34)])
}
Add(Memory,7691919,189,70)
{
}
END_SDK
END_SDK
Но от улучшения не откажусь)
------------ Дoбавленo в 22.17:
блин, а с данными не катит