mirror of
https://github.com/8damon/Blackbird-Platform
synced 2026-06-21 13:41:12 +00:00
86 lines
3.7 KiB
XML
86 lines
3.7 KiB
XML
<Window x:Class="BlackbirdOperator.OperatorStartupWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title=""
|
|
Height="276"
|
|
Width="620"
|
|
MinHeight="276"
|
|
MinWidth="620"
|
|
WindowStartupLocation="CenterScreen"
|
|
WindowStyle="None"
|
|
ResizeMode="NoResize"
|
|
ShowInTaskbar="True"
|
|
Background="{DynamicResource WinBgBrush}">
|
|
<Border BorderBrush="{DynamicResource WinBorderBrush}" BorderThickness="1" Background="{DynamicResource WinBgBrush}">
|
|
<Grid Margin="14" MouseLeftButtonDown="Root_MouseLeftButtonDown">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="12"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Grid.Row="0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Text="Blackbird Operator"
|
|
FontSize="20"
|
|
FontWeight="SemiBold"
|
|
VerticalAlignment="Center"/>
|
|
<Button Content="✕"
|
|
Grid.Column="1"
|
|
Width="22"
|
|
Height="20"
|
|
VerticalAlignment="Top"
|
|
Click="Cancel_Click"/>
|
|
</Grid>
|
|
|
|
<TextBlock Grid.Row="2"
|
|
Text="Network Startup"
|
|
FontSize="16"
|
|
FontWeight="SemiBold"/>
|
|
|
|
<StackPanel Grid.Row="3" Margin="0,10,0,0">
|
|
<TextBlock Foreground="{DynamicResource WinMutedTextBrush}"
|
|
Text="Choose which adapter and discovery mode the operator is allowed to use on this run."/>
|
|
<TextBlock Text="Preferred Adapter" Foreground="{DynamicResource WinMutedTextBrush}" Margin="0,12,0,0"/>
|
|
<ComboBox x:Name="AdapterCombo"
|
|
Margin="0,6,0,0"
|
|
TextSearch.TextPath="Summary"
|
|
SelectedValuePath="InterfaceId"
|
|
Style="{DynamicResource PaneFilterComboStyle}">
|
|
<ComboBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding Summary}" />
|
|
</DataTemplate>
|
|
</ComboBox.ItemTemplate>
|
|
</ComboBox>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Row="4" Margin="0,12,0,0">
|
|
<CheckBox x:Name="PassiveDiscoveryCheckBox" Content="Enable passive discovery and broadcast probe" IsChecked="True"/>
|
|
<CheckBox x:Name="ActiveProbeCheckBox" Content="Enable active local subnet probe on the selected adapter" Margin="0,8,0,0"/>
|
|
</StackPanel>
|
|
|
|
<UniformGrid Grid.Row="5" Columns="2" Margin="0,14,0,0">
|
|
<Button Margin="0,0,8,0"
|
|
Content="Start Operator"
|
|
Height="34"
|
|
Background="{DynamicResource WinAccentBrush}"
|
|
BorderBrush="{DynamicResource InputHoverBorderBrush}"
|
|
Foreground="{DynamicResource WinTextBrush}"
|
|
Click="Start_Click"/>
|
|
<Button Content="Cancel"
|
|
Height="34"
|
|
Click="Cancel_Click"/>
|
|
</UniformGrid>
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|
|
|
|
|