回复 3# 魔导 #region
#AutoIt3Wrapper_Outfile=性爱频率.exe
#endregion
$FORM1 = GUICreate("性爱频率", 200, 150, -1, -1)
GUICtrlCreateLabel("您的年龄:", 5, 40)
$INPUT = GUICtrlCreateInput("", 65, 42, 100, 15)
$BUTTON = GUICtrlCreateButton("确定", 80, 80, 30, 20)
GUISetState()
While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case -3
Exit
Case $BUTTON
WENDU()
EndSwitch
WEnd
Func WENDU()
$I = GUICtrlRead($INPUT)
If $I > 20 And $I < 100 Then
$J = $I * 9
$J1 = StringLeft($J, 1)
$J2 = StringRight($J, 1)
$MA = "建议您:"
$MA &= "每" & $J1 & "0天里进行" & $J2 & "次" & @CRLF & @CRLF & "每间隔" & $J1 * 10 / $J2 & "天进行一次" & @CRLF & @CRLF & "纵欲有风险,节欲当谨慎!"
MsgBox(0, "适合您的性爱频率", $MA)
Else
Return GUICtrlSetData($INPUT, "20<=数字<100")
EndIf
EndFunc ;==>WENDU
|