3042 писал(а): попробовал сделать сам Ой, и я попробовал Добавил кружочки Проба Add(MainForm,2953706,217,70) { Width=230 Height=270 link(onCreate,4386862:doWork1,[(275,90)(275,125)]) } Add(Image,965903,420,119) { Left=5 Top=30 Width=200 Height=200 Align=5 link(Bitmap,3828978:Var3,[(426,108)]) } Add(ChildForm,823960,364,126) { link(Data1,3828978:Var2,[]) } BEGIN_SDK Add(EditMulti,5873213,21,21) { WorkCount=1 DataCount=1 VOffset=40 HOffset=100 link(doWork1,13443017:doEvent1,[]) } Add(MainForm,2845033,91,105) { Left=600 Top=105 Height=400 Visible=1 BorderStyle=0 Point(doVisible) } Add(If_else,13712605,91,63) { Type=5 Op2=Integer(0) link(onTrue,6884487:doFor,[]) link(onFalse,10734222:##clear,[(130,76)(130,104)(228,104)(228,76)]) } Add(Hub,13443017,49,63) { link(onEvent1,13712605:doCompare,[]) link(onEvent2,2845033:doVisible,[(74,76)(74,139)]) } Add(ChildPanelEx,10734222,245,63) { Mode=1 } BEGIN_SDK Add(EditMultiEx,15090891,21,21) { WorkCount=#5:##add|7:##clear| Point(##add) Point(##clear) link(##add,6777138:doLoad,[(109,27)(109,90)]) } Add(Panel,7609803,35,105) { Width=100 Height=100 Layout="parent.MyPlitka" } Add(Image,6777138,119,84) { Width=100 Height=100 } END_SDK Add(For,6884487,140,63) { End=15 link(onEvent,12156900:doData,[]) link(onStop,12181050:doResize,[(179,76)(179,132)]) } Add(DoData,12156900,189,63) { link(onEventData,10734222:##add,[]) link(Data,5873213:Data1,[(195,54)(127,54)]) } Add(GridLayout,12181050,189,126) { Name="MyPlitka" Rows=4 Cols=4 } END_SDK Add(MultiElement,4386862,301,119) { link(onEvent1,965903:doLoad,[]) link(onEvent2,823960:doWork1,[]) link(Data1,12590619:Var1,[(307,111)(294,111)(294,167)(223,167)]) link(Data2,12590619:Var2,[(314,103)(286,103)(286,159)(230,159)]) } BEGIN_SDK Add(EditMulti,3031986,21,21) { EventCount=2 WorkCount=3 DataCount=2 VarCount=1 Width=867 Height=466 HOffset=20 link(doWork1,826587:doWork1,[(326,27)]) link(doWork2,14058929:doEvent1,[(51,34)(51,181)]) link(Var1,14362460:Var1,[(47,103)]) link(doWork3,11106133:doEvent1,[(39,41)(39,328)]) } Add(Bitmap,16752093,385,56) { HWidth=200 HHeight=200 FillColor=12639424 Point(doCreate) } Add(Hub,5807769,336,70) { OutCount=3 link(onEvent1,16752093:doCreate,[]) link(onEvent2,509514:doWork3,[(361,83)]) link(onEvent3,5653257:doRandomize,[(360,90)(360,121)(144,121)(144,216)]) } Add(For,10551274,91,203) { link(onEvent,5653257:doRandom,[]) link(onStop,170029:doWork2,[]) link(End,3031986:Data1,[(104,48)(47,48)]) } Add(Hub,14058929,56,175) { OutCount=5 link(onEvent1,14119275:doWork2,[]) link(onEvent2,3092211:doClear,[(151,188)(151,174)(627,174)(627,223)]) link(onEvent3,2081470:doClear,[(270,195)(270,181)(522,181)(522,223)]) link(onEvent4,9916520:doWork2,[]) link(onEvent5,10551274:doFor,[]) } Add(Random,6013706,224,210) { Min=20 Max=200 link(onRandom,5212358:doRandom,[]) } Add(Random,5212358,273,210) { Max=360 link(onRandom,3372845:doOperation,[]) } Add(Math,7054388,371,210) { OpType=13 AngleMode=1 link(onResult,5665:doFor,[]) link(Op1,5212358:Random,[(377,201)(362,201)(362,258)(279,258)]) } Add(Math,3372845,322,210) { OpType=12 link(onResult,7054388:doOperation,[]) } Add(Img_Point,16013103,693,210) { Point(X) Point(Y) Point(Color) Point(Size) link(Bitmap,83993:Var3,[(699,103)]) link(X,8088628:Var1,[(706,187)(489,187)]) link(Y,1443815:Var3,[(713,201)]) link(Color,10470004:Value,[]) link(Size,13279088:Var1,[(727,187)]) } Add(MathParse,11537644,483,210) { MathStr="frac((%1 + %2 + 200)/200)*200" link(onResult,2081470:doValue,[]) link(X1,8088628:Var2,[]) link(X2,3372845:Result,[(496,194)(468,194)(468,264)(328,264)]) } Add(For,5665,427,210) { IncludeEnd=1 link(onEvent,11537644:doCalc,[]) link(End,6013706:Random,[(440,201)(419,201)(419,250)(230,250)]) } Add(Memory,2081470,532,210) { Default=Real(100) link(onData,7334579:doCalc,[]) } Add(MathParse,7334579,588,210) { MathStr="frac((%1 + %2 + 200)/200)*200" link(onResult,3092211:doValue,[]) link(X1,1443815:Var2,[]) link(X2,7054388:Result,[(601,194)(575,194)(575,274)(377,274)]) } Add(Memory,3092211,637,210) { Default=Real(100) link(onData,16013103:doDraw,[]) } Add(Memory,10470004,714,147) { Default=Integer(255) } Add(Memory,9628494,756,147) { Default=Integer(2) } Add(GetDataEx,8088628,483,196) { Angle=3 link(Data,2081470:Value,[(478,201)(478,261)(538,261)]) } Add(GetDataEx,1443815,588,196) { Angle=3 link(Data,3092211:Value,[(583,201)(583,261)(643,261)]) } Add(Random,5653257,154,203) { Min=200 Max=16777215 link(onRandom,12854925:doEvent1,[]) } Add(Hub,12854925,196,203) { link(onEvent1,10470004:doValue,[(263,209)(263,153)]) link(onEvent2,6013706:doRandom,[]) } Add(GetDataEx,14362460,385,98) { link(Data,16752093:Bitmap,[]) } Add(HubEx,826587,322,70) { link(onEvent,5807769:doEvent1,[]) } Add(HubEx,14119275,133,175) { Angle=3 link(onEvent,2562250:doEvent1,[(137,34)]) } Add(Hub,11106133,56,322) { OutCount=5 link(onEvent1,10957382:doWork2,[]) link(onEvent2,9916520:doWork3,[(81,335)]) link(onEvent5,7561958:doFor,[]) } Add(HubEx,170029,133,210) { Angle=3 link(onEvent,14119275:doWork3,[]) } Add(For,7561958,98,350) { link(onEvent,14544835:doRandom,[]) link(onStop,10957382:doWork3,[(137,363)]) link(End,3031986:Data2,[(111,40)(54,40)]) } Add(Random,2714368,245,357) { Max=199 link(onRandom,5976818:doRandom,[]) } Add(Random,5976818,294,357) { Max=199 link(onRandom,10931256:doRandom,[]) } Add(For,8676080,385,357) { End=359 link(onEvent,7889241:doCalc,[]) } Add(Random,10931256,336,357) { Min=5 Max=50 link(onRandom,8676080:doFor,[]) } Add(MathParse,7889241,455,357) { DataCount=3 MathStr="frac((%1 + %3*cos(%2) + 200)/200)*200" AngleMode=1 link(onResult,5681665:doCalc,[]) link(X1,2714368:Random,[(461,348)(448,348)(448,418)(251,418)]) link(X3,8817353:Var2,[]) } Add(MathParse,5681665,504,357) { DataCount=3 MathStr="frac((%1 + %3*sin(%2) + 200)/200)*200" AngleMode=1 link(onResult,7548355:doDraw,[]) link(X1,5976818:Random,[(510,342)(438,342)(438,410)(300,410)]) link(X2,8676080:Position,[(517,335)(425,335)(425,400)(391,400)]) link(X3,8817353:Var3,[(524,327)]) } Add(GetDataEx,8817353,469,322) { Angle=3 link(Data,10931256:Random,[(376,327)(376,400)(342,400)]) } Add(HubEx,10957382,133,322) { Angle=3 link(onEvent,170029:doWork3,[]) } Add(Hub,5890461,217,350) { link(onEvent1,13855810:doValue,[(284,356)(284,307)]) link(onEvent2,2714368:doRandom,[]) } Add(Random,14544835,161,350) { Min=200 Max=16777215 link(onRandom,5890461:doEvent1,[]) } Add(Img_Point,7548355,567,357) { Point(X) Point(Y) Point(Color) Point(Size) link(Bitmap,83993:Var2,[(573,278)(580,278)(580,180)(573,180)]) link(X,7889241:Result,[(580,348)(558,348)(558,407)(461,407)]) link(Y,5681665:Result,[(587,341)(552,341)(552,397)(510,397)]) link(Color,13855810:Value,[]) link(Size,5673325:Var2,[(601,343)(762,343)]) } Add(GetDataEx,83993,567,98) { Angle=3 link(Data,14362460:Var3,[]) } Add(GetDataEx,5673325,756,182) { link(Data,9628494:Value,[]) } Add(Memory,13855810,588,301) { } Add(GetDataEx,13279088,735,182) { Angle=1 link(Data,5673325:Var1,[]) } Add(HubEx,9916520,77,196) { Angle=3 link(onEvent,826587:doWork3,[(81,118)(326,118)]) } Add(Hub,2562250,280,28) { link(onEvent1,3031986:onEvent2,[]) link(onEvent2,509514:doWork2,[]) } Add(HubEx,509514,357,35) { Angle=3 link(onEvent,3031986:onEvent1,[(361,27)]) } END_SDK Add(GetDataEx,3828978,364,103) { Angle=3 link(Data,4386862:Var1,[(356,108)(356,159)(307,159)]) } Add(ChildPanel,12590619,217,119) { link(onEvent1,4386862:doWork2,[(267,125)(267,132)]) link(onEvent2,4386862:doWork3,[(258,132)(258,139)]) } BEGIN_SDK Add(EditMulti,12951779,21,21) { EventCount=2 VarCount=2 Width=174 Height=116 link(Var1,11247631:Text,[(27,75)(83,75)]) link(Var2,8895389:Text,[(34,124)(83,124)]) } Add(Panel,4803681,35,35) { Width=215 Height=30 Align=2 } Add(Edit,11247631,77,35) { Left=50 Top=5 Text="200" DataType=2 ClearAfterEnter=1 } Add(Button,3377274,119,35) { Left=10 Top=5 Width=40 Caption="------" Data=Integer(0) link(onClick,12951779:onEvent1,[(158,41)(158,27)]) } Add(Button,14499151,119,84) { Left=115 Top=5 Width=45 Caption="о о о" Data=Integer(0) link(onClick,12951779:onEvent2,[(165,90)(165,34)]) } Add(Edit,8895389,77,84) { Left=160 Top=5 Text="40" } END_SDK
Редактировалось 1 раз(а), последний 2017-07-10 19:17:21
|