add button for clearing logs
This commit is contained in:
@@ -178,4 +178,13 @@ Public Class Form1
|
||||
ListBox1.Items.Add(oLog)
|
||||
Next
|
||||
End Sub
|
||||
|
||||
Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click
|
||||
MyLogger.ClearLogs()
|
||||
|
||||
ListBox1.Items.Clear()
|
||||
For Each oLog In MyLogger.Logs
|
||||
ListBox1.Items.Add(oLog)
|
||||
Next
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user