📜  gui 按钮 ahk - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:43.637000             🧑  作者: Mango

代码示例1
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