Assets/SCCMDeployments.xaml
<Window x:Class="ADLookups_v2.SCCMDeployments"
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="SCCMDeployments" Height="450" Width="800"> <Window.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="C:\temp\DarkTheme.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Window.Resources> <Grid Style="{DynamicResource GridBackground}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="auto"/> <ColumnDefinition Width="4*"/> <ColumnDefinition Width="auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="30"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <ComboBox x:Name="DaysBackComboBox" Grid.Row="0" Grid.Column="0" ToolTip="How many days back should be searched?" VerticalAlignment="Center" Margin="5,0,5,0" SelectedIndex="0"> <ComboBoxItem Content="30 days"/> <ComboBoxItem Content="60 days"/> <ComboBoxItem Content="90 days"/> </ComboBox> <Button x:Name="PopulateDeploymentsButton" Grid.Row="0" Grid.Column="1" Content="Populate Deployments" ToolTip="Search and add deployments to the dropdown." VerticalAlignment="Center" Margin="5,0,5,0" Width="125"/> <ComboBox x:Name="DeploymentsComboBox" Grid.Row="0" Grid.Column="2" ToolTip="The list of deployments. You can also type in a wildcard search for multiple deployments using '*'." VerticalAlignment="Center" Margin="5,0,5,0" IsEditable="True"></ComboBox> <Button x:Name="ShowStatsButton" Grid.Row="0" Grid.Column="3" Content="Show Statistics" VerticalAlignment="Center" Margin="5,0,5,0" Width="127"/> <DataGrid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4" x:Name="StatsDataGrid" IsReadOnly="True" HeadersVisibility="Column"> <DataGrid.ContextMenu> <ContextMenu> <MenuItem x:Name="CopyContextMenuItem" Header="Copy to clipboard"/> <MenuItem x:Name="ExportMembersMenuItem" Header="Export to .csv"/> </ContextMenu> </DataGrid.ContextMenu> </DataGrid> </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"> </Label> </Grid> </Window> |