------------ Дoбавленo:
Add(MainForm,2953706,203,196)
{
Width=536
Height=428
Position=1
Point(onPaint)
Point(onResize)
Point(onShow)
Point(Left)
Point(Top)
Point(Handle)
Point(onMouseUp)
Point(SizeHeader)
link(onCreate,6555747:doEvent1,[])
link(onResize,6555747:doEvent2,[(261,230)(261,223)])
link(onMouseUp,1745861:doOperation,[(247,244)(247,272)(128,272)(128,300)])
}
Add(Img_AlphaBmp,396145,588,203)
{
X=1
DrawSource=1
Point(Y)
link(onDraw,4375431:doNext,[])
link(Bitmap,10816912:Var3,[(594,191)(408,191)(408,260)])
link(AlphaBitmap,10999076:AlphaBitmap,[(601,191)(464,191)(464,254)(356,254)])
link(Y,40269:Var2,[(608,191)(552,191)])
}
Add(PNG,10999076,350,196)
{
PNG=[ZIPD509000078DA01D5092AF689504E470D0A1A0A0000000D49484452000000C60000003608060000009C09E6440000000467414D410000AFC837058AE90000001974455874536F6674776172650041646F626520496D616765526561647971C9653C000009674944415478DAEC9DCB8B1C5514C6CFADC73C3231931E9D3892410D8A44C4A59A8512C49D0ABE368AE86614C1BDE83FA02818541445C6C9421771A3C9C29DBA10250F5017222E84842CA2C624F3703A9D7E5695E754EEED9CBE736F754F9CA9998CE783C3AD47577533DC5F7DE7DC5B55A3DE01C88049618418815E1689369B32D6528CDE7A6B12EEDCD91C9E9AFA6B6872F2EB68E7CE578FBEFFFEB2EFF86864E4F2F1690A6F349BCECF280306C11061C40286E81A81C30092EAE58E5E56954A367EDF7DA746A6A70F1CFFE4938F9C1D3F08208C6378BDD1F08341200C630C69380C1881FCFD45D7001C296B131D04491B63DBDD77D7C7F7ED9B39313B7BC8758EB7B2CC0F0619CBA8768B58C3C1C118D9BD1B866EBA09C2EDDB41852128255E222AA9F363C7A59427EB74206BB721ADD7A153AD427B61015A4B4BDDCF250C8E8E05476B6808261F79E4C4F0F4F47E4CB19A0381F12E9E6F8C3A3F730D93568DDE7C334C3CFC308CEDDD0BF10D3740B86D1B0461A88F1438446B4A80170C530F4092E480245817A4972E411BC168FEFD375C3A750AAA3FFF0CF53FFEC8C130CED1D64180100DF11D77B427F6EF7FE6F8ECEC177DC1F8808131A2813070EC7AFE79A83CF4108CEED903431313100C233A040642215888CA740D308180A4E420E41E0848E7E245E8A07B34CE9C81EAAFBFC2E2B7DF42EDE4C96E4AD5664170A4587F4C3EF1C42B270E1E3C500446645226535798E23BAF3B30758AD0252802ACE4090CA5C1108936CA5942DD927B0C552A906036338CA93E653863B7DD064BDF7F0FF35F7D9583115835736371519D3D74E8ED7D33339DE37373EFF9BE2632A34F0103C29CA87DEE1C24172E407B7C3CFFB001436A0C51A932FD4DB734A264D6C94D02AC21A2EBAECBD3FC7C796C0C22BCA89FFFFCF31560E487619D72EECB2FDFD9F7C20B8BB8FAA9130C8095C3B2069406E56D5353796E975C7F3D04A3A3A0A26885630826A2750783D2776A118A1C0CBA4053507FA475DA87901014A3D3D300F7DE8BB953132E1C3EDC33F560DA0C9D63E19B6F0E1E79F9E51F1EFFF0C3532BC0E007D8D1C2A2A676F428A4CBCB102320217E2968309400212A1B0C0280C0A0741E9D41C531286CC925146533B86E0089B126DE7ED75DD0397B16968F1DEBE9D7A047B01AA74F87B5DF7E3B868B377A1DC38E80B94686054EBC7B776E4FE6CB953886A84C30341439187871365028AA7DB1065618A16E695F86590EA55734A2DAFAFD7768CECF5F2953E0CADC47F5BBEF767DF1DC73B34F7DF6D98B3D5FF931EEDF0E97E7312886A1772EC380124D4E4240791CFD20964A0920A27515AB27BA701018140406A5F71478D10E77EC00457D545FC0098EF6F9F350C38BFB3216E4666EA3A547A8EA74E1A7D1ABA9A974E2D1476F797276F6CC8A548A17E1CA5A26A5F805AA5A85947E8C67B8361340446B35F8E42BC0298D327050F6422914BA86C2343F4530028AF1F11C0EA0FD08475CA9408CFBB35A2DBFE01BC730F31D986E05C9FCFC615CBCA7FB75B37A1E639B0E97637058E807069A62710B5179D994EA029319E72048A8E64538683A815C831C431118E41E04031E97FCF30FD47FF905EA274FE68E6166C41B3AC8395A954AB6EBE9A76F7F4C17E22B6A0C60F545E8AA3FB0B05148A1B22A7D014354969364CC3D68A20F289A4DC8E84E59BA291023C5C821214769B5F28123D3A78D63C4C06E1D595C549876CDE1E283DD544A39D2A7C0E318661D1C43600287A894D48A26F7A8C10BB4990DCF97E9B6110CA5977368B0FEA0CF1828F8B952B872FB1345F5C71F1FE8A9315CA3518107125F484A252AA5D660DBBA37189A8EDE6AE9853487210784E0A0F98E4EE7F27D7EB44D9F2364AE416DEDF4E9F0C8CCCC6B8FCFCDBD19F980F001C21D2370A4520286683DC1E0CF6164C06E32A4F45E3B091FCDCA9D84E63A30CD8A30056BEB7E1BB102BC0D579E45C274EA596CDE8C8AE630C202D7081C400814A23220B19FE04B757AA5F41DB8E41C665FDE27D1351485B9CF4AEF337D3AD670D0BEEA4F3FDDE92CBE5D4E113AF6D9C5BA40212A138ED4EAE0798B1D3FD50343545FD0E8554A853A0DED522AA5D3A86E1DA1D3A880D51A8D3FFF0C8FBCF4D2FD91AF66E050B800518E544A6A0DD17AD4142EC70860E5A3AD667BA26B8F14E1A03E9BEAE73802767C6A01C16FA0CDEAF56723DF88949D2E456C39F4B885A453A2F5862673AC2B9E56996736E0F2DC073946EE2408064FA3422B9D0A59ED912C2DDD1F81232D022B6D0AA1FF10AE4021DA883A23B55C40B17A23D3A913C1129A112BCB5DB853988B7F677979570F1845B78528186CF856242AD33994E51C1C144AA94272107A5E5CA752DC2D5C834BB42D999FDF5178DBB9BA0AD71089CA740D3B4C5FE62995CB6902ABCEE07DB9BDB010476015CCAAC0158A26FD00642E43544E51AE1CB585FD9EA9EEAB9FF40460689DCB37FA4AD1BA7831885C3FC27691C0B15E34132E1295E516CA0146170E720DFDF8AB5D5B64569F0DB9DBD46A2A5205577DDEC9833EE996B885A84C29ABE876F5BDBC18D7F7496556FA947A1C235FA6879CC001826BF26E3550887388D63A7D2A5260B981EB3C81A30D0A2EE6918B4457415EB40E924A89D6D1157C4E9159FD8F3B47608191B1ED2914DFD591CF6714CD58F71BB12A0246245A4F2751ACBE002B55529E01A5D051634041265408453F7A65444AB4114E324856638FA00214CFD3F1FE1BC15576689FB38000222AA9E6507DFAA6CB39B8ABF8E0002878D3FF6A3AB91AF0078B446BE1146A1517EAD58CA6BA6E8D1289AED9C2BCDF00D06A078D143846A544A2AD048EEA539BF8248E21DA12AE5194FEF77B56C805918021FA5FD425BED4CA07898021DAB235C7A0C5BBAB061130445BBEB61864BBD418A22D5D67FC5757113044024D41A12E6088049CD53846E659EEF7D9413E2F12AD95D6ABAF4557FB053638FC71438143B45180D84FF85DAD82415DC2F772DDCCF3C344A28D84A2A8AFFAFA6E8F63640540F47B1B03770A9EB7091CA28D80232BE8B3665B0AFDDF7698713052E8FD174C663D29A8DE391CF2A092683338060F5F9FE66DE2D89E83C10FEAB0E08FFEB95E6958F45E290143B419C148586BFE9352C2FA3C6721EAFEAB25D6F277D3F293FAFE67060818A24D0886ED16A905469B05672031A994D9D982DE6769ED37B5B9023C7088441B5163988B3978A0E0CE61FA7C53B786838C83D184DE212A4314072384DE372BC80BD7449BB1F8B623612D07A3C3FA7E43B75D300C040DE61274C09005842B8D9297AD89366B4A9516A4531C90960E0386196C8A38550D4D0C41111780D1EF656B028968236018140E0E8649A712EBF3FF0A3000E7DCCCF40B687B640000000049454E44AE4260823FDE9650]
Transparent=0
TransparentColor=255
Point(doLoadFromStream)
Point(Stream)
Point(doAlphaBitmap)
Point(onAlphaBitmap)
Point(AlphaBitmap)
link(onAlphaBitmap,10113115:doTimer,[])
}
Add(Hub,6555747,287,210)
{
InCount=2
OutCount=3
link(onEvent1,4943747:doRedraw,[(311,216)(311,174)])
link(onEvent2,10999076:doLoadFromStream,[(325,223)(325,216)])
link(onEvent3,10999076:doAlphaBitmap,[(325,230)(325,223)])
}
Add(Timer,10113115,399,203)
{
Interval=10
Enable=1
AutoStop=6
Point(onStop)
link(onTimer,15252696:doNext,[])
link(onStop,3287634:doEvent1,[])
}
Add(CounterEx,15252696,490,203)
{
Min=-54
Max=99999
Step=54
Default=-54
Point(doReset)
link(onNext,396145:doDraw,[])
}
Add(MouseEvent,11719977,168,77)
{
}
Add(Math,1745861,140,294)
{
OpType=1
link(onResult,14792733:doCompare,[])
link(Op1,11719977:MouseX,[(146,205)(174,205)])
link(Op2,2953706:Left,[(153,271)(209,271)])
}
Add(If_else,14792733,196,294)
{
Type=2
Op2=Integer(0)
link(onTrue,2401989:doCompare,[])
}
Add(Math,320949,399,294)
{
OpType=1
link(onResult,2867860:doCompare,[])
link(Op1,11719977:MouseY,[(405,205)(181,205)])
link(Op2,2953706:Top,[(412,275)(216,275)])
}
Add(If_else,2401989,252,294)
{
Type=1
Op2=Integer(200)
link(onTrue,10465294:doOperation,[])
link(Op1,1745861:Result,[(258,289)(255,289)(255,338)(146,338)])
}
Add(Memory,706009,707,203)
{
link(onData,6844394:doOperation,[])
}
Add(If_else,2867860,490,294)
{
Type=2
Op2=Integer(0)
link(onTrue,7313557:doCompare,[])
}
Add(Math,10465294,294,294)
{
OpType=2
Op2=54
ResultType=0
link(onResult,719864:doOperation,[])
link(Op1,8075124:Var2,[(300,278)(713,278)])
}
Add(If_else,7313557,546,294)
{
Type=1
Op2=Integer(0)
link(onTrue,199915:doOperation,[])
link(Op2,719864:Result,[(559,282)(457,282)(457,338)(356,338)])
}
Add(Math,199915,602,294)
{
OpType=3
Op2=54
ResultType=0
link(onResult,10573694:doString,[])
link(Op1,320949:Result,[(608,282)(506,282)(506,338)(405,338)])
}
Add(CounterEx,4375431,651,203)
{
Point(doReset)
link(onNext,706009:doValue,[])
}
Add(Hub,3287634,441,210)
{
link(onEvent1,15252696:doReset,[])
link(onEvent2,4375431:doReset,[(553,223)(553,216)])
}
Add(FormatStr,10573694,665,294)
{
Mask="Select %1 variant"
link(onFString,3242839:doMessage,[])
}
Add(Message,3242839,714,294)
{
}
Add(Math,719864,350,294)
{
ResultType=0
link(onResult,320949:doOperation,[])
link(Op2,2953706:SizeHeader,[(363,271)(230,271)])
}
Add(Img_Text,15757728,595,105)
{
X=100
DrawSource=1
Font=[MS Sans Serif,12,1,0,1]
Point(Y)
link(Bitmap,10816912:Var1,[(601,93)(214,93)(214,260)])
link(Text,8075124:Var1,[(608,93)(659,93)(659,250)])
link(Y,6844394:Result,[(615,93)(692,93)(692,247)(769,247)])
}
Add(GetDataEx,10816912,217,255)
{
link(Data,2953706:Handle,[])
}
Add(GetDataEx,8075124,707,245)
{
link(Data,706009:Value,[])
}
Add(Math,6844394,763,203)
{
Op1=18
link(onResult,15757728:doDraw,[(807,209)(807,160)(583,160)(583,111)])
link(Op2,40269:Var3,[(776,191)(666,191)(666,243)])
}
Add(GetDataEx,40269,546,238)
{
Angle=2
link(Data,15252696:Count,[(496,247)])
}
Add(WinTools,4943747,322,140)
{
Point(doRedraw)
link(Handle,10816912:Var2,[(328,128)(276,128)(276,270)(223,270)])
}