Jump to content

Recommended Posts

Posted

its source of my program

;Script generated by AutoBuilder 0.4


Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 392,273,(@DesktopWidth-392)/2, (@DesktopHeight-273)/2 , 0x04CF0000)

$Exit = GUISetControl("button", "Exit", 120, 130, 160, 70)
$Connect = GUISetControl("button", "Connect", 120, 40, 160, 80)

If $Exit = -1 Then
exit
EndIf

GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)
    Select
    Case $msg = -3
        Exit
    Case $msg = 2
       ;;;
    Case $msg = $Exit
       ;;;
    Case $msg = $Connect
       ;;;
    EndSelect
WEnd
Exit

how i can bind connect button to command and exit button to exit script?

:ph34r::(:lol::lol:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...