Assets/HomeWindow.xaml

<Window x:Name="HomeWindow" x:Class="ADLookups_v2.Home"
        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="Home - LoganShell" Height="400" MinHeight="400" MaxHeight="400" Width="385" MinWidth="385" MaxWidth="385">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="C:\temp\DarkTheme.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid Style="{DynamicResource GridBackground}">
        <Button x:Name="BannerButton" Background="{DynamicResource Primary}" Content="SCCM Devices aren't cached. Click here to update!" VerticalAlignment="Top" Margin="0,20,0,0" Height="20" ToolTip="By default, SCCM devices are only loaded when requested. These are used to search for a user's computer."/>
 
        <Grid Margin="0,40,0,25">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="150"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="auto"/>
            </Grid.RowDefinitions>
            <Button Grid.Row="0" Grid.Column="0" x:Name="ADLookupsButton" Content="AD Lookups" Margin="10,10,0,0"/>
 
            <Button Grid.Row="1" Grid.Column="0" x:Name="RSOPButton" Content="Get RSOP" Margin="10,10,0,0"/>
 
            <Button Grid.Row="2" Grid.Column="0" x:Name="SCCMDeploymentButton" Content="SCCM Deployments" Margin="10,10,0,0"/>
 
            <Button Grid.Row="3" Grid.Column="0" x:Name="SoftwareButton" Content="Computer Query" Margin="10,10,0,0"/>
 
            <Button Grid.Row="4" Grid.Column="0" x:Name="WhatsUpGoldButton" Content="WUG Monitoring" Margin="10,10,0,0"/>
 
            <TextBox Grid.Row="0" Grid.Column="1" x:Name="DescriptionRichTextBox" BorderThickness="0,0,0,0" TextWrapping="WrapWithOverflow" IsReadOnly="True" Grid.RowSpan="5" Margin="10,10,10,0"/>
            <StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="5,5,5,5">
            <Button x:Name="HelpButton" Content="Cmdlet Help" Width="80" Background="{DynamicResource Primary}" Margin="5,5,5,5"/>
            <Button x:Name="ExitButton" Content="Exit" Width="80" Background="{DynamicResource Primary}" Margin="5,5,5,5"/>
            </StackPanel>
            </Grid>
        <Label x:Name="LoadingLabel" Style="{DynamicResource Label}" Content="Please wait while loading....." HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2,2,2,2" Height="50" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Padding="10,5,10,5"/>
        <StatusBar Height="25" VerticalAlignment="Bottom" Style="{DynamicResource StatusBar}">
            <StatusBarItem x:Name="AccountStatusBarItem" Content="Running as" VerticalAlignment="Center" Margin="5,0,0,0" HorizontalAlignment="Left" FontSize="10"/>
            <StatusBarItem x:Name="UpdateStatusBarItem" Content="" VerticalAlignment="Center" Margin="0,0,5,0" HorizontalAlignment="Right" FontSize="10"/>
        </StatusBar>
        <Menu VerticalAlignment="Top" Height="20">
            <MenuItem Header="File">
                <MenuItem x:Name="OptionsMenuItem" Header="Options"/>
                <MenuItem x:Name="AboutMenuItem" Header="About"/>
                <Separator/>
                <MenuItem x:Name="ExitMenuItem" Header="_Exit"/>
            </MenuItem>
            <MenuItem Header="Quick Actions">
                <MenuItem x:Name="PassphraseMenuItem" Header="Create Passphrase"/>
                <Separator/>
                <MenuItem x:Name="EntraSyncMenuItem" Header="Sync Entra Connect"/>
                <MenuItem x:Name="ADSyncMenuItem" Header="Sync Active Directory" IsEnabled="False"/>
            </MenuItem>
            <MenuItem x:Name="ExternalToolsMenuItem" Header="External Tools"/>
        </Menu>
    </Grid>
</Window>