123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <UserControl x:Class="PRSDesktop.WidgetDashboard"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PRSDesktop"
- xmlns:sf="http://schemas.syncfusion.com/wpf"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Border CornerRadius="5,5,0,0" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Margin="0,0,0,2" Padding="5"
- BorderBrush="Gray" BorderThickness="0.75" Background="WhiteSmoke">
- <DockPanel>
- <Label DockPanel.Dock="Left" Content="Date" />
- <Button x:Name="PrevDay" DockPanel.Dock="Left" Width="25" Content="-" Margin="0,0,2,0"
- Click="PrevDay_Click" />
- <sf:DateTimeEdit x:Name="SelectDate" DockPanel.Dock="Left" Width="100" Pattern="CustomPattern"
- CustomPattern="dd MMM yy" DropDownView="Calendar"
- DateTimeChanged="SelectDate_DateTimeChanged" />
- <Button x:Name="NextDay" DockPanel.Dock="Left" Width="25" Content="+" Margin="2,0,0,0"
- Click="NextDay_Click" />
- <ComboBox x:Name="SelectEmployees" DockPanel.Dock="Right" Width="150"
- SelectionChanged="SelectEmployees_SelectionChanged" DisplayMemberPath="Value"
- SelectedValuePath="Key" />
- <Label DockPanel.Dock="Right" Content="Employees" />
- <Label DockPanel.Dock="Left" Content="Daily Status Report" HorizontalContentAlignment="Center"
- FontWeight="DemiBold" />
- </DockPanel>
- </Border>
- <local:TimesheetWidget x:Name="Timesheets" Grid.Row="1" Grid.Column="0" Margin="0,0,2,2" />
- <local:TaskWidget x:Name="Tasks" Grid.Row="1" Grid.Column="1" Margin="0,0,2,2" />
- <local:ManufacturingStatusWidget x:Name="Manufacturing" Grid.Row="1" Grid.Column="2" Margin="0,0,0,2" />
- <local:FactoryAllocationWidget x:Name="FactoryAllocation" Grid.Row="2" Grid.Column="0" Margin="0,0,2,0" />
- <local:ReadyToGoWidget x:Name="ReadyToGo" Grid.Row="2" Grid.Column="1" Margin="0,0,2,0" />
- <local:DeliveredToSiteWidget x:Name="DeliveredToSite" Grid.Row="2" Grid.Column="2" Margin="0,0,0,0" />
- <local:ConsignmentsWidget x:Name="Consignments" Grid.Row="3" Grid.Column="0" Margin="0,2,2,0" />
- <local:RackListWidget x:Name="Racks" Grid.Row="3" Grid.Column="1" Margin="0,2,2,0" />
- <local:RequisitionsWidget x:Name="Requisitions" Grid.Row="3" Grid.Column="2" Margin="0,2,0,0" />
- </Grid>
- </UserControl>
|