Har muligvis rettet den print fejl der er - men mangler at få det testet. Der er slettet en masse projekter som ikke bliver brugt mere. Og flyttet rundt på de få projekter som er tilbage. Dette er V2 og i sit eget repo, så dette er initial commit
35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<Window x:Class="Pos.PrintReceiptWindow"
|
|
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:Pos"
|
|
mc:Ignorable="d"
|
|
Title="Print bon" Height="600" Width="500" Icon="Icons/receipt.png">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1.6*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="6*"/>
|
|
</Grid.RowDefinitions>
|
|
<WrapPanel Grid.Row="0" Grid.ColumnSpan="2">
|
|
<DatePicker Name="StartDatePicker" FirstDayOfWeek="Monday" IsTodayHighlighted="True"/>
|
|
<DatePicker Name="EndDatePicker" FirstDayOfWeek="Monday" IsTodayHighlighted="True"/>
|
|
<Button Name="Search" Content="Vis bon" Style="{StaticResource SmallButtons}" Click="Search_OnClick"/>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="1" Grid.Column="0">
|
|
<ListBox Name="ListReciept" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch"
|
|
SelectionChanged="ListReciept_OnSelectionChanged"
|
|
IsSynchronizedWithCurrentItem="true">
|
|
</ListBox>
|
|
</WrapPanel>
|
|
<WrapPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical">
|
|
<TextBox IsReadOnly="True" Name="SaleLines" BorderThickness="0" />
|
|
<Button Name="PrintReceipt" Content="Print bon" Visibility="Hidden" Click="PrintReceipt_OnClick" Style="{StaticResource SmallButtons}"/>
|
|
</WrapPanel>
|
|
</Grid>
|
|
</Window>
|