Minor clean-up to various forms

This commit is contained in:
Michael J. Seiferling
2015-11-27 22:33:34 -06:00
parent de5d1e062a
commit 0339a09b08
6 changed files with 98 additions and 96 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ Public Class frmIncludeExclude
Catch uaex As UnauthorizedAccessException
'Do Nothing
Catch ex As Exception
MsgBox("An unexcepted error occured while reading the file system: " & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Critical, "Game Backup Monitor")
MsgBox("An unexpected error occured while reading the file system: " & vbCrLf & vbCrLf & ex.Message, MsgBoxStyle.Critical, "Game Backup Monitor")
Finally
treFiles.EndUpdate()
Cursor.Current = Cursors.Default
@@ -87,7 +87,6 @@ Public Class frmIncludeExclude
End Sub
Private Sub BuildTrunk()
treFiles.Nodes.Clear()
Dim oRootNode As TreeNode
Dim bIsDriveRoot As Boolean
@@ -99,6 +98,7 @@ Public Class frmIncludeExclude
bIsDriveRoot = False
End If
treFiles.Nodes.Clear()
oRootNode.Name = "Root"
treFiles.Nodes.Add(oRootNode)
BuildBranch(txtRootFolder.Text, oRootNode, bIsDriveRoot)