Проще же все:
Add(MainForm,11111470,224,371)
{
Width=340
Height=183
Color=0
BorderStyle=1
Position=1
link(onCreate,9791521:doWork3,[(340,391)])
}
Add(LedNumber,13418040,490,315)
{
Left=25
Top=60
Width=296
Height=55
Point(doText)
}
Add(Timer,4119695,224,315)
{
link(onTimer,9957452:doData,[])
}
Add(DateConvertor,8254102,434,315)
{
Mode=16
Format="HH:mm:ss"
link(onResult,13418040:doText,[])
}
Add(Button,12568561,224,252)
{
Left=35
Top=27
Width=70
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Caption="+"
Data=Integer(3600)
link(onClick,11898241:doWork2,[])
}
Add(Button,15903809,280,266)
{
Left=35
Top=125
Width=70
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Caption="-"
Data=Integer(-3600)
link(onClick,12271839:doWork2,[])
}
Add(Button,7236723,224,203)
{
Left=140
Top=27
Width=70
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Caption="+"
Data=Integer(60)
link(onClick,8789468:doWork2,[])
}
Add(Button,15217311,280,217)
{
Left=140
Top=125
Width=70
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Caption="-"
Data=Integer(-60)
link(onClick,14715276:doWork2,[])
}
Add(Button,14875521,224,147)
{
Left=250
Top=27
Width=70
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Caption="+"
Data=Integer(1)
link(onClick,16066576:doWork1,[(340,153)])
}
Add(Button,9734654,280,161)
{
Left=248
Top=125
Width=70
Font=[MS Sans Serif,12,1,0,1]
TabOrder=-1
Caption="-"
Data=Integer(-1)
link(onClick,16066576:doWork2,[])
}
Add(DoData,9957452,280,315)
{
Data=Integer(1)
link(onEventData,9791521:doWork2,[])
}
Add(Math,6347343,371,315)
{
link(onResult,8254102:doConvert,[])
link(Op1,6347343:Result,[(377,306)(363,306)(363,355)(377,355)])
}
Add(HubEx,9791521,336,315)
{
link(onEvent,6347343:doOperation,[])
}
Add(HubEx,16066576,336,161)
{
Angle=1
link(onEvent,8789468:doWork1,[])
}
Add(HubEx,8789468,336,203)
{
Angle=1
link(onEvent,14715276:doWork1,[])
}
Add(HubEx,14715276,336,217)
{
Angle=1
link(onEvent,11898241:doWork1,[])
}
Add(HubEx,11898241,336,252)
{
Angle=1
link(onEvent,12271839:doWork1,[])
}
Add(HubEx,12271839,336,266)
{
Angle=1
link(onEvent,9791521:doWork1,[])
}