Jun 22, 2026, 12:41 PM
This commit is contained in:
@@ -50,6 +50,7 @@ $tvServers = $Window.FindName("tvServers")
|
||||
$btnAddServer = $Window.FindName("btnAddServer")
|
||||
$btnRemoveServer = $Window.FindName("btnRemoveServer")
|
||||
$gridDetails = $Window.FindName("gridDetails")
|
||||
$menuHostSlunk = $Window.FindName("menuHostSlunk")
|
||||
|
||||
# Initialize connection states cache per server
|
||||
$script:ServerConnectionStates = @{}
|
||||
@@ -271,6 +272,12 @@ $btnRemoveServer.Add_Click({
|
||||
}
|
||||
})
|
||||
|
||||
# Handle Main -> Host Slunk menu click
|
||||
$menuHostSlunk.Add_Click({
|
||||
Write-Log "Main -> Host Slunk menu item clicked."
|
||||
[System.Windows.MessageBox]::Show("Host Slunk menu option selected.", "Host Slunk", "OK", "Information")
|
||||
})
|
||||
|
||||
# 5. Connection logic
|
||||
$btnConnect.Add_Click({
|
||||
$server = $txtServerName.Text
|
||||
|
||||
Reference in New Issue
Block a user