Add(MainForm,2953706,91,182) { Point(onResize) Point(Width) Point(Height) Point(doWidth) Point(doHeight) link(onResize,4144564:doEvent1,[]) } Add(If_else,15969642,189,203) { Type=2 Op2=Integer(400) link(onTrue,16681534:doData,[]) link(Op1,2953706:Width,[(195,170)(33,170)(33,232)(97,232)]) link(Op2,10997811:Var2,[]) } Add(If_else,16610374,343,259) { Type=2 Op2=Integer(400) link(onTrue,13752225:doData,[]) link(Op1,2953706:Height,[(349,110)(26,110)(26,239)(104,239)]) link(Op2,10267251:Var2,[]) } Add(Hub,4144564,133,203) { link(onEvent1,15969642:doCompare,[]) link(onEvent2,16610374:doCompare,[(157,216)(157,265)]) } Add(Memory,1725615,350,140) { @Hint=#19:Максимальная Высота| Default=Integer(500) AddHint(51,-65,133,13,@Hint) } Add(Memory,2359404,196,119) { @Hint=#19:Максимальная Ширина| Default=Integer(400) AddHint(-120,-47,134,13,@Hint) } Add(DoData,13752225,420,259) { link(onEventData,8895229:Wire2,[]) link(Data,10267251:Var3,[(426,229)]) } Add(DoData,16681534,252,203) { link(onEventData,8895229:Wire1,[(466,209)(466,258)]) link(Data,10997811:Var3,[(258,159)]) } Add(GetDataEx,10997811,196,154) { link(Data,2359404:Value,[]) } Add(GetDataEx,10267251,350,224) { link(Data,1725615:Value,[]) } Add(CableWork,8895229,497,252) { link(Cable,4933340:Cable,[(520,258)(520,302)(51,302)(51,216)]) } Add(CableEvent,4933340,63,210) { link(Wire1,2953706:doWidth,[]) link(Wire2,2953706:doHeight,[]) }