#NoTrayIcon
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
Dim $dll
FileInstall ( "SkinCrafterDll.dll", @TempDir&"SkinCrafterDll.dll",1)
FileInstall ( "vista.skf", @TempDir&"vista.skf",1)
FileInstall ( "Ht.jpg", @TempDir&"Ht.jpg",1)
#Region ### START Koda GUI section ### Form=d:\我的文档\桌面\form1.kxf
$Form1_1 = GUICreate(" 常 用 软 件 安 装", 632, 447, 221, 141)
Dim $bf=@TempDir&"vista.skf"
_SkinGUI(@TempDir&"SkinCrafterDll.dll", $bf, $Form1_1 )
GUISetFont(10, 800, 0, "宋体")
GUISetBkColor(0xF1EFE2)
$Tab1 = GUICtrlCreateTab(8, 48, 617, 393)
$TabSheet1 = GUICtrlCreateTabItem(" 安 全 防 护 ")
$TabSheet2 = GUICtrlCreateTabItem(" 交 友 聊 天 ")
$TabSheet3 = GUICtrlCreateTabItem(" 影 视 办 公 ")
GUICtrlSetState(-1,$GUI_SHOW)
$TabSheet4 = GUICtrlCreateTabItem(" 上 网 冲 浪 ")
$TabSheet5 = GUICtrlCreateTabItem(" 行 业 软 件 ")
GUICtrlCreateTabItem("")
$Pic1 = GUICtrlCreatePic(@TempDir&"Ht.jpg", 0, 0, 635, 47)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func _SkinGUI($SkincrafterDll, $SkincrafterSkin, $Handle)
$Dll = DllOpen($SkincrafterDll)
DllCall($Dll, "int:cdecl", "InitLicenKeys", "wstr", "1", "wstr", "", "wstr", "1@1.com", "wstr", "1")
DllCall($Dll, "int:cdecl", "InitDecoration", "int", 1)
DllCall($Dll, "int:cdecl", "LoadSkinFromFile", "wstr", $SkincrafterSkin)
DllCall($Dll, "int:cdecl", "DecorateAs", "int", $Handle, "int", 25)
DllCall($Dll, "int:cdecl", "ApplySkin")
EndFunc ;==_
Func Quit()
GUISetState(@SW_HIDE)
DllCall($dll, "int:cdecl", "DeInitDecoration")
DllCall($dll, "int:cdecl", "RemoveSkin")
DllClose($dll)
FileDelete(@TempDir&"SkinCrafterDll.dll")
FileDelete(@TempDir&"vista.skf")
FileDelete(@TempDir&"Ht")
;DirRemove(@AppDataDir&"\skin",1)
Exit
EndFunc