#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("窗体1", 413, 305, 302, 218)
$Input1 = GUICtrlCreateInput("Input1", 120, 24, 121, 21)
$Group1 = GUICtrlCreateGroup("Group1", 144, 112, 185, 105)
$Input2 = GUICtrlCreateInput("Input2", 184, 152, 121, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Label1 = GUICtrlCreateLabel("Label1", 176, 128, 36, 17)
GUISetState(@SW_SHOW)
AdlibEnable("tb",50)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
func tb()
GUICtrlSetData($Label1,GUICtrlRead($Input1))
GUICtrlSetData($Input2,GUICtrlRead($Input1))
EndFunc
|