Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4a39c997 authored by Kostis ANAGNOSTOPOULOS's avatar Kostis ANAGNOSTOPOULOS
Browse files

Initial commit of: VECTO_2012_11_12

* Include all except object-files.
parents
No related branches found
No related tags found
No related merge requests found
Showing
with 31 additions and 0 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Imports System.Windows.Forms
Public Class F_StrInpBox
Public Function ShowDlog(ByVal Prompt As String, ByVal DefaultRespone As String) As String
Me.Label1.Text = Prompt
Me.TextBox1.Text = DefaultRespone
If Me.ShowDialog = Windows.Forms.DialogResult.OK Then
DefaultRespone = Me.TextBox1.Text
End If
Return DefaultRespone
End Function
Private Sub F_StrInpBox_Shown(sender As Object, e As System.EventArgs) Handles Me.Shown
Me.TextBox1.SelectAll()
Me.TextBox1.Focus()
End Sub
Private Sub OK_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK_Button.Click
Me.DialogResult = System.Windows.Forms.DialogResult.OK
Me.Close()
End Sub
Private Sub Cancel_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Cancel_Button.Click
Me.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.Close()
End Sub
End Class
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment