Вверх ↑
Ответов: 8921
Рейтинг: 823
#1: 2020-06-06 23:06:25 ЛС | профиль | цитата
Tad, и мне
Привиделось


Add(MainForm,2953706,133,98)
{
Caption="Таблица картинок"
link(onCreate,11512208:doWork1,[])
}
Add(ChildPanel,11512208,196,112)
{
link(onEvent1,9030844:doWork1,[])
link(onEvent2,9030844:doWork2,[])
}
BEGIN_SDK
Add(EditMulti,14646339,21,14)
{
EventCount=2
WorkCount=2
VarCount=1
Width=797
Height=340
link(doWork1,13629148:doWork1,[(123,20)])
link(Var1,6380519:Var1,[(27,215)(286,215)(286,194)])
link(doWork2,3539179:doWork1,[(116,27)])
}
Add(Panel,2048092,63,112)
{
Width=375
Height=60
Align=2
}
Add(Edit,6713111,133,56)
{
Left=100
Top=35
Width=40
Text="140"
DataType=2
}
Add(Edit,3141709,224,56)
{
Left=145
Top=35
Width=40
Text="100"
DataType=2
}
Add(Edit,3539518,182,56)
{
Left=200
Top=35
Width=40
Text="5"
DataType=2
}
Add(Edit,436072,266,56)
{
Left=245
Top=35
Width=40
Text="16"
DataType=2
}
Add(Button,1911423,168,238)
{
Left=300
Top=15
Width=65
Height=35
Caption="Открыть\r\nкартинку"
link(onClick,16530946:doExecute,[])
}
Add(Label,8730694,56,70)
{
Left=100
Top=5
Width=90
Height=28
Caption="Размер ячейки\r\nДлина Высота"
AutoSize=1
Alignment=2
}
Add(Label,2507980,63,77)
{
Left=200
Top=5
Width=84
Height=28
Caption="Таблица\r\nКолонок Строк"
AutoSize=1
Alignment=2
}
Add(Button,14221567,63,154)
{
Left=10
Top=35
Width=65
Caption="Снова"
link(onClick,13629148:doWork2,[])
}
Add(Button,11615929,168,287)
{
Left=10
Top=10
Width=65
Caption="Сохранить"
link(onClick,3113795:doExecute,[])
}
Add(MathParse,7889616,133,154)
{
MathStr="(%1 + 2)*%2"
ResultType=0
link(onResult,498340:doCalc,[])
link(X1,3812660:Var2,[])
link(X2,7965163:Var1,[(146,116)])
}
Add(MathParse,498340,224,154)
{
MathStr="(%1 + 2)*%2"
link(onResult,5522204:doCreate,[(277,160)(277,174)])
link(X1,10864528:Var2,[])
link(X2,436072:Text,[(237,107)(272,107)])
}
Add(HubEx,13629148,119,154)
{
link(onEvent,7889616:doCalc,[])
}
Add(Bitmap,5522204,294,154)
{
FillColor=12639424
Point(doCreate)
Point(HWidth)
Point(HHeight)
Point(onCreate)
link(HWidth,1173379:Var2,[])
link(HHeight,13961555:Var2,[])
link(onCreate,4218244:doEvent1,[])
}
Add(PictureStream,10275852,287,238)
{
link(onLoad,13747653:doEvent1,[])
link(Bitmap,6380519:Var2,[])
}
Add(SDialog,3113795,217,287)
{
link(onExecute,10275852:doSave,[(270,293)(270,251)])
}
Add(GetDataEx,6380519,294,189)
{
link(Data,5522204:Bitmap,[])
}
Add(ODialog,16530946,217,238)
{
link(onExecute,16160808:doWork2,[])
}
Add(DropFile,5798653,63,224)
{
link(onDropFile,3539179:doWork2,[])
}
Add(HubEx,16160808,266,238)
{
link(onEvent,10275852:doLoad,[])
}
Add(Hub,13747653,336,238)
{
OutCount=4
link(onEvent1,3979867:doWork2,[(368,244)(368,69)])
link(onEvent2,5645813:doCalc,[(375,251)(375,153)])
link(onEvent3,8092475:doNext,[(382,258)(382,216)])
link(onEvent4,5614110:doCalc,[])
}
Add(Counter,8092475,392,210)
{
}
Add(Bitmap,1579151,511,63)
{
Point(Width)
Point(Height)
}
Add(Resize,890183,749,147)
{
link(onResult,3979867:doWork3,[(795,153)(795,90)(501,90)])
link(Bitmap,8078803:Var3,[(755,103)])
link(Width,10463760:Result,[(762,131)(643,131)(643,187)(566,187)])
link(Height,9309635:Result,[(769,138)(741,138)(741,187)(664,187)])
}
Add(MathParse,12057875,602,147)
{
MathStr="(%1-%2)/2"
ResultType=0
link(onResult,9309635:doOperation,[])
link(X1,11081908:Var3,[(608,131)])
}
Add(MathParse,5645813,518,147)
{
DataCount=4
MathStr="min(%2/%1,%4/%3)"
link(onResult,10463760:doOperation,[])
link(X1,5586965:Var2,[])
link(X2,11081908:Var2,[])
link(X3,15908879:Var2,[])
link(X4,16403535:Var2,[])
}
Add(GetDataEx,3812660,133,126)
{
link(Data,6713111:Text,[])
}
Add(GetDataEx,10864528,224,119)
{
link(Data,3141709:Text,[])
}
Add(Math,10463760,560,147)
{
OpType=2
ResultType=0
link(onResult,12057875:doCalc,[])
link(Op2,5586965:Var3,[(573,117)])
}
Add(GetDataEx,5586965,518,112)
{
link(Data,1579151:Width,[])
}
Add(Math,9309635,658,147)
{
OpType=2
ResultType=0
link(onResult,10018749:doCalc,[])
link(Op1,5645813:Result,[(664,138)(650,138)(650,194)(524,194)])
link(Op2,15908879:Var3,[(671,110)])
}
Add(GetDataEx,15908879,532,105)
{
Angle=3
link(Data,1579151:Height,[(531,110)])
}
Add(HubEx,3539179,112,224)
{
link(onEvent,16160808:doWork1,[(270,230)])
}
Add(HubEx,3979867,497,63)
{
link(onEvent,1579151:doLoad,[])
}
Add(GetDataEx,11081908,525,126)
{
Angle=3
link(Data,5116936:Var3,[])
}
Add(MathParse,10018749,700,147)
{
MathStr="(%1-%2)/2"
ResultType=0
link(onResult,890183:doResize,[])
link(X1,16403535:Var3,[(706,124)])
}
Add(GetDataEx,16403535,539,119)
{
Angle=3
link(Data,5166048:Var3,[])
}
Add(MathParse,5614110,420,259)
{
DataCount=4
MathStr="((%1 - 1) mod %2)*(%3+2)+1+%4"
link(onResult,9863208:doCalc,[])
link(X1,13182284:Var2,[])
link(X2,3479956:Var2,[])
link(X3,5116936:Var2,[])
link(X4,12057875:Result,[(447,201)(608,201)])
}
Add(GetDataEx,7965163,182,111)
{
link(Data,3539518:Text,[])
}
Add(GetDataEx,5116936,434,126)
{
Angle=3
link(Data,3812660:Var3,[])
}
Add(MathParse,9863208,462,259)
{
DataCount=4
MathStr="((%1 - 1) div %2)*(%3+2)+1+%4"
link(onResult,2805715:doDraw,[])
link(X1,13182284:Var3,[(468,250)])
link(X2,3479956:Var3,[(475,243)])
link(X3,5166048:Var2,[])
link(X4,10018749:Result,[(489,208)(706,208)])
}
Add(GetDataEx,13182284,420,245)
{
Angle=3
link(Data,8092475:Count,[(398,250)])
}
Add(GetDataEx,3479956,427,238)
{
link(Data,7965163:Var3,[(433,116)])
}
Add(GetDataEx,5166048,476,119)
{
Angle=3
link(Data,10864528:Var3,[])
}
Add(Img_Bmp,2805715,504,259)
{
Point(X)
Point(Y)
link(onDraw,14646339:onEvent1,[(802,265)(802,20)])
link(Bitmap,6380519:Var3,[(510,194)])
link(SourceBitmap,8078803:Var2,[])
link(X,5614110:Result,[(524,243)(552,243)(552,306)(426,306)])
link(Y,9863208:Result,[(531,250)(545,250)(545,299)(468,299)])
}
Add(GetDataEx,8078803,511,98)
{
link(Data,1579151:Bitmap,[])
}
Add(Hub,4218244,336,154)
{
link(onEvent1,15330942:doString,[])
link(onEvent2,8092475:doReset,[(361,167)(361,230)])
}
Add(FormatStr,15330942,385,154)
{
Mask="%1;%2"
link(onFString,14646339:onEvent2,[(424,160)(424,27)])
link(Str1,1173379:Var3,[(391,145)])
link(Str2,13961555:Var3,[(398,138)])
}
Add(GetDataEx,1173379,294,140)
{
Angle=3
link(Data,7889616:Result,[(269,145)(269,201)(139,201)])
}
Add(GetDataEx,13961555,301,133)
{
Angle=3
link(Data,498340:Result,[(263,138)(263,195)(230,195)])
}
END_SDK
Add(DropFile,15870179,133,133)
{
link(onDropFile,11754876:doWork2,[(172,139)(172,125)])
}
Add(ChildScrollBox,9030844,252,112)
{
link(onEvent1,11754876:doWork1,[(291,118)(291,97)(186,97)])
link(Data1,11512208:Var1,[(258,103)(244,103)(244,152)(202,152)])
}
BEGIN_SDK
Add(EditMulti,13880949,21,21)
{
EventCount=1
WorkCount=2
DataCount=1
Width=202
Height=102
VOffset=21
HOffset=63
link(doWork1,9715111:doLoad,[])
link(doWork2,10082790:doSplit,[(32,55)(32,62)])
}
Add(ScrollBox,8345131,133,42)
{
Top=60
Width=384
Height=201
Align=5
}
Add(Image,9715111,84,42)
{
ViewStyle=4
Point(doWidth)
Point(doHeight)
link(Bitmap,13880949:Data1,[])
}
Add(DropFile,2187938,175,42)
{
link(onDropFile,13880949:onEvent1,[])
}
Add(MultiStrData,10082790,42,56)
{
link(onPart1,9715111:doWidth,[])
link(onPart2,9715111:doHeight,[])
}
END_SDK
Add(HubEx,11754876,182,119)
{
link(onEvent,11512208:doWork2,[])
}

карма: 19

0