Project2 C++ - Payroll

Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
Amrit Panesar committed 2015-04-05 22:36:40 -07:00
1 parent 6aa1daab0b
commit e9bbcf1579
21 files changed
+860 -469

No files matched your search

+10
View File
@@ -51,6 +51,16 @@
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Button1.Enabled = False
Button2.Enabled = False
For index As Integer = ListBox1.Items.Count() - 1 To 0 Step -1
Dim file As FileData = ListBox1.Items(index)
If (file.FileTime + Options.PlaylistTime < Options.PlaylistLength) Then
ListBox1.Items.RemoveAt(index)
RemoveFileFromTotal(file)
ListBox2.Items.Add(file)
AddFileToPlaylist(file)
End If
Next
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click