Local-mode composition root (SQLite index, one JobEngine fed by a single handler registration list), keyset-paged library with thumbnail cache and hover scrub, live job list with throttled updates and the shell job bar, settings with live template validation and encoder self-test, server connection with trust-on-first-use and DPAPI token, first-run welcome, About with update check, and --capture screenshots with synthetic data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
21 lines
623 B
C#
21 lines
623 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Controls.Primitives;
|
|
|
|
namespace Titano.App.Sections;
|
|
|
|
public partial class ServerView : UserControl
|
|
{
|
|
public ServerView() => InitializeComponent();
|
|
|
|
/// <summary>The ▾ button opens the list of servers found on the LAN under itself.</summary>
|
|
private void OnShowKnown(object sender, RoutedEventArgs e)
|
|
{
|
|
if (KnownButton.ContextMenu is not { } menu) return;
|
|
menu.DataContext = DataContext;
|
|
menu.PlacementTarget = KnownButton;
|
|
menu.Placement = PlacementMode.Bottom;
|
|
menu.IsOpen = true;
|
|
}
|
|
}
|