diff --git a/.gitignore b/.gitignore
index a21f13e..ec61071 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,10 @@
.vs/
x64/
.codex-temp/
+.codex-staging/
+build/
+TestResults/
+*.vcxproj.user
*.obj
*.exe
*.pdb
diff --git a/Run-Key-Test.cmd b/Run-Key-Test.cmd
new file mode 100644
index 0000000..81df873
--- /dev/null
+++ b/Run-Key-Test.cmd
@@ -0,0 +1,13 @@
+@echo off
+setlocal
+
+"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\run-key.ps1"
+set "runnerExit=%ERRORLEVEL%"
+
+if not "%runnerExit%"=="0" (
+ echo.
+ echo KEY test launcher failed with exit code %runnerExit%.
+ pause
+)
+
+exit /b %runnerExit%
diff --git a/StellarX.Core.vcxproj b/StellarX.Core.vcxproj
new file mode 100644
index 0000000..d13725c
--- /dev/null
+++ b/StellarX.Core.vcxproj
@@ -0,0 +1,63 @@
+
+
+
+
+
+ DebugWin32
+ ReleaseWin32
+ Debugx64
+ Releasex64
+
+
+ 17.0
+ Win32Proj
+ {28B8D78E-85AF-4F14-AD56-D51AB6958941}
+ StellarXCore
+ 10.0
+
+
+
+
+ StaticLibrary
+ true
+ false
+ v143
+ MultiByte
+
+
+
+
+ $(SolutionDir)build\$(Platform)\$(Configuration)\
+ $(SolutionDir)build\obj\$(ProjectName)\$(Platform)\$(Configuration)\
+
+
+ true
+ $(ProjectDir)build\$(Platform)\$(Configuration)-asan\
+ $(ProjectDir)build\obj\$(ProjectName)\$(Platform)\$(Configuration)-asan\
+
+
+
+ Level4
+ true
+ true
+ stdcpp17
+ NotUsing
+ $(ProjectDir)include\StellarX;$(ProjectDir)src\StellarX\internal;%(AdditionalIncludeDirectories)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/z-testDome.cpp b/app/z-testDome.cpp
similarity index 97%
rename from z-testDome.cpp
rename to app/z-testDome.cpp
index 0e5792a..15af23e 100644
--- a/z-testDome.cpp
+++ b/app/z-testDome.cpp
@@ -53,7 +53,7 @@
#include"StellarX.h"
#include
#ifndef KEY
-#define KEY 6
+#define KEY 1
#endif
// 测试用例统一使用最新布局 API,避免继续依赖旧 setAnchor() 兼容层。
@@ -285,8 +285,9 @@ int main()
rightPage2Ptr->addControl(std::move(rightPage2Label));
rightPage2Ptr->addControl(std::move(roundReadOnly));
- rightTabsPtr->add(std::make_pair(std::make_unique