Add(MainForm,3220805,259,133)
{
Width=516
Height=469
}
Add(Image,7975942,994,154)
{
Left=35
Top=365
Width=85
Height=65
link(onClick,5423092:doWork1,[])
}
Add(Image,16651437,994,196)
{
Left=120
Top=365
Width=85
Height=65
link(onClick,5423092:doWork2,[(1032,202)(1032,167)])
}
Add(Image,688805,994,238)
{
Left=210
Top=365
Width=85
Height=65
link(onClick,5423092:doWork3,[(1037,244)(1037,174)])
}
Add(Image,12463613,994,280)
{
Left=300
Top=365
Width=85
Height=65
link(onClick,5423092:doWork4,[(1043,286)(1043,181)])
}
Add(FileSearch,2629711,392,98)
{
SubDir=1
link(onSearch,11342127:doCompare,[])
link(onEndSearch,4818755:doEvent1,[])
}
Add(StrMask,11342127,490,98)
{
Mask="*.jpg"
link(onFalse,8264849:doCompare,[])
link(onTrue,715656:doWork2,[(533,111)(533,139)])
}
Add(StrMask,8264849,539,98)
{
Mask="*.png"
link(onFalse,11212944:doCompare,[])
link(onTrue,715656:doWork1,[(578,111)])
}
Add(StrMask,11212944,588,98)
{
Mask="*.bmp"
link(onFalse,3744750:doCompare,[])
link(onTrue,11659713:doWork1,[(627,111)])
}
Add(StrMask,3744750,637,98)
{
Mask="*.ico"
link(onTrue,5406705:doWork2,[])
}
Add(Hub,15644038,357,91)
{
InCount=2
link(onEvent1,16253885:doClear,[])
link(onEvent2,2629711:doSearch,[])
}
Add(Browse,9986803,259,91)
{
link(onBrowse,6456784:doText,[])
}
Add(Button,6523879,210,91)
{
Left=15
Caption="Каталог"
link(onClick,9986803:doBrowse,[])
}
Add(Edit,6456784,301,91)
{
Left=80
Width=330
Text=""
link(onChange,15644038:doEvent1,[])
link(onEnter,15644038:doEvent2,[])
}
Add(HubEx,5406705,686,105)
{
Angle=3
link(onEvent,16253885:doAdd,[(690,90)])
}
Add(HubEx,11659713,623,133)
{
link(onEvent,5406705:doWork3,[(690,139)])
}
Add(HubEx,715656,574,133)
{
link(onEvent,11659713:doWork2,[])
}
Add(ArrayRW,7569232,756,259)
{
link(onRead,775386:doAdd,[(797,265)(797,244)])
link(Array,16253885:Array,[(762,136)(727,136)])
}
Add(Button,8546077,210,238)
{
Left=5
Top=380
Width=20
Height=35
Font=[MS Sans Serif,14,1,0,1]
Caption="‹"
link(onClick,14711995:doWork1,[])
}
Add(Button,6923064,259,245)
{
Left=475
Top=380
Width=20
Height=35
Font=[MS Sans Serif,14,1,0,1]
Caption="›"
link(onClick,14711995:doWork2,[])
}
Add(StrList,16253885,707,84)
{
}
Add(MultiElement,14711995,420,238)
{
link(onEvent1,10149431:doEvent1,[])
link(Data1,14994518:Var,[])
}
BEGIN_SDK
Add(EditMulti,3901157,21,21)
{
EventCount=1
WorkCount=2
DataCount=1
VarCount=1
Width=447
Height=151
VOffset=28
HOffset=224
link(doWork1,9816943:doOperation,[])
link(doWork2,7793795:doOperation,[(49,62)(49,118)])
link(Var1,10863678:Value,[(251,157)(419,157)])
}
Add(Math,9816943,77,49)
{
Op2=1
ResultType=0
link(onResult,3221505:doEvent1,[])
link(Op1,5934117:Var1,[(83,37)(66,37)(66,100)])
}
Add(Math,7793795,77,112)
{
OpType=1
Op2=1
ResultType=0
link(onResult,3221505:doEvent2,[(125,118)(125,62)])
link(Op1,5934117:Var2,[])
}
Add(Memory,5625805,196,49)
{
Default=Integer(-1)
link(onData,3694001:doCompare,[])
}
Add(If_else,3694001,238,49)
{
Type=2
link(onTrue,6057581:doOperation,[])
link(onFalse,16067037:doCompare,[])
link(Op2,7730525:Var2,[])
}
Add(Math,6057581,343,49)
{
OpType=1
Op2=1
ResultType=0
link(onResult,3221505:doEvent4,[(384,55)(384,93)(157,93)(157,76)])
link(Op1,7730525:Var3,[(349,39)])
}
Add(Hub,3221505,168,49)
{
InCount=5
OutCount=1
link(onEvent1,5625805:doValue,[])
}
Add(GetDataEx,5934117,77,95)
{
Angle=1
link(Data,5625805:Value,[(202,100)])
}
Add(If_else,16067037,287,56)
{
Type=1
Op2=Integer(0)
link(onTrue,3840909:doOperation,[(325,62)(325,111)])
link(onFalse,10863678:doValue,[])
}
Add(Math,3840909,343,105)
{
Op2=1
ResultType=0
link(onResult,3221505:doEvent3,[(408,111)(408,146)(151,146)(151,69)])
}
Add(GetDataEx,7730525,245,34)
{
link(Data,3901157:Data1,[])
}
Add(Memory,10863678,413,63)
{
Default=Integer(0)
link(onData,3901157:onEvent1,[(456,69)(456,55)])
}
END_SDK
Add(For,4892732,602,259)
{
End=4
link(onEvent,15429747:doOperation,[])
link(onStop,1492010:doEnum,[(653,272)(653,300)])
link(End,11122176:Value,[])
}
Add(LineBreak,1290206,728,154)
{
Type=1
link(Data,13745623:Var3,[(734,145)])
Primary=[14994518,-308,56]
}
Add(Math,15429747,700,259)
{
ResultType=0
link(onResult,7569232:doRead,[])
link(Op2,14711995:Var1,[(713,234)(502,234)(502,284)(426,284)])
}
Add(Image,1542487,994,322)
{
Left=385
Top=365
Width=85
Height=65
link(onClick,5423092:doWork5,[(1050,328)(1050,188)])
}
Add(PaintBox,14075813,616,427)
{
Left=5
Top=25
Width=460
Height=340
Color=16777215
ClearBeforeDraw=0
Point(onMouseDown)
Point(onMouseMove)
Point(MouseX)
Point(MouseY)
link(onBeforeDraw,8191459:In,[])
link(onMouseDown,8845434:In,[])
link(onMouseMove,5742295:In,[])
}
Add(Img_UseOffset,9173318,616,686)
{
link(AddTransform,683094:Var,[])
link(X,929447:Var2,[])
link(Y,14804783:Var1,[(636,649)])
}
Add(Math,401840,623,553)
{
OpType=1
link(onResult,8830839:doOperation,[])
link(Op1,14746427:Var2,[])
link(Op2,12308577:Value,[])
}
Add(Math,8830839,686,553)
{
OpType=1
link(onResult,7746369:doWork3,[(729,559)(729,542)(592,542)])
link(Op1,12309971:Var2,[])
link(Op2,971548:Value,[])
}
Add(Hub,12605675,553,553)
{
OutCount=3
link(onEvent1,401840:doOperation,[])
link(onEvent2,8365796:doOperation,[(595,566)(595,608)])
link(onEvent3,6943504:doWork3,[(571,573)])
}
Add(Memory,12308577,630,504)
{
Point(Data)
link(onData,971548:doValue,[])
link(Data,14746427:Var3,[(636,488)])
}
Add(Memory,971548,693,504)
{
Point(Data)
link(Data,12309971:Var3,[(699,488)])
}
Add(IndexToChanel,12858463,511,553)
{
Count=1
link(onEvent1,12605675:doEvent1,[])
}
Add(IndexToChanel,1721923,511,504)
{
Count=1
link(onEvent1,7746369:doWork2,[])
}
Add(Math,8365796,623,602)
{
link(onResult,11032244:doOperation,[])
link(Op1,401840:Result,[])
link(Op2,929447:Var3,[(636,590)(661,590)(661,642)])
}
Add(Math,11032244,686,602)
{
link(Op1,8830839:Result,[])
link(Op2,14804783:Var3,[(699,590)(723,590)(723,649)])
}
Add(GetDataEx,929447,623,637)
{
link(Data,8365796:Result,[])
}
Add(GetDataEx,14804783,686,644)
{
link(Data,11032244:Result,[])
}
Add(HubEx,7746369,588,504)
{
link(onEvent,12308577:doValue,[])
}
Add(LineBreak,5901125,448,504)
{
Caption="mDown"
link(Out,1721923:doEvent,[])
Primary=[8845434,266,-70]
}
Add(LineBreak,7736441,448,553)
{
Caption="mMove"
link(Out,12858463:doEvent,[])
Primary=[5742295,210,-112]
}
Add(Bitmap,15551347,378,336)
{
Point(Width)
Point(Height)
}
Add(Img_Bmp,44008,602,777)
{
Point(Transform)
link(Bitmap,3081980:Var,[])
link(SourceBitmap,14323944:Var,[])
link(Transform,9173318:Transform,[])
}
Add(GetDataEx,14746427,623,483)
{
link(Data,14075813:MouseX,[])
}
Add(GetDataEx,12309971,686,483)
{
link(Data,14075813:MouseY,[(692,474)(636,474)])
}
Add(LineBreak,4848513,553,777)
{
Caption="draw"
link(Out,44008:doDraw,[])
Primary=[8191459,217,-350]
}
Add(Img_Loader,6103738,259,336)
{
link(onLoad,5630692:doEvent1,[])
}
Add(Hub,5630692,308,336)
{
link(onEvent1,15551347:doLoad,[])
link(onEvent2,6943504:doWork1,[(351,349)(351,413)(571,413)])
}
Add(Img_UseScale,7686788,371,483)
{
link(X,10278308:Var2,[])
link(Y,10278308:Var3,[(391,474)])
}
Add(Math,904991,378,427)
{
OpType=3
Op2=10
Default=1
link(onResult,6943504:doWork2,[])
}
Add(CounterEx,12454032,329,427)
{
Default=10
Point(doPrev)
link(onNext,904991:doOperation,[])
}
Add(HubEx,6943504,567,427)
{
link(onEvent,14075813:doRefresh,[])
}
Add(GetDataEx,10278308,378,469)
{
link(Data,904991:Result,[])
}
Add(LineBreak,1786817,371,525)
{
Type=1
link(Data,7686788:Transform,[])
Primary=[683094,245,133]
}
Add(LineBreak,3411553,588,476)
{
Type=1
link(Data,14075813:Bitmap,[(594,468)(622,468)])
Primary=[3081980,14,252]
}
Add(LineBreak,1276533,378,385)
{
Type=1
link(Data,15551347:Bitmap,[])
Primary=[14323944,231,364]
}
Add(LineBreak,1087681,210,336)
{
link(Out,6103738:doLoad,[])
Primary=[678440,938,-182]
}
Add(Button,9322339,210,154)
{
Left=425
Caption="Выход"
link(onClick,3220805:doClose,[])
}
Add(Hub,10149431,525,238)
{
InCount=2
OutCount=3
link(onEvent1,15091165:doEvent1,[(781,244)(781,223)])
link(onEvent2,775386:doClear,[])
link(onEvent3,4892732:doFor,[(571,258)(571,265)])
}
Add(Memory,11122176,609,175)
{
Default=Integer(4)
Point(Data)
link(Data,13745623:Var2,[(615,169)(720,169)])
}
Add(If_else,15413539,539,175)
{
Type=3
Op2=Integer(4)
link(onTrue,11122176:doValue,[])
link(Op1,13745623:Var1,[(545,145)])
}
Add(GetDataEx,13745623,714,140)
{
link(Data,16253885:Count,[])
}
Add(Button,11002732,210,427)
{
Left=475
Top=95
Width=20
Height=90
Font=[MS Sans Serif,14,1,0,1]
Caption="+"
link(onClick,12454032:doNext,[])
}
Add(Button,12382933,259,434)
{
Left=475
Top=200
Width=20
Height=90
Font=[MS Sans Serif,14,1,0,1]
Caption="-"
link(onClick,12454032:doPrev,[])
}
Add(Hub,4818755,441,105)
{
link(onEvent1,15413539:doCompare,[(476,111)(476,181)])
link(onEvent2,10149431:doEvent2,[(465,118)(465,251)])
}
Add(StrList,775386,812,238)
{
}
Add(ArrayEnum,1492010,826,294)
{
link(onItem,5605579:doLoad,[])
link(Array,178217:Var2,[])
}
Add(Img_Loader,5605579,875,294)
{
link(onLoad,12724308:doEvent,[])
}
Add(IndexToChanel,12724308,917,294)
{
Count=5
Point(Index)
Point(Data)
link(onEvent1,7975942:doLoad,[(967,300)(967,160)])
link(onEvent2,16651437:doLoad,[(972,307)(972,202)])
link(Index,1492010:Index,[(923,282)(869,282)(869,339)(839,339)])
link(onEvent3,688805:doLoad,[(978,314)(978,244)])
link(onEvent4,12463613:doLoad,[(983,321)(983,286)])
link(onEvent5,1542487:doLoad,[])
}
Add(ChanelToIndex,5423092,1057,154)
{
Count=5
link(onIndex,14608345:doRead,[])
}
Add(ArrayRW,14608345,1099,154)
{
link(onRead,678440:In,[])
link(Array,178217:Var3,[(1105,139)(853,139)(853,285)])
}
Add(GetDataEx,178217,826,280)
{
link(Data,775386:Array,[])
}
Add(Hub,15091165,896,217)
{
OutCount=5
link(onEvent1,7975942:doClear,[(923,223)(923,167)])
link(onEvent2,16651437:doClear,[(932,230)(932,209)])
link(onEvent3,688805:doClear,[(986,237)(986,251)])
link(onEvent4,12463613:doClear,[(962,244)(962,293)])
link(onEvent5,1542487:doClear,[(956,251)(956,335)])
}
Ответов: 16884
Рейтинг: 1239
|
|||
А так?
|
|||
карма: 25 |
|