Code
Add(MainForm,2953706,553,259)
{
Point(doVisible)
}
Add(Button,5066194,364,287)
{
Left=65
Top=15
link(onClick,4881597:doEvent1,[])
}
Add(ChildForm,12334066,455,294)
{
link(onEvent1,3698605:doWork2,[])
}
BEGIN_SDK
Add(EditMulti,14505649,21,21)
{
EventCount=1
WorkCount=1
Width=699
Height=186
link(doWork1,14758369:doVisible,[(81,27)(81,69)])
}
Add(MainForm,14758369,238,35)
{
Left=35
Top=105
Visible=1
Point(doVisible)
}
Add(RadioButton,10711021,364,133)
{
Left=15
Top=25
Width=65
Caption="1"
Point(doEnabled)
link(onSelect,15033917:doWork1,[])
}
Add(RadioButton,3357013,476,126)
{
Left=15
Top=60
Width=65
Caption="2"
Point(doEnabled)
link(onSelect,9541678:doWork1,[])
}
Add(Button,14478325,133,77)
{
Left=200
Top=25
Caption="Назад"
link(onClick,6656748:doEvent1,[])
}
Add(Hub,6656748,196,77)
{
OutCount=5
link(onEvent1,14758369:doClose,[(224,83)(224,62)])
link(onEvent2,14505649:onEvent1,[(312,90)(312,27)])
link(onEvent3,13981797:doData,[])
link(onEvent4,15033917:doWork2,[(237,104)(237,178)(403,178)(403,146)])
link(onEvent5,9541678:doWork2,[(228,111)(228,188)(515,188)(515,139)])
}
Add(ChanelToIndex,15033917,413,133)
{
link(onIndex,3357013:doEnabled,[])
}
Add(ChanelToIndex,9541678,525,126)
{
link(onIndex,10711021:doEnabled,[(564,132)(564,90)(354,90)(354,146)])
}
Add(DoData,13981797,245,91)
{
Data=Integer(0)
link(onEventData,11704534:doEvent1,[])
}
Add(Hub,11704534,308,91)
{
link(onEvent1,3357013:doSelect,[(466,97)(466,132)])
link(onEvent2,10711021:doSelect,[(340,104)(340,139)])
}
END_SDK
Add(ChanelToIndex,3698605,504,287)
{
link(onIndex,2953706:doVisible,[])
}
Add(Hub,4881597,413,287)
{
link(onEvent1,3698605:doWork1,[])
link(onEvent2,12334066:doWork1,[])
}