2015-05-22 00:33:08 +00:00
|
|
|
|
Public Class basicwm_infobox
|
|
|
|
|
|
|
|
|
|
Public userinput As String
|
|
|
|
|
|
|
|
|
|
Public Sub showinfo(title As String, message As String, Optional showtextbox As Boolean = False)
|
2015-05-29 13:57:53 +00:00
|
|
|
|
Titlebar.AppName = title
|
|
|
|
|
Titlebar.shiftorium_special()
|
2015-05-22 00:33:08 +00:00
|
|
|
|
lbmessage.Text = message
|
|
|
|
|
btnok.Text = "> OK <"
|
|
|
|
|
txtuserinput.Visible = showtextbox
|
|
|
|
|
Me.StartPosition = FormStartPosition.CenterScreen
|
|
|
|
|
Me.TopMost = True
|
|
|
|
|
Me.ShowDialog()
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
Private Sub btnok_Click(sender As Object, e As EventArgs) Handles btnok.Click
|
|
|
|
|
userinput = txtuserinput.Text
|
|
|
|
|
Me.Close()
|
|
|
|
|
End Sub
|
|
|
|
|
End Class
|