Show Version and Button to open Log Directory
This commit is contained in:
@@ -144,6 +144,8 @@ Public Class frmMonitor
|
||||
SplitContainerFileHTML.Collapsed = True
|
||||
|
||||
SetResultCount(0)
|
||||
SetVersion()
|
||||
|
||||
|
||||
Catch ex As Exception
|
||||
FormHelper.ShowErrorMessage(ex, "frmStart_Load")
|
||||
@@ -813,6 +815,10 @@ Public Class frmMonitor
|
||||
lbResultCount.Caption = String.Format(lbResultCount.Tag, pResults)
|
||||
End Sub
|
||||
|
||||
Private Sub SetVersion()
|
||||
lbVersion.Caption = String.Format(lbVersion.Tag, System.Reflection.Assembly.GetEntryAssembly().GetName().Version)
|
||||
End Sub
|
||||
|
||||
Private Sub InitGrid()
|
||||
GridControlResults = GridLoader.InitGrid()
|
||||
GridViewResults = DirectCast(GridControlResults.DefaultView, GridView)
|
||||
@@ -845,5 +851,13 @@ Public Class frmMonitor
|
||||
|
||||
Workspace.SaveWorkspace(ActiveSearch.Id.ToString)
|
||||
End Sub
|
||||
|
||||
Private Sub BarButtonItem3_ItemClick_1(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem3.ItemClick
|
||||
Try
|
||||
Process.Start(LogConfig.LogDirectory)
|
||||
Catch ex As Exception
|
||||
FormHelper.ShowErrorMessage(ex, "Log Verzeichnis öffnen")
|
||||
End Try
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
|
||||
Reference in New Issue
Block a user