andrestudio писал(а): никак антивирус задумал делать
нее, до такого мне еще расти
балуюсь, типо шифрование данных
Add(PaintBox,8674688,777,189) { Left=5 Top=55 Width=300 Height=300 Color=0 Point(Handle) } Add(MainForm,1027,112,84) { Width=800 Height=405 Point(onClose) link(onClose,13529561:doClose,[(208,111)(208,83)]) } Add(DataToFile,11483695,273,203) { Point(doPosition) link(onGet,2829228:doConvert,[]) link(Stream,13529561:Stream,[]) } Add(Hub,2764410,224,210) { OutCount=4 link(onEvent1,457234:In,[(248,216)(248,181)]) link(onEvent2,11483695:doPosition,[]) link(onEvent3,11483695:doGet,[(256,230)(256,216)]) link(onEvent4,14535973:doPosition,[(256,237)(256,265)]) } Add(Button,267737,14,203) { Left=65 Top=30 Caption="read" Flat=0 link(onClick,1202001:doEvent1,[]) } Add(Convertor,2829228,329,203) { Mode=8 Digits=8 link(onResult,14583656:doEvent1,[]) } Add(Button,13623853,714,273) { Left=250 Top=30 Caption="save bmp" link(onClick,15224647:doSaveBmp,[]) } Add(FileStream,13529561,273,70) { FileName="byte" link(onLoad,8295373:doData,[(317,76)(317,167)]) link(FileName,3715677:Text,[]) } Add(MultiElementEx,15224647,777,266) { link(RefreshBMP,8674688:doRefresh,[(817,272)(817,305)(765,305)(765,195)]) link(Bitmap,8674688:Bitmap,[]) link(Handle,8674688:Handle,[]) link(FileName,2612158:Value,[(797,244)(825,244)]) } BEGIN_SDK Add(EditMultiEx,15536303,21,21) { WorkCount=#12:doadd=1 or 0|9:doSaveBmp| EventCount=#10:RefreshBMP| DataCount=#6:Bitmap|6:Handle|8:FileName| Width=776 Height=494 link(doadd,1563159:doEvent1,[(53,27)(53,206)]) link(doSaveBmp,7093779:doCapture,[(357,34)(357,73)]) } Add(Img_Point,14340008,532,270) { Point(Color) Point(X) Point(Y) link(Bitmap,15536303:Bitmap,[(538,45)(27,45)]) link(Color,6389652:Value,[]) link(X,6256191:Var2,[(552,232)(314,232)]) link(Y,2803029:Var2,[(559,254)(440,254)]) } Add(Math,15914716,273,263) { Op2=1 ResultType=0 Default=1 Point(doClear) link(onResult,13160127:doCompare,[]) link(Op1,6256191:Var1,[(279,244)]) } Add(If_else,13160127,322,263) { Op2=Integer(300) link(onTrue,5570880:In,[(370,269)(370,255)]) } Add(If_else,1675419,119,200) { Op2=Integer(1) link(onTrue,15113525:doData,[(170,206)(170,185)]) link(onFalse,5084647:doData,[(170,213)(170,227)]) } Add(GetDataEx,6256191,301,235) { Angle=2 link(Data,15914716:Result,[(314,315)(279,315)]) } Add(LineBreak,15541393,175,347) { Caption="clear" link(Out,7467466:doEvent1,[]) Primary=[5570880,210,-98] } Add(Hub,7467466,238,347) { link(onEvent1,15914716:doClear,[(262,353)(262,276)]) link(onEvent2,9952150:doOperation,[]) } Add(Hub,9829604,175,263) { OutCount=3 link(onEvent1,15914716:doOperation,[]) link(onEvent2,5971114:In,[(210,276)(210,290)]) link(onEvent3,11463716:In,[(203,283)(203,311)]) } Add(LineBreak,135061,357,102) { link(Out,15536303:RefreshBMP,[(592,108)(592,27)]) Primary=[5971114,-140,182] } Add(Math,9952150,343,354) { Op2=1 ResultType=0 Default=1 Point(doClear) link(Op1,2803029:Var1,[(349,314)]) } Add(GetDataEx,2803029,427,305) { Angle=2 link(Data,9952150:Result,[(440,398)(349,398)]) } Add(LineBreak,13050417,476,270) { link(Out,14340008:doDraw,[]) Primary=[11463716,-259,35] } Add(DoData,5084647,189,221) { Data=Integer(0) link(onEventData,10311933:doWork3,[(270,227)]) } Add(DoData,15113525,189,179) { Data=Integer(16777215) link(onEventData,10311933:doWork2,[]) } Add(HubEx,10311933,266,172) { Angle=3 link(onEvent,6389652:doValue,[(270,171)]) } Add(Hub,1563159,84,200) { link(onEvent1,1675419:doCompare,[]) link(onEvent2,9829604:doEvent1,[(112,213)(112,269)]) } Add(Memory,6389652,539,165) { } Add(ScreenShort,7093779,693,67) { link(onCapture,6836650:doSave,[]) link(Handle,15536303:Handle,[(699,40)(34,40)]) } Add(PictureStream,6836650,742,60) { Quality=100 link(FileName,15536303:FileName,[(748,34)(41,34)]) } END_SDK Add(Memory,2612158,819,189) { Default=String(pic.bmp) } Add(Copy,7160297,651,266) { Count=1 link(onCopy,15224647:doadd,[]) link(Position,6209732:Position,[(664,243)(575,243)(575,310)(538,310)]) } Add(Timer,7961417,119,210) { Interval=33 Enable=1 Point(doAutoStop) link(onTimer,7406637:doNext,[]) } Add(DoData,8295373,329,161) { link(onEventData,5526174:In,[]) link(Data,13529561:Size,[(335,131)(286,131)]) } Add(LineBreak,4126928,42,252) { link(Out,12070813:doEvent1,[]) Primary=[5526174,329,-91] } Add(Hub,14583656,476,203) { link(onEvent1,13069360:doValue,[]) link(onEvent2,6209732:doFor,[(500,216)(500,272)]) } Add(For,6209732,532,266) { Start=1 End=8 link(onEvent,10437969:doData,[]) } Add(Counter,7406637,182,210) { Point(doMax) link(onNext,2764410:doEvent1,[]) } Add(Hub,12070813,84,252) { OutCount=3 link(onEvent1,7961417:doAutoStop,[(108,258)(108,230)]) link(onEvent2,7406637:doMax,[(165,265)(165,237)]) link(onEvent3,14535973:doMax,[]) } Add(Memory,13069360,595,203) { } Add(DoData,10437969,595,266) { link(onEventData,7160297:doCopy,[]) link(Data,13069360:Value,[]) } Add(LineBreak,16701902,546,217) { link(Out,13069360:doClear,[(586,223)(586,216)]) Primary=[457234,-287,-42] } Add(GProgressBar,14535973,273,259) { Top=360 Width=790 Height=15 Point(doMax) } Add(Edit,3715677,273,21) { Left=5 Top=5 Width=300 Text="" } Add(Button,14097724,132,21) { Left=5 Top=30 Caption="open" Flat=0 link(onClick,16192854:doExecute,[]) } Add(ODialog,16192854,203,21) { link(onExecute,3715677:doText,[]) } Add(Hub,1202001,56,203) { link(onEvent1,13529561:doOpen,[(98,209)(98,76)]) link(onEvent2,7961417:doTimer,[]) }
теперь осталось сделать считыватель
|