123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <Window x:Class="PRSDesktop.TimeSheetLeaveProcessor"
- 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:syncfusion="http://schemas.syncfusion.com/wpf"
- mc:Ignorable="d"
- Title="TimeSheetLeaveProcessor" Height="800" Width="800" WindowStartupLocation="CenterScreen">
- <Grid Margin="5">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="2*"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
-
- <DockPanel Grid.Row="0">
- <Border BorderBrush="Gray" BorderThickness="0.75" CornerRadius="5,5,0,0" Margin="0,0,0,2" DockPanel.Dock="Top" Background="Gainsboro">
- <Label VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Content="Standard Leaves" Background="Transparent"/>
- </Border>
- <local:TimeSheetStandardLeaveGrid x:Name="standardleave" DockPanel.Dock="Top"/>
- </DockPanel>
-
- <syncfusion:SfGridSplitter Grid.Row="1" ResizeBehavior="PreviousAndNext" Height="4" HorizontalAlignment="Stretch"
- Background="Transparent" Template="{StaticResource HorizontalSplitter}">
- <syncfusion:SfGridSplitter.PreviewStyle>
- <Style TargetType="Control">
- <Setter Property="Background" Value="Gray" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="Control">
- <Grid x:Name="Root" Opacity="0.5">
- <Rectangle Fill="{TemplateBinding Background}" />
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </syncfusion:SfGridSplitter.PreviewStyle>
- </syncfusion:SfGridSplitter>
-
- <DockPanel Grid.Row="2">
- <Border BorderBrush="Gray" BorderThickness="0.75" CornerRadius="5,5,0,0" Margin="0,0,0,2" DockPanel.Dock="Top" Background="Gainsboro">
- <Label VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Content="Approved Leave Requests" Background="Transparent" />
- </Border>
- <local:TimeSheetLeaveRequestGrid x:Name="leaverequests" DockPanel.Dock="Top"/>
- </DockPanel>
-
- <DockPanel Grid.Row="3" LastChildFill="False" Margin="0,5,0,0">
- <Button x:Name="OK" DockPanel.Dock="Right" Content="Cancel" Width="80" Height="35" Click="Cancel_OnClick" />
- <Button x:Name="Cancel" DockPanel.Dock="Right" Content="OK" Width="80" Height="35" Margin="0,0,5,0" Click="OK_OnClick" />
- </DockPanel>
- </Grid>
- </Window>
|