📅  最后修改于: 2022-03-11 14:55:43.637000             🧑  作者: Mango
Gui, Add, Button gLayer1 w80, Button ;The "g" command in a button (in this case gLayer1) is a goto command. If you press the button, it goes to layer1
Gui, Show ;Shows the gui
Layer1: ;The layer that becomes active when you press the button
MsgBox, You pressed the button ;A simple Messagebox