Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -24,6 +24,6 @@ public class MainWindow : SDIDialog
|
|||
|
||||
closeButton.Caption := "Close";
|
||||
closeButton.setRegion(20, 40, 150, 30);
|
||||
closeButton.onClick := (args){ forward program.stop() };
|
||||
closeButton.onClick := (args){ forward Program.stop() };
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,27 +1,6 @@
|
|||
import xforms;
|
||||
|
||||
const layout = "
|
||||
<Form X=""250"" Y=""200"" Height=""110"" Width=""200"" Caption=""ELENA"">
|
||||
<Label X=""40"" Y=""10"" Width=""150"" Height=""30"" Caption=""Goodbye, World!"">
|
||||
<Form :Name="MainWindow" :Height="110" :Width="200" Caption="ELENA 6.0">
|
||||
<Label :Name="labCaption" :X="40" :Y="10" :Width="150" :Height="30" Caption="ELENA">
|
||||
</Label>
|
||||
<Button X=""20"" Y=""40"" Width=""150"" Height=""30"" Caption=""Close"" onClick=""onExit"">
|
||||
<Button :Name="btnExit" :X="20" :Y="40" :Width="150" :Height="30" Caption="Close" :onClick="&onExit">
|
||||
</Button>
|
||||
</Form>";
|
||||
|
||||
public class MainWindow
|
||||
{
|
||||
Form;
|
||||
|
||||
constructor new()
|
||||
{
|
||||
Form := xforms.execute(layout, self);
|
||||
}
|
||||
|
||||
onExit(arg)
|
||||
{
|
||||
forward program.stop()
|
||||
}
|
||||
|
||||
dispatch() => Form;
|
||||
|
||||
}
|
||||
</Form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue