Added icons to import

This commit is contained in:
MikeMaximus
2018-03-06 10:02:15 -06:00
parent 5245cc3ab3
commit afb479044c
7 changed files with 49 additions and 4 deletions
+11 -1
View File
@@ -9,6 +9,7 @@ Public Class frmAdvancedImport
Private bSelectAll As Boolean = True
Private bIsLoading As Boolean = False
Private iCurrentSort As Integer = 0
Private oImageList As ImageList
Private WithEvents tmFilterTimer As Timer
Public Property ImportInfo As ExportData
@@ -104,8 +105,10 @@ Public Class frmAdvancedImport
End If
If oApp.ImportUpdate Then
oListViewItem.ForeColor = Color.Red
oListViewItem.ImageIndex = 1
oListViewItem.Checked = True
Else
oListViewItem.ImageIndex = 0
End If
If sFilter = String.Empty Then
@@ -161,6 +164,13 @@ Public Class frmAdvancedImport
btnImport.Text = frmAdvancedImport_btnImport
chkSelectAll.Text = frmAdvancedImport_chkSelectAll
'Set Icons
oImageList = New ImageList()
oImageList.Images.Add(Icon_New)
oImageList.Images.Add(Icon_Update)
lstGames.SmallImageList = oImageList
chkSelectAll.Checked = True
'Init Filter Timer