Add(ChildPanel,8802258,371,259) { link(onEvent1,2160854:doWidth,[(414,265)(414,247)(359,247)(359,209)]) link(Data1,2160854:Width,[]) link(onEvent2,3315267:doText,[(411,272)(411,279)]) } BEGIN_SDK Add(EditMulti,234139,35,35) { EventCount=2 DataCount=1 VarCount=1 Width=902 Height=543 link(Var1,8044380:Var2,[(41,377)(76,377)]) } Add(Panel,10592473,238,56) { Left=35 Top=105 Width=185 Height=140 Point(Handle) Point(Width) Point(doWidth) Point(onResize) } Add(VisualShape,11147293,245,126) { Width=185 Height=140 Point(onMouseDown) Point(Handle) Point(Left) Point(onMove) Point(doWidth) Point(Width) link(onMouseDown,3574297:doMove,[]) } Add(MoveWindow,3574297,448,126) { link(Handle,10592473:Handle,[(454,58)(311,58)(311,100)(244,100)]) } Add(VisualShape,15155884,245,245) { Left=160 Top=55 Width=25 Height=25 Point(onMouseDown) Point(onMouseMove) Point(doLeft) Point(onResize) link(onMouseDown,15745445:doEvent1,[]) } Add(Message,11341939,602,154) { } Add(Label,14723250,399,245) { link(Text,75672:Var2,[(405,235)(349,235)]) } Add(MouseEvent,15788605,343,182) { } Add(Timer,7062903,245,301) { Interval=0 link(onTimer,10437145:doEvent1,[]) } Add(Math,13762348,392,301) { OpType=1 link(onResult,960809:doText,[]) link(Op1,75672:Var1,[(398,261)(340,261)(340,222)]) link(Op2,14723250:Caption,[]) } Add(GetDataEx,75672,343,217) { link(Data,15788605:MouseX,[]) } Add(Label,960809,441,301) { Top=20 } Add(Hub,10437145,308,301) { link(onEvent1,14232590:doEvent1,[]) link(onEvent2,234139:onEvent2,[(630,314)(630,48)]) } Add(Math,9542962,679,308) { link(onResult,15162125:doEvent1,[]) link(Op1,8044380:Var3,[(685,172)]) link(Op2,960809:Caption,[(692,296)(570,296)(570,345)(447,345)]) } Add(MultiElementEx,13621777,560,245) { @Color=11184640 } BEGIN_SDK Add(EditMultiEx,4453803,21,21) { WorkCount=#25:doData=нажатие на объекте| EventCount=#43:onEvent2=Событие при отпускании кнопки мыши| VarCount=#5:Value| Width=650 Height=207 link(doData,9538921:doEvent1,[(49,27)(49,69)]) link(Value,7817314:Value,[(27,162)(251,162)]) } Add(DoData,1217270,140,63) { Data=Integer(1) link(onEventData,2149178:doWork2,[]) } Add(Memory,7817314,245,63) { Default=Integer(0) } Add(Timer,14602816,140,119) { Interval=0 Enable=1 link(onTimer,2209371:doReadKey,[]) } Add(Hub,9538921,77,63) { link(onEvent1,1217270:doData,[]) link(onEvent2,14602816:doTimer,[(115,76)(115,125)]) } Add(Keyboard,2209371,273,119) { Key=1 link(onReadKey,366792:doEvent,[]) } Add(IndexToChanel,366792,343,119) { link(onEvent1,11092333:doData,[]) } Add(DoData,11092333,434,119) { Data=Integer(0) link(onEventData,11863327:doEvent1,[]) } Add(HubEx,2149178,210,63) { link(onEvent,7817314:doValue,[]) } Add(Hub,11863327,504,119) { link(onEvent1,8938255:doEvent1,[]) link(onEvent2,14602816:doStop,[(528,132)(528,191)(128,191)(128,132)]) } Add(Hub,8938255,539,119) { link(onEvent1,2149178:doWork3,[(563,125)(563,39)(214,39)]) link(onEvent2,4453803:onEvent2,[(612,132)(612,27)]) } END_SDK Add(If_else,602244,560,308) { Op2=Integer(1) link(onTrue,9542962:doOperation,[]) link(Op1,13621777:Value,[]) } Add(Hub,15745445,301,245) { link(onEvent1,13621777:doData,[]) link(onEvent2,14723250:doText,[(357,258)(357,251)]) } Add(Hub,14232590,357,301) { link(onEvent1,13762348:doOperation,[]) } Add(Timer,3586033,245,364) { Interval=0 link(onTimer,602244:doCompare,[(419,370)(419,314)]) } Add(Label,8952450,798,308) { Left=55 Top=20 } Add(Hub,15162125,735,308) { link(onEvent1,8952450:doText,[]) link(onEvent2,234139:onEvent1,[(843,321)(843,41)]) } Add(GetDataEx,8044380,70,167) { Angle=3 link(Data,234139:Data1,[(41,171)]) } END_SDK Add(VisualShape,2160854,371,203) { Left=30 Top=270 Width=185 Height=150 Point(Width) Point(doWidth) } Add(Label,3315267,420,273) { Left=55 link(Text,8802258:Var1,[(426,261)(402,261)(402,303)(377,303)]) }