Add(MainForm,2953706,161,161) { link(onCreate,2903991:doWork2,[]) } Add(ChildPanelEx,3924608,280,175) { Mode=1 link(onClick,12659840:doOperation,[(319,181)(319,217)(270,217)(270,230)]) } BEGIN_SDK Add(EditMultiEx,13398744,21,21) { WorkCount=#5:##add|8:##select|8:doBitmap| EventCount=#7:onClick| VarCount=#7:##count|12:##eventIndex| Point(##add) Point(##select) Point(##count) Point(##eventIndex) link(doBitmap,939470:doBitmap,[(116,41)(116,55)]) } Add(Panel,562820,35,105) { Left=2 Top=2 Width=56 Height=42 Layout="parent.MyButton" } Add(BitBtn,939470,126,42) { Left=1 Top=1 Width=54 Height=40 Caption="" Point(doBitmap) link(onClick,13398744:onClick,[(165,48)(165,27)]) } END_SDK Add(GridLayout,4811157,280,140) { Name="MyButton" Space=2 Padding=2 Rows=1000 Cols=6 } Add(Hub,15274076,217,175) { link(onEvent1,3924608:##add,[]) link(onEvent2,4811157:doResize,[(242,188)(242,146)]) } Add(Math,12659840,280,224) { OpType=1 Op2=1 ResultType=0 link(onResult,4590729:doCompare,[]) link(Op1,3924608:##count,[]) } Add(If_else,4590729,336,224) { link(onTrue,15949146:doExecute,[]) link(Op2,3924608:##eventIndex,[(349,213)(293,213)]) } Add(ODialog,15949146,385,224) { Filter="JPG|*.jpg" link(onExecute,15938724:doLoad,[]) } Add(PictureStream,15938724,434,224) { link(onLoad,13685477:doResize,[]) } Add(Hub,4950297,525,224) { OutCount=3 link(onEvent1,6610808:doData,[]) link(onEvent2,3924608:doBitmap,[(549,237)(549,271)(260,271)(260,195)]) link(onEvent3,2903991:doWork1,[(557,244)(557,134)(207,134)]) } Add(DoData,6610808,574,224) { link(onEventData,3924608:##select,[(614,230)(614,280)(252,280)(252,188)]) link(Data,12659840:Result,[(580,215)(565,215)(565,263)(286,263)]) } Add(HubEx,2903991,203,175) { link(onEvent,15274076:doEvent1,[]) } Add(Resize,13685477,476,224) { Width=54 Height=40 link(onResult,4950297:doEvent1,[]) }