Add(PointXY,26249,385,140) { link(X,14040495:MouseX,[]) link(Y,14040495:MouseY,[]) } Add(HubEx,16737198,494,105) { link(onEvent,13984465:doValue,[]) } Add(Img_Line,62527,494,209) { Size=3 Point(Point1) Point(Point2) link(onDraw,16737198:doWork3,[(538,215)(538,165)(498,165)]) link(Bitmap,14040495:Bitmap,[(500,194)(384,194)]) link(Point1,10491606:Var3,[(507,185)]) link(Point2,13984465:Value,[]) } Add(PaintBox,14040495,378,98) { Width=400 Height=300 Color=16777215 Cursor=7 Point(onMouseDown) Point(onMouseMove) Point(doWidth) Point(doHeight) Point(MouseX) Point(MouseY) link(onMouseDown,16737198:doWork2,[]) link(onMouseMove,8196121:doCompare,[]) } Add(GetDataEx,10491606,483,180) { Angle=3 link(Data,26249:Point,[(391,185)]) } Add(If_else,8196121,430,112) { Op2=Integer(0) link(onTrue,62527:doDraw,[(478,118)(478,215)]) } Add(Memory,13984465,508,105) { Point(Data) link(onData,14040495:doRefresh,[(552,111)(552,84)(366,84)(366,104)]) link(Data,10491606:Var1,[(514,93)(489,93)]) }