#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=E:\000.kxf
$Form1_1 = GUICreate("Form1", 308, 198, 192, 124)
GUISetOnEvent($GUI_EVENT_CLOSE, "Form1_1Close")
$Label1 = GUICtrlCreateLabel("姓 名", 24, 40, 52, 24)
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("帐 号", 24, 80, 44, 24)
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
$Input1 = GUICtrlCreateInput("", 88, 40, 169, 21)
$Input2 = GUICtrlCreateInput("", 88, 80, 169, 21)
$Input3 = GUICtrlCreateInput("", 88, 136, 73, 21)
$Button1 = GUICtrlCreateButton("确 定", 184, 136, 65, 25)
GUICtrlSetOnEvent(-1, "Button1Click")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
Sleep(100)
WEnd
Func Button1Click()
Local $Text = FileReadLine ( FileOpen ( @ScriptDir & "000.txt",0 ), GUICtrlRead ( $Input3 ) )
$Text0 = StringSplit ( $Text, @TAB )
GUICtrlSetData ( $Input1, $Text0[1] )
GUICtrlSetData ( $Input2, $Text0[2] )
EndFunc
Func Form1_1Close()
Exit
EndFunc