📜  guicontrol text ahk - C# 代码示例

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

代码示例1
i=0                                                    ;makes a variable
Gui, Add, Text, vP x0 y0, The value of i is %i%        ;the command v is to make a variable in the text so you can control it
Gui, Show                                            ;Show the gui
i++                                                    ;i+1
Sleep, 500                                            ;Wait a half second
GuiControl,, P, The value of i is %i%                Control the variable P and set it to the new value of i