79 Star 314 Fork 51

不在乎y/govcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 617 Bytes
一键复制 编辑 原始数据 按行查看 历史
package main
import (
"github.com/ying32/govcl/vcl"
"github.com/ying32/govcl/vcl/exts/tools"
"github.com/ying32/govcl/vcl/rtl"
)
func main() {
// mac下发布时去掉,只在测试时使用
tools.RunWithMacOSApp()
vcl.Application.SetIconResId(3)
vcl.Application.Initialize()
vcl.Application.SetMainFormOnTaskBar(true)
// Form1.gfm
vcl.Application.CreateForm(rtl.ExtractFilePath(vcl.Application.ExeName())+"Form1.gfm", &Form1)
// 文件加载方式
// vcl.Application.CreateForm("Form2.gfm", &Form2)
// 字节加载方式
vcl.Application.CreateForm(form2Bytes, &Form2)
vcl.Application.Run()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ying32/govcl.git
git@gitee.com:ying32/govcl.git
ying32
govcl
govcl
v1.2.3

搜索帮助