AuditTrailPage.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Page x:Class="CCDCountWpf.WpfPage.AuditTrailPage"
  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:CCDCountWpf.WpfPage"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="AuditTrailPage">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="40" />
  13. <RowDefinition Height="*" />
  14. </Grid.RowDefinitions>
  15. <Grid Grid.Row="0">
  16. <Grid.ColumnDefinitions>
  17. <ColumnDefinition Width="*" />
  18. <ColumnDefinition Width="*" />
  19. <ColumnDefinition Width="*" />
  20. <ColumnDefinition Width="*" />
  21. </Grid.ColumnDefinitions>
  22. <Button x:Name="BatchRecordBtn" Content="批记录" Grid.Column="0"></Button>
  23. <Button x:Name="FormulationRecordBtn" Content="生产配方记录" Grid.Column="1"></Button>
  24. <Button x:Name="ValueChangeRecordBtd" Content="参数修改记录" Grid.Column="2"></Button>
  25. <Button x:Name="ErrorRecordBtn" Content="异常记录" Grid.Column="3"></Button>
  26. </Grid>
  27. <Grid Grid.Row="1">
  28. <Grid x:Name="BatchRecordGrid" Visibility="Visible">
  29. <Grid.RowDefinitions>
  30. <RowDefinition Height="50" />
  31. <RowDefinition Height="*" />
  32. </Grid.RowDefinitions>
  33. <DatePicker Grid.Row="0" x:Name="BatchMinTime" Width="120" Height="30" HorizontalAlignment="Left" VerticalAlignment="Center" SelectedDateChanged="BatchMinTime_SelectedDateChanged"/>
  34. <DatePicker Grid.Row="0" x:Name="BatchMaxTime" Width="120" Height="30" HorizontalAlignment="Left" Margin="140,0,0,0" VerticalAlignment="Center" SelectedDateChanged="BatchMaxTime_SelectedDateChanged"/>
  35. <ComboBox Grid.Row="0" x:Name="BatchNumComBox" ItemsSource="{Binding BatchItems}" MaxDropDownHeight="100" Background="{x:Null}" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="180" FontSize="12" HorizontalContentAlignment="Center" Padding="6,6,5,3" Margin="0,0,10,0"/>
  36. </Grid>
  37. <Grid x:Name="FormulationRecordGrid" Visibility="Collapsed"></Grid>
  38. <Grid x:Name="ValueChangeRecordGrid" Visibility="Collapsed"></Grid>
  39. <Grid x:Name="ErrorRecordGrid" Visibility="Collapsed"></Grid>
  40. </Grid>
  41. </Grid>
  42. </Page>