схема
Add(MainForm,2953706,343,140)
{
}
Add(Edit,6343582,532,98)
{
Left=60
Top=205
Width=255
Height=45
}
Add(DropFile,5850189,343,84)
{
Point(doAccept)
link(onDropFile,11459225:doCompare,[])
}
Add(Image,16018053,588,147)
{
Left=5
Width=365
Height=195
}
Add(Hub,8976562,497,119)
{
link(onEvent1,6343582:doText,[(525,125)(525,104)])
link(onEvent2,8442349:doLoad,[(519,132)(519,153)])
}
Add(Img_Loader,8442349,533,147)
{
link(onLoad,16018053:doLoad,[])
}
Add(StrMask,11459225,392,84)
{
Mask="*.jpg"
link(onFalse,15930333:doCompare,[])
link(onTrue,1005736:doWork2,[(431,97)(431,125)])
}
Add(StrMask,15930333,441,84)
{
Mask="*.png"
link(onTrue,1005736:doWork1,[(487,97)])
}
Add(HubEx,1005736,483,119)
{
link(onEvent,8976562:doEvent1,[])
}