Вверх ↑
Ответов: 8926
Рейтинг: 823
#1: 2018-07-10 12:16:47 ЛС | профиль | цитата
ZloiDed, или просто подсчитать
Считаем положение


Add(MainForm,2953706,147,105)
{
Point(Width)
Point(Height)
Point(onResize)
link(onCreate,7556638:doEvent1,[])
link(onResize,11599988:doWork1,[(187,132)])
}
Add(ChildGroupBox,5859214,238,119)
{
}
BEGIN_SDK
Add(EditMulti,1419228,21,21)
{
WorkCount=2
VarCount=2
Height=214
link(doWork1,4872526:doFor,[(49,27)(49,76)])
link(doWork2,8572893:doSplit,[(39,34)(39,181)])
link(Var1,7684188:Width,[(27,215)(111,215)])
link(Var2,7684188:Height,[(34,222)(118,222)])
}
Add(GroupBox,7684188,105,175)
{
Left=55
Top=40
Width=260
Height=160
Caption=""
Point(doLeft)
Point(doTop)
Point(Width)
Point(Height)
}
Add(Edit,10083082,147,28)
{
Left=20
Top=25
}
Add(ComboBox,7772686,196,28)
{
Left=75
Top=25
Width=105
Height=21
Strings=#1:1|1:2|1:3|1:4|1:5|1:6|
}
Add(Button,2824454,252,28)
{
Left=190
Top=25
}
Add(StringTable,13301582,252,105)
{
Left=20
Top=55
Width=220
Height=95
Columns=#4:1=50|4:2=50|4:3=50|4:4=50|
Grid=0
Point(Matrix)
}
Add(For,4872526,63,70)
{
End=19
link(onEvent,3642601:doEvent1,[])
}
Add(Random,12548400,189,112)
{
Min=101
Max=999
link(onRandom,3524653:doWrite,[(242,118)(242,188)])
}
Add(For,13548476,147,112)
{
End=3
link(onEvent,12548400:doRandom,[])
}
Add(MatrixRW,3524653,266,175)
{
link(Matrix,13301582:Matrix,[])
link(X,13548476:Position,[(286,159)(153,159)])
link(Y,4872526:Position,[(293,166)(69,166)])
}
Add(Hub,3642601,112,70)
{
link(onEvent1,13987110:doData,[])
link(onEvent2,13548476:doFor,[(137,83)(137,118)])
}
Add(DoData,13987110,147,70)
{
Data=String(;;;)
link(onEventData,13301582:doAdd,[(242,76)(242,111)])
}
Add(MultiStrData,8572893,56,175)
{
link(onPart1,7684188:doLeft,[])
link(onPart2,7684188:doTop,[])
}
END_SDK
Add(MultiElement,8855278,147,175)
{
link(onEvent1,5859214:doWork2,[(230,181)(230,132)])
link(Data1,2953706:Width,[])
link(Data2,2953706:Height,[])
link(Data3,5859214:Var1,[(167,159)(244,159)])
link(Data4,5859214:Var2,[(174,166)(251,166)])
}
BEGIN_SDK
Add(EditMulti,15150773,21,21)
{
EventCount=1
WorkCount=1
DataCount=4
Width=216
Height=102
VOffset=42
HOffset=49
link(doWork1,7662616:doCalc,[])
}
Add(MathParse,7662616,70,63)
{
MathStr="(%1-15 - %2)/2"
ResultType=0
link(onResult,7308815:doCalc,[])
link(X1,15150773:Data1,[])
link(X2,15150773:Data3,[(83,40)(90,40)])
}
Add(MathParse,7308815,126,63)
{
MathStr="(%1-40 - %2)/2"
ResultType=0
link(onResult,1611447:doString,[])
link(X1,15150773:Data2,[(132,33)(83,33)])
link(X2,15150773:Data4,[(139,26)(97,26)])
}
Add(FormatStr,1611447,182,63)
{
Mask="%1;%2"
link(onFString,15150773:onEvent1,[])
link(Str1,7662616:Result,[(188,54)(174,54)(174,103)(76,103)])
}
END_SDK
Add(Hub,7556638,196,119)
{
link(onEvent1,5859214:doWork1,[])
link(onEvent2,11599988:doWork2,[(221,132)(221,146)])
}
Add(HubEx,11599988,183,140)
{
Angle=2
link(onEvent,8855278:doWork1,[(137,146)(137,181)])
}

карма: 19

0