Assets/Passphrases.xaml
<Window x:Class="ADLookups_v2.Passphrases"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:ADLookups_v2" mc:Ignorable="d" Title="Passphrases Thinker-Upper" WindowStartupLocation="CenterOwner" SizeToContent="Height" MinHeight="200" MinWidth="300" Width="300" Height="200" MaxWidth="300" MaxHeight="300"> <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="C:\temp\lightTheme.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <Grid Style="{DynamicResource GridBackground}"> <Grid Margin="10,10,10,10"> <Grid.ColumnDefinitions> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="auto"></RowDefinition> <RowDefinition Height="auto"></RowDefinition> </Grid.RowDefinitions> <TextBlock Grid.Column="0" Grid.Row="0" TextWrapping="Wrap" Text="Select the desired options to generate a passphrase." Grid.ColumnSpan="3" Margin="0,0,0,15"/> <TextBlock Grid.Column="0" Grid.Row="1" Text="Number of words" Margin="5,5,5,5" HorizontalAlignment="Right" VerticalAlignment="Center"/> <ComboBox x:Name="NumberOfWordsComboBox" Grid.Column="1" Grid.Row="1" SelectedIndex="1" VerticalAlignment="Center" Margin="5,5,5,5"> <ComboBoxItem Content="2"/> <ComboBoxItem Content="3"/> <ComboBoxItem Content="4"/> <ComboBoxItem Content="5"/> </ComboBox> <TextBlock Grid.Column="0" Grid.Row="2" Text="Separator" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="5,5,5,5"/> <TextBox x:Name="SeparatorTextBox" Grid.Column="1" Grid.Row="2" Text="-" Margin="5,5,5,5"/> <StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Right" Margin="5,5,5,5"> <Button x:Name="CreatePassphraseButton" Content="Create Passphrase"/> </StackPanel> <TextBox x:Name="PassphraseTextBox" IsReadOnly="True" Grid.Row="4" Grid.ColumnSpan="2" Margin="5,5,5,5" FontFamily="Cascadia Mono Light" HorizontalContentAlignment="Center"/> </Grid> </Grid> </Window> |