You can either clear the entire list ("Clear All"), or use the checkboxes in the listview along with the "Clear Selected" option. This opens a drop-down menu for removal options. If you change your mind about converting a particular image or group of images, click the red "X" in the tool bar. ( - 1).Selected = True Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Exclamation, title) LvFiles.AutoResizeColumn( 0, ColumnHeaderAutoResizeStyle.ColumnContent) Tf = True ' true if duplicate found Exit For ' exit the checking loop End If Next ' add image to list if no duplicate is found If tf = False Then Dim lvi As New ListViewItem(Path.GetFullPath(tmp(l))) ' check against existing selections to avoid duplicates For l = 0 To tmp.Length - 1 Dim tf As Boolean = False For zz As Integer = 0 To - 1 If (zz).Text = tmp(l) Then If res = Then Try ' string array of file names from dialog Dim tmp() As String = dialog_Open.FileNames Object,īyVal e As System.EventArgs) Handles tb_Add.Click Updates the UI - mainly enabling/disabling controlsĬopy Code Private Sub tb_Add_Click( ByVal sender As System.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |