mirror of
https://github.com/Rayerd/dfl.git
synced 2025-04-25 20:49:58 +03:00
Small fix the code in README.md
This commit is contained in:
parent
22b53695d0
commit
c9deef08a6
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -12,12 +12,12 @@ void main()
|
|||
form.text = "Welcom to DFL";
|
||||
form.size = Size(300, 300);
|
||||
|
||||
Button _button = new Button;
|
||||
_button.text = "OK";
|
||||
_button.location = Point(20, 20);
|
||||
_button.size = Size(100, 50);
|
||||
_button.click ~= (Control c, EventArgs e) => msgBox("OK button is clicked.");
|
||||
_button.parent = form;
|
||||
Button button = new Button;
|
||||
button.text = "OK";
|
||||
button.location = Point(20, 20);
|
||||
button.size = Size(100, 50);
|
||||
button.click ~= (Control c, EventArgs e) => msgBox("OK button is clicked.");
|
||||
button.parent = form;
|
||||
|
||||
Application.run(form);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue