Вверх ↑
Ответов: 209
Рейтинг: 3
#1: 2007-11-27 17:28:47 ЛС | профиль | цитата
Вот еще:
code_285.txt
И еще
Add(MainForm,15837588,21,105)
{
Left=20
Top=105
link(onCreate,10297254:Init,[(107,146)(107,216)])
}
Add(ChildPanelEx,10297254,161,210)
{
@Hint=#5:RX/TX|
}
BEGIN_SDK
Add(EditMultiEx,9722892,3,3)
{
WorkCount=#4:Init|
EventCount=#2:RX|2:TX|
Width=699
Height=494
link(Init,10566123:doEvent1,[(106,9)(106,167)])
}
Add(Panel,11317622,35,105)
{
Left=30
Top=200
Width=328
Point(doColor)
}
Add(BitBtn,2119477,154,168)
{
Left=60
Top=5
Width=100
Height=40
Font=[MS Sans Serif,18,0,32768,1]
Caption="RX"
link(onClick,10566123:doEvent2,[])
}
Add(BitBtn,6875231,161,329)
{
Left=175
Top=5
Width=90
Height=40
Font=[MS Sans Serif,18,0,255,1]
Caption="TX"
link(onClick,5242789:doEvent1,[])
}
Add(LED,10745860,364,161)
{
Left=10
Top=5
Width=40
Height=40
Shape=1
ColorOn=65280
ColorOff=32768
}
Add(LED,5093218,364,329)
{
Left=275
Top=5
Width=40
Height=40
Shape=1
}
Add(Hub,10566123,210,161)
{
InCount=2
OutCount=3
link(onEvent1,14775068:doEvent1,[(257,167)(257,251)])
link(onEvent2,10745860:doOn,[(303,174)(303,174)])
link(onEvent3,9722892:RX,[(298,181)(298,9)])
}
Add(Hub,14775068,273,245)
{
InCount=2
link(onEvent1,10745860:doOff,[(334,251)(334,181)])
link(onEvent2,5093218:doOff,[(334,258)(334,349)])
}
Add(Hub,5242789,217,329)
{
OutCount=3
link(onEvent1,14775068:doEvent2,[(261,335)(261,258)])
link(onEvent2,5093218:doOn,[(306,342)(306,342)])
link(onEvent3,9722892:TX,[(318,349)(318,16)])
}
END_SDK
карма: 0

0
файлы: 1code_285.txt [896B] [358]