Хотелка нарисованная
Add(MainForm,4350884,112,105)
{
Width=741
Height=371
Position=1
}
Add(PaintBox,11094773,161,287)
{
Left=5
Top=5
Width=400
Height=300
Color=16777215
ClearBeforeDraw=0
link(onBeforeDraw,3900008:doEnum,[])
}
Add(Img_Gradient,9730055,371,406)
{
Point1=65537
Point2=1311118
Point2AsOffset=0
GradientStyle=1
FrameColor=12632256
StartColor=255
EndColor=65280
Point(Point1)
Point(Transform)
link(onDraw,14220734:doStrCat,[])
link(Bitmap,9911069:Var2,[])
link(Transform,11813765:Transform,[])
}
Add(StrList,14640851,196,217)
{
AddType=1
}
Add(Timer,12862630,119,287)
{
Interval=70
link(onTimer,11094773:doRefresh,[])
}
Add(ArrayEnum,3900008,210,287)
{
Type=1
link(onItem,9357002:doEvent1,[(250,293)(250,251)])
link(onEndEnum,8000913:doClear,[(295,300)(295,279)])
link(Array,5612185:Var2,[])
}
Add(ListBox,11460879,511,504)
{
Left=410
Top=5
Width=320
Height=300
}
Add(Random,10392165,350,574)
{
Max=5
link(onRandom,6929620:doCalc,[])
}
Add(Button,722593,77,217)
{
Left=340
Top=315
Caption="Add"
link(onClick,15594760:doString,[])
}
Add(FormatStr,15594760,119,217)
{
Mask="Файл %1;0"
link(onFString,14640851:doAdd,[])
link(Str1,8985872:reCalc,[])
}
Add(MathParse,8985872,112,168)
{
DataCount=1
MathStr="%0 + 1"
ResultType=0
Point(reCalc)
}
Add(MultiStrPart,9952585,336,182)
{
}
Add(Hub,9357002,259,245)
{
OutCount=5
link(onEvent1,9952585:doSplit,[(329,251)(329,188)])
link(onEvent2,16059236:doCalc,[])
link(onEvent3,7269087:doDraw,[(317,265)(317,412)])
link(onEvent4,8000913:doCalc,[])
link(onEvent5,13718142:doCompare,[(280,279)(280,510)])
}
Add(MathParse,8000913,350,266)
{
DataCount=1
MathStr="%0 + 23"
Point(doClear)
}
Add(Img_UseScale,7287626,385,294)
{
X=0.1
Mode=1
link(X,16059236:Result,[])
}
Add(If_else,13718142,287,504)
{
Op2=Integer(100)
link(onTrue,8808851:doEvent1,[])
link(onFalse,10392165:doRandom,[(331,517)(331,580)])
link(Op1,11774362:getVar,[])
}
Add(DoData,4441691,364,511)
{
link(onEventData,5746847:In,[])
link(Data,14446728:Var2,[])
}
Add(Hub,8808851,343,504)
{
link(onEvent1,2369256:doStrCat,[])
link(onEvent2,4441691:doData,[])
}
Add(StrCat,2369256,448,504)
{
Str2=" загружен"
link(onStrCat,11460879:doAdd,[])
link(Str1,6064909:getVar,[])
}
Add(FormatStr,11780897,434,574)
{
Mask="%1;%2"
link(onFString,8448429:doWrite,[])
link(Str1,16121993:getVar,[])
}
Add(ArrayRW,8448429,483,567)
{
link(Array,5612185:Var1,[(489,454)(202,454)(202,264)])
link(Index,14446728:Var3,[(496,471)])
}
Add(GetDataEx,5612185,210,259)
{
link(Data,14640851:Array,[])
}
Add(GetDataEx,14446728,364,466)
{
Angle=3
link(Data,3900008:Index,[(223,471)])
}
Add(MathParse,6929620,392,574)
{
MathStr="min(%1 + %2, 100)"
link(onResult,11780897:doString,[])
link(X1,8936229:getVar,[])
}
Add(StrCat,14220734,420,406)
{
Str2="%"
link(onStrCat,5646626:doDraw,[])
link(Str1,7706487:getVar,[])
}
Add(Img_TextInRect,5646626,462,406)
{
Point1=65537
Point2=1376654
Point2AsOffset=0
Font=[MS Sans Serif,12,1,0,1]
AlignHorizon=2
Alignvertical=2
Point(Transform)
link(Bitmap,9911069:Var3,[(468,394)])
link(Transform,10142013:Var3,[(496,383)])
}
Add(Img_UseOffset,9079863,336,343)
{
X=0
Y=0
link(Y,2301101:Var2,[])
}
Add(LineBreakEx,6684770,336,238)
{
Caption="file"
Type=3
link(_Data,9952585:Part1,[])
}
Add(LineBreakEx,2383774,343,224)
{
Caption="%"
Type=3
link(_Data,9952585:Part2,[])
}
Add(LineBreakEx,6064909,448,476)
{
Caption="file"
Type=2
}
Add(LineBreakEx,16121993,434,546)
{
Caption="file"
Type=2
}
Add(LineBreakEx,11774362,287,476)
{
Caption="%"
Type=2
}
Add(LineBreakEx,8936229,392,553)
{
Caption="%"
Type=2
}
Add(LineBreakEx,10262497,392,224)
{
Caption="%"
Type=2
}
Add(LineBreak,5981323,154,231)
{
Caption="del"
link(Out,14640851:doDelete,[])
Primary=[5746847,252,280]
}
Add(MathParse,16059236,392,252)
{
DataCount=1
MathStr="max(%1 / 100, 0.1)"
Point(doClear)
link(X1,10262497:getVar,[])
}
Add(GetDataEx,9911069,371,389)
{
Angle=3
link(Data,12300124:Var3,[])
}
Add(Img_Gradient,7269087,322,406)
{
Point1=65537
Point2=1311118
Point2AsOffset=0
FrameColor=12632256
StartColor=12632256
EndColor=16777215
Point(Point1)
Point(Transform)
link(onDraw,9730055:doDraw,[])
link(Bitmap,12300124:Var2,[])
link(Transform,10142013:Var2,[])
}
Add(GetDataEx,12300124,322,389)
{
Angle=3
link(Data,11094773:Bitmap,[(325,373)(167,373)])
}
Add(GetDataEx,10142013,336,378)
{
link(Data,9079863:Transform,[])
}
Add(Img_UseOffset,11813765,385,350)
{
X=0
Y=0
link(AddTransform,7287626:Transform,[])
link(Y,2301101:Var3,[(405,334)])
}
Add(GetDataEx,2301101,350,329)
{
link(Data,8000913:Result,[])
}
Add(LineBreakEx,7706487,420,357)
{
Caption="%"
Type=2
}