1
0
mirror of https://github.com/romanlryji/EventLogLoader.git synced 2024-11-28 08:48:40 +02:00
EventLogLoader/EventLogLoaderManager/AddPath.vb
Alex Ivanov b21cd623bf first
2015-10-02 16:29:09 -07:00

29 lines
882 B
VB.net

Public Class AddPath
Public Success As Boolean = False
Public ExistedRow As Boolean = False
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Success = True
Close()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Close()
End Sub
Private Sub AddPath_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If String.IsNullOrEmpty(IBGUID.Text) Then
IBGUID.Text = Guid.NewGuid.ToString
End If
End Sub
Private Sub ButtonChoosePath_Click(sender As Object, e As EventArgs) Handles ButtonChoosePath.Click
FolderBrowserDialog.ShowDialog()
If Not String.IsNullOrEmpty(FolderBrowserDialog.SelectedPath) Then
Path.Text = FolderBrowserDialog.SelectedPath
End If
End Sub
End Class