Changed maximum size of session log
This commit is contained in:
Generated
+1
@@ -200,6 +200,7 @@ Partial Class frmMain
|
||||
'
|
||||
Me.txtLog.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.txtLog.Location = New System.Drawing.Point(12, 184)
|
||||
Me.txtLog.MaxLength = 16777216
|
||||
Me.txtLog.Multiline = True
|
||||
Me.txtLog.Name = "txtLog"
|
||||
Me.txtLog.ReadOnly = True
|
||||
|
||||
@@ -921,7 +921,7 @@ Public Class frmMain
|
||||
Me.Invoke(d, New Object() {sLogUpdate, bTrayUpdate, objIcon, bTimeStamp})
|
||||
Else
|
||||
'Clear the log if we are approaching the limit
|
||||
If txtLog.TextLength > 32000 Then
|
||||
If txtLog.TextLength > 16770000 Then
|
||||
txtLog.Text = String.Empty
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user