找回密码
 加入
搜索
查看: 1435|回复: 2

[AU3基础] [已解决]安装选择动作如何写?谢谢。

  [复制链接]
发表于 2011-6-26 11:30:00 | 显示全部楼层 |阅读模式
本帖最后由 tssheng 于 2011-6-27 01:11 编辑



像这副图,某某软件可以点击其中一个安装。只需要点某一个可以安装就可以了,在点其中一个时运行时,点中后退出选择界面并运行。如果一个都不想安装就点击不安装。。
谢谢。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2011-6-26 22:32:37 | 显示全部楼层
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 156, 202, 192, 124)
$Button1 = GUICtrlCreateButton("软件1", 40, 24, 75, 25)
$Button2 = GUICtrlCreateButton("软件2", 40, 64, 75, 25)
$Button3 = GUICtrlCreateButton("软件3", 40, 104, 75, 25)
$Button4 = GUICtrlCreateButton("不安装", 40, 144, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
        Case $Button1
                        ;run(........)
                        ;exit
        Case $Button2
                        ;run(........)
                        ;exit
        Case $Button3
                        ;run(........)
                        ;exit
        Case $Button4
                        exit
        EndSwitch
WEnd
你新来的?
发表于 2011-6-26 22:33:37 | 显示全部楼层
回复 1# tssheng

修改标题,便于他人搜索!
否则扣分处理!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-10-1 23:32 , Processed in 0.077818 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表