Add(MainForm,2953706,245,77) { link(onCreate,16381520:doRotate,[]) } Add(ChildPanelEx,16381520,329,91) { } BEGIN_SDK Add(EditMultiEx,3836407,21,21) { WorkCount=#8:doRotate| Width=412 Height=151 link(doRotate,2267582:doWork1,[(333,27)]) } Add(Panel,3879091,42,119) { Left=30 Top=15 Width=321 Height=224 Layout="parent.gor" HeightScale=70 } Add(Image,15862172,392,98) { Left=130 Top=30 Width=145 Height=145 ViewStyle=0 } Add(Img_Rotate,12277604,350,98) { Point(Result) link(onResult,15862172:doLoad,[]) link(Bitmap,13696344:Bitmap,[]) link(Angle,4311626:Count,[(363,89)(339,89)(339,138)(293,138)]) } Add(Button,13627954,35,35) { Left=30 Top=55 Point(doCaption) link(onClick,6543716:doEvent1,[]) } Add(Timer,6223274,119,98) { Interval=20 Enable=1 Point(onStop) link(onTimer,1786066:doEvent1,[]) } Add(Counter,4311626,287,98) { Max=359 link(onNext,2267582:doWork2,[]) } Add(Bitmap,13696344,350,49) { Picture=[ZIP6675000078DAEDDAC109C2401040D1D8852578F46401DEED42ECC0BAD3824172F01476373B0177DE875C14857DCC0445EF8FD77BFA765BAECB723DD7EB349DBF8F5FD7E77F9B254992347A3EFBD542B12A87C2C52ACE0A5739142B561150B8580541E1DAB0DA7850AC767EFEB486854365B46ABFD418ADAAC961D56C9596AB108115AB5E77756BD83C2D99AD6A4725F368351C9C15AB8885CAB986CD47CE66B5673CB28DD6CEC3B26215B44449B8BA1C338355AF3B73863B7CC703B2325A4193C08A55C4CA8CBA8641871ACFAAD7FF3A32FC3F642AEB803761650D132E60F961F7BC7C1E3DBF79B162C58A152B56AC58B162C58A152B56AC58B162C58A152B56AC58B162C58A152B56AC58B162C58A5517ABAA58B162C5EA2FB86649922449928EED037C63769C] } Add(HubEx,2267582,329,98) { link(onEvent,12277604:doRotate,[]) } Add(Random,9871242,119,42) { @Hint=#30:Задать min и max угол поворота| link(onRandom,3579475:doEvent1,[]) AddHint(35,-41,176,13,@Hint) } Add(Hub,6543716,77,35) { OutCount=3 link(onEvent1,9421288:doReset,[(203,41)(203,118)]) link(onEvent2,9871242:doRandom,[]) link(onEvent3,6223274:doTimer,[(109,55)(109,104)]) } Add(CounterEx,9421288,238,105) { Point(onThroughMax) Point(doReset) Point(doMax) link(onThroughMax,6223274:doStop,[(277,118)(277,146)(109,146)(109,111)]) } Add(Hub,1786066,210,98) { link(onEvent1,4311626:doNext,[]) link(onEvent2,9421288:doNext,[]) } Add(Hub,3579475,161,42) { link(onEvent1,9421288:doMax,[(193,48)(193,125)]) link(onEvent2,13627954:doCaption,[(184,55)(184,81)(26,81)(26,41)]) } END_SDK