Add(Math,5736883,826,511)
{
link(onResult,4126359:doText,[(891,517)(891,447)])
link(Op1,8003287:Text,[(832,324)(671,324)])
link(Op2,13904478:Text,[(839,342)(797,342)])
}
Add(Edit,8003287,665,266)
{
Left=455
Top=445
Text=""
}
Add(Edit,13904478,791,301)
{
Left=565
Top=445
Text=""
}
Add(Button,613670,490,420)
{
Left=450
Top=410
Caption="Х1"
link(onClick,10606412:doNext,[(489,426)(489,356)])
}
Add(CounterEx,10606412,497,350)
{
Max=9999
Step=6
link(onNext,8003287:doText,[(653,356)(653,272)])
}
Add(Edit,4126359,882,441)
{
Left=430
Top=165
Width=250
Height=145
Text=""
DataType=1
}
Add(Button,2407216,735,567)
{
Left=430
Top=335
Width=220
Height=75
Caption="Результат"
link(onClick,5736883:doOperation,[(797,573)(797,517)])
}
Add(Button,4300669,539,595)
{
Left=565
Top=410
Caption="Х2"
link(onClick,7622583:doNext,[(615,601)(615,440)])
}
Add(CounterEx,7622583,658,434)
{
Max=99999
Step=12
Point(onThroughMax)
link(onNext,13904478:doText,[(740,440)(740,307)])
}
Add(MainForm,4567660,1134,385)
{
Width=1290
Height=755
Point(Handle)
link(onCreate,9915920:doEvent1,[])
}
Add(WinTools,12834681,1134,434)
{
link(Handle,4567660:Handle,[])
}
Add(Hub,9915920,1183,399)
{
link(onEvent1,12834681:doPopup,[(1209,405)(1209,377)(1122,377)(1122,447)])
}
Можно сделать, чтобы сумма считалась автоматически?