巨石化纤
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.

23 lines
1.3 KiB

<UserControl x:Class="SSWMS.Client.UC.ucDateSect"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms">
<WrapPanel Style="{StaticResource CommonWrapPanel}">
<StackPanel Style="{StaticResource CommonStackPanel}">
<CheckBox Name="cbTime" VerticalAlignment="Center" IsChecked="True" FontSize="14" />
</StackPanel>
<StackPanel Style="{StaticResource CommonStackPanel}">
<TextBlock Text="起始时间" Style="{StaticResource CommonTextBlock}"></TextBlock>
<wfi:WindowsFormsHost Width="170" Height="35">
<wf:DateTimePicker x:Name="dtpStartTime" Format="Custom" CustomFormat="yyyy-MM-dd HH:mm:ss" ShowUpDown="True"></wf:DateTimePicker>
</wfi:WindowsFormsHost>
</StackPanel>
<StackPanel Style="{StaticResource CommonStackPanel}">
<TextBlock Text="截止时间" Style="{StaticResource CommonTextBlock}"></TextBlock>
<wfi:WindowsFormsHost Width="170" Height="35">
<wf:DateTimePicker x:Name="dtpEndTime" Format="Custom" CustomFormat="yyyy-MM-dd HH:mm:ss" ShowUpDown="True"></wf:DateTimePicker>
</wfi:WindowsFormsHost>
</StackPanel>
</WrapPanel>
</UserControl>