巨石化纤
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.2 KiB

<ad:DocumentContent x:Class="SSWMS.Client.StaticsReportWPF"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
xmlns:wfa ="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
xmlns:my="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
xmlns:wf="clr-namespace:Microsoft.Reporting.WinForms;assembly=Microsoft.ReportViewer.WinForms"
Title="统计报表" Height="500" Width="1100">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<WrapPanel Grid.Row="0">
<WrapPanel VerticalAlignment="Center">
<Label Content="报表类型" Margin="5"></Label>
<ComboBox Margin="5" Name="cmbReportType" Width="170">
<ComboBoxItem Content="入出库汇总表"></ComboBoxItem>
<ComboBoxItem Content="库存汇总表"></ComboBoxItem>
</ComboBox>
</WrapPanel>
<WrapPanel VerticalAlignment="Center">
<Label Content="入出库完成时间区间" Margin="5" />
<wfi:WindowsFormsHost Width="170" Margin="5,0,0,0">
<wfa:DateTimePicker x:Name="datePickerFrom" Format="Time" ShowUpDown="True" />
</wfi:WindowsFormsHost>
<Label Content="-" Margin="2" FontSize="16" />
<wfi:WindowsFormsHost Width="170" Margin="0,0,5,0">
<wfa:DateTimePicker x:Name="datePickerTo" Format="Time" ShowUpDown="True" />
</wfi:WindowsFormsHost>
</WrapPanel>
<WrapPanel VerticalAlignment="Center">
<Button Content="查 询" Width="70" Margin="5" Click="btnQuery_Click" />
<Button Content="重 置" Width="70" Margin="5" Click="btnReset_Click" />
</WrapPanel>
</WrapPanel>
<my:WindowsFormsHost Grid.Row="1" Name="windowsFormsHost1"
OverridesDefaultStyle="False" UseLayoutRounding="False">
<wf:ReportViewer Name="rp"></wf:ReportViewer>
</my:WindowsFormsHost>
</Grid>
</ad:DocumentContent>