GlassInformation.xaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. <Page x:Class="B20UVLog.Pages.GlassInformation"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:B20UVLog.Pages" xmlns:My="clr-namespace:MyWPFControl.Controls;assembly=MyWPFControl"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="GlassInformation">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="auto"/>
  13. <RowDefinition Height="auto"/>
  14. <RowDefinition Height="*"/>
  15. </Grid.RowDefinitions>
  16. <TextBlock Grid.Row="0" Text="Glass Information" FontSize="25" Margin="10 5"/>
  17. <StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Center">
  18. <!--<My:MTextBox x:Name="TextIndex" Title="Index_No"/>-->
  19. <My:MDateTimePicker x:Name="DTPStart" Title="开始时间"/>
  20. <TextBlock Text="--" VerticalAlignment="Center" Margin="2"/>
  21. <My:MDateTimePicker x:Name="DTPEnd" Title="结束时间"/>
  22. <My:MButton x:Name="BtnSearch" Content="查询" Type="Primary" Click="BtnSearch_Click"/>
  23. <My:MButton x:Name="BtnReset" Content="条件重置" Click="BtnReset_Click"/>
  24. <My:MButton x:Name="BtnExport" Content="导出报表" Click="BtnExport_Click" Type="Warning"/>
  25. </StackPanel>
  26. <StackPanel x:Name="DP" Grid.Row="2">
  27. <My:MDataGrid x:Name="MyControlDataGrid" DockPanel.Dock="Top" AutoGenerateColumns="True"/>
  28. <My:MPagination x:Name="MyPagination" DockPanel.Dock="Bottom" PageIndexChange="MyPagination_PageIndexChange"/>
  29. </StackPanel>
  30. </Grid>
  31. </Page>