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="380" MinHeight="380" Width="385" MinWidth="385" Background="#FF3C3C3C"> <Grid> <Grid Margin="5,20,5,20"> <Grid.RowDefinitions> <RowDefinition Height="3*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <StackPanel Grid.Column="0" Grid.Row="0" Grid.RowSpan="2" Margin="15,15,15,15"> <Button x:Name="ADLookupsButton" Content="AD Lookups" Height="44" Foreground="White"> <Button.Background> <SolidColorBrush Color="#FF99B4D1"/> </Button.Background> </Button> <Button x:Name="RSOPButton" Content="Get RSOP" Height="44" Margin="0,10,0,0" Foreground="White"> <Button.Background> <SolidColorBrush Color="#FF99B4D1"/> </Button.Background> </Button> <Button x:Name="SCCMDeploymentButton" Content="SCCM Deployments" Height="44" Margin="0,10,0,0" Foreground="White"> <Button.Background> <SolidColorBrush Color="#FF99B4D1"/> </Button.Background> </Button> <Button x:Name="EntraButton" Content="Entra Lookups" Height="44" Margin="0,10,0,0" Foreground="White" IsEnabled="False"> <Button.Background> <SolidColorBrush Color="#FF99B4D1"/> </Button.Background> </Button> <Button x:Name="IntuneButton" Content="Intune Device Collections" Height="44" Margin="0,10,0,0" Foreground="White"> <Button.Background> <SolidColorBrush Color="#FF99B4D1"/> </Button.Background> </Button> </StackPanel> <Label Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="0" Grid.RowSpan="2" x:Name="LoadingLabel" Content="Please wait while loading....." HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2,2,2,2" Width="200" Height="50" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" Visibility="Hidden"> <Label.BorderBrush> <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.GradientInactiveCaptionColorKey}}"/> </Label.BorderBrush> <Label.Background> <SolidColorBrush Color="{DynamicResource {x:Static SystemColors.HighlightColorKey}}"/> </Label.Background> </Label> <TextBox x:Name="DescriptionRichTextBox" Grid.Column="1" Grid.Row="0" Background="Transparent" Foreground="White" BorderThickness="0,0,0,0" TextWrapping="WrapWithOverflow" Margin="0,15,15,0" IsReadOnly="True"></TextBox> <Button Grid.Column="1" Grid.Row="1" x:Name="ExitButton" Content="Exit" HorizontalAlignment="Right" Margin="0,0,15,0" VerticalAlignment="Center" Width="70"/> </Grid> <StatusBar VerticalAlignment="Bottom" Height="20" Foreground="White" Background="#FF3C3C3C"> <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="5,0,0,0" HorizontalAlignment="Right" FontSize="10"/> </StatusBar> <Menu VerticalAlignment="Top" Height="20"> <MenuItem Header="File"> <MenuItem Header="Features"> <MenuItem x:Name="EnableSCCMMenuItem" Header="Enable SCCM" IsCheckable="True"/> <MenuItem x:Name="EnableExchangeMenuItem" Header="Enable Exchange" IsCheckable="True"/> </MenuItem> <MenuItem x:Name="AboutMenuItem" Header="About"/> <Separator/> <MenuItem x:Name="ExitMenuItem" Header="_Exit"/> </MenuItem> </Menu> </Grid> </Window> |