Files
tools/接口/SunnyUI.ms
T
2025-07-31 16:05:55 +08:00

17 lines
425 B
Plaintext

dotnetSunnyUI=dotNet.loadAssembly "D:\Desktop\dll\SunnyUI.dll"
dotnetSunnyCommonUI=dotNet.loadAssembly "D:\Desktop\dll\SunnyUI.Common.dll"
--Create a DotNet Button
mButton = dotNetObject "Sunny.UI.UIbutton"
mButton.text = "Button"
--Create a DotNet Form
hForm = dotNetObject "Sunny.UI.UImainFrame"
hForm.topmost = true
hForm.Style=hForm.Style.green
hForm.show()
showmethods hForm.controls
hForm.controls.Contains mButton