123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <Window x:Class="PRSDesktop.InvoiceCalculationSelector"
- 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"
- mc:Ignorable="d"
- Title="Invoice Calculation" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen">
- <Grid Margin="5">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="140"/>
- <ColumnDefinition Width="140"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
-
- <Border Grid.Row="0" Grid.Column="0" Margin="0,0,2.5,0" BorderBrush="Gray" BorderThickness="0.75,0.75,0.75,0" Background="WhiteSmoke">
- <Label Content="Time" HorizontalContentAlignment="Center"/>
- </Border>
- <Border Grid.Row="1" Grid.Column="0" Margin="0,0,2.5,0" BorderBrush="Gray" BorderThickness="0.75" Padding="10,5,10,5">
- <StackPanel Orientation="Vertical">
- <RadioButton x:Name="LabourDetails" GroupName="Time" Content="Detailed" Margin="0,5,0,5" IsChecked="True"/>
- <RadioButton x:Name="LabourActivity" GroupName="Time" Content="Activity" Margin="0,5,0,5"/>
- <RadioButton x:Name="LabourCollapsed" GroupName="Time" Content="Collapsed" Margin="0,5,0,5"/>
- </StackPanel>
- </Border>
-
- <Border Grid.Row="0" Grid.Column="1" Margin="2.5,0,0,0" BorderBrush="Gray" BorderThickness="0.75,0.75,0.75,0" Background="WhiteSmoke">
- <Label Content="Materials" HorizontalContentAlignment="Center"/>
- </Border>
- <Border Grid.Row="1" Grid.Column="1" Margin="2.5,0,0,0" BorderBrush="Gray" BorderThickness="0.75" Padding="10,5,10,5">
- <StackPanel Orientation="Vertical" >
- <RadioButton x:Name="PartsDetails" GroupName="Materials" Content="Detailed" Margin="0,5,0,5" IsChecked="True"/>
- <RadioButton x:Name="PartsProduct" GroupName="Materials" Content="Product Code" Margin="0,5,0,5"/>
- <RadioButton x:Name="PartsCostCentre" GroupName="Materials" Content="Cost Centre" Margin="0,5,0,5"/>
- <RadioButton x:Name="PartsCollapsed" GroupName="Materials" Content="Collapsed" Margin="0,5,0,5"/>
- </StackPanel>
- </Border>
-
- <DockPanel Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" LastChildFill="False" Margin="0,5,0,0">
- <Button x:Name="OK" DockPanel.Dock="Right" Width="80" Height="30" Content="OK" Click="OK_OnClick"/>
- <Button x:Name="Cancel" DockPanel.Dock="Right" Width="80" Height="30" Content="Cancel" Margin="0,0,5,0" Click="Cancel_OnClick"/>
- </DockPanel>
- </Grid>
- </Window>
|