4 Star 23 Fork 9

aochulai/GoMiniblink

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BaseUI_Events.go 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
aochulai 提交于 2020-12-13 20:41 . 关闭时释放MB
package controls
import f "gitee.com/aochulai/GoMiniblink/forms"
func (_this *BaseUI) defOnLoad() {
for _, v := range _this.EvLoad {
v(_this.instance)
}
}
func (_this *BaseUI) defOnDestroy() {
for _, v := range _this.EvDestroy {
v(_this.instance)
}
}
func (_this *BaseUI) defOnLostFocus() {
for _, v := range _this.EvLostFocus {
v(_this.instance)
}
}
func (_this *BaseUI) defOnFocus() {
for _, v := range _this.EvFocus {
v(_this.instance)
}
}
func (_this *BaseUI) defOnKeyPress(e *f.KeyPressEvArgs) {
for _, v := range _this.EvKeyPress {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnKeyUp(e *f.KeyEvArgs) {
for _, v := range _this.EvKeyUp {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnKeyDown(e *f.KeyEvArgs) {
for _, v := range _this.EvKeyDown {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnPaint(e f.PaintEvArgs) {
for _, v := range _this.EvPaint {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnMouseClick(e *f.MouseEvArgs) {
for _, v := range _this.EvMouseClick {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnMouseWheel(e *f.MouseEvArgs) {
for _, v := range _this.EvMouseWheel {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnMouseUp(e *f.MouseEvArgs) {
for _, v := range _this.EvMouseUp {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnMouseDown(e *f.MouseEvArgs) {
for _, v := range _this.EvMouseDown {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnMouseMove(e *f.MouseEvArgs) {
for _, v := range _this.EvMouseMove {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnShow() {
for _, v := range _this.EvShow {
v(_this.instance)
}
}
func (_this *BaseUI) defOnResize(e f.Rect) {
for _, v := range _this.EvResize {
v(_this.instance, e)
}
}
func (_this *BaseUI) defOnMove(e f.Point) {
for _, v := range _this.EvMove {
v(_this.instance, e)
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/aochulai/GoMiniblink.git
git@gitee.com:aochulai/GoMiniblink.git
aochulai
GoMiniblink
GoMiniblink
7a3d1eeba729

搜索帮助