Caption = "Приветствие" AddLabel "lblName", "Ваше имя:" AddText "txtName" NewLine AddButton "cmdHello", "Привет" AddButton "cmdBye", "Пока" Sub cmdHello_Click MsgBox "Привет, " & txtName End Sub Sub cmdBye_Click Quit End Sub