Так пойдёт?
Вводит следующие данные:
Пользователь 1 Логин 1 Пароль 1-1
П.2 Логин 2 Пароль 2-2
П.3 Логин 3 Пароль 3-3
[code:1]Add(MainForm,16013561,21,105)
{
Left=20
Top=105
}
Add(Button,13613723,189,133)
{
Left=145
Top=105
Caption="Нажать"
link(onClick,14291473:doWork1,[])
}
Add(ChildForm,14291473,259,133)
{
link(onEvent1,9380840:doWork1,[(324,139)(324,104)])
link(onEvent2,9697929:doWork1,[(331,146)(331,160)])
link(onEvent3,6861850:doWork1,[(324,153)(324,223)])
}
BEGIN_SDK
Add(EditMulti,11600146,3,3)
{
EventCount=3
WorkCount=1
Width=678
Height=515
link(doWork1,6705725:doData,[(15,9)(15,146)])
}
Add(MainForm,7145993,98,112)
{
Left=35
Top=105
Width=360
Height=296
Visible=1
Point(doVisible)
}
Add(DoData,6705725,28,140)
{
Data=Integer(1)
link(onEventData,7145993:doVisible,[(79,146)(79,146)])
}
Add(Edit,13230907,231,168)
{
Left=120
Top=55
Width=150
Text=""
}
Add(Edit,10171452,280,168)
{
Left=120
Top=95
Width=150
Text=""
}
Add(Label,2834968,154,168)
{
Left=55
Top=60
Caption="Логин"
}
Add(Label,4731784,154,224)
{
Left=55
Top=100
Caption="Пароль"
}
Add(Button,3856234,147,315)
{
Left=285
Top=235
Caption="Дальше"
link(onClick,12641930:doCompare,[])
}
Add(If_else,12641930,231,315)
{
Op2=String(1)
link(onTrue,4438151:doCompare,[])
link(onFalse,12442731:doCompare,[(273,328)(273,362)(221,362)(221,384)])
link(Op1,15632242:Data1,[(237,286)(237,286)])
}
Add(GetData,15632242,231,224)
{
Count=3
link(Data,13230907:Text,[])
}
Add(GetData,15454058,280,224)
{
Count=3
link(Data,10171452:Text,[])
}
Add(If_else,4438151,294,315)
{
Op2=String(1-1)
link(onTrue,11600146:onEvent1,[(503,321)(503,9)])
link(Op1,15454058:Data1,[(300,286)(286,286)])
}
Add(If_else,12442731,231,378)
{
Op2=String(2)
link(onTrue,1101703:doCompare,[])
link(onFalse,5332295:doCompare,[(273,391)(273,422)(221,422)(221,440)])
link(Op1,15632242:Data2,[(237,293)(244,293)])
}
Add(If_else,1101703,294,378)
{
Op2=String(2-2)
link(onTrue,11600146:onEvent2,[(515,384)(515,16)])
link(Op1,15454058:Data2,[(300,317)(293,317)])
}
Add(If_else,5332295,231,434)
{
Op2=String(3)
link(onTrue,11532553:doCompare,[])
link(Op1,15632242:Data3,[(237,301)(251,301)])
}
Add(If_else,11532553,294,434)
{
Op2=String(3-3)
link(onTrue,11600146:onEvent3,[(529,440)(529,23)])
link(Op1,15454058:Data3,[])
}
END_SDK
Add(ChildForm,9380840,357,98)
{
}
BEGIN_SDK
Add(EditMulti,10352730,3,3)
{
WorkCount=1
Width=524
Height=438
link(doWork1,631417:doData,[(33,9)(33,174)])
}
Add(MainForm,12829804,140,140)
{
Left=35
Top=105
Caption="Пользователь 1"
Visible=1
Point(doVisible)
}
Add(DoData,631417,63,168)
{
Data=Integer(1)
link(onEventData,12829804:doVisible,[])
}
END_SDK
Add(ChildForm,9697929,357,154)
{
}
BEGIN_SDK
Add(EditMulti,10352730,3,3)
{
WorkCount=1
Width=524
Height=438
link(doWork1,631417:doData,[(33,9)(33,174)])
}
Add(MainForm,12829804,140,140)
{
Left=35
Top=105
Caption="Пользователь 2"
Visible=1
Point(doVisible)
}
Add(DoData,631417,63,168)
{
Data=Integer(1)
link(onEventData,12829804:doVisible,[])
}
END_SDK
Add(ChildForm,6861850,357,217)
{
}
BEGIN_SDK
Add(EditMulti,10352730,3,3)
{
WorkCount=1
Width=524
Height=438
link(doWork1,631417:doData,[(33,9)(33,174)])
}
Add(MainForm,12829804,140,140)
{
Left=35
Top=105
Caption="Пользователь 3"
Visible=1
Point(doVisible)
}
Add(DoData,631417,63,168)
{
Data=Integer(1)
link(onEventData,12829804:doVisible,[])
}
END_SDK
[/code:1]
Ответов: 2058
Рейтинг: 28
|
|||
карма: 1 |
|