AddPatchDlg.xaml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Window x:Class="MeterVision.Patch.AddPatchDlg"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:MeterVision.Patch"
  7. mc:Ignorable="d"
  8. Background="WhiteSmoke"
  9. ResizeMode="NoResize"
  10. ShowInTaskbar="False"
  11. WindowStartupLocation="CenterOwner"
  12. Title="新增批量任务" Height="300" Width="320">
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="*" />
  16. <RowDefinition Height="40" />
  17. </Grid.RowDefinitions>
  18. <Border Grid.Row="0" BorderBrush="#D3D3D3" BorderThickness="1" Background="White" Margin="10 10 10 0">
  19. <StackPanel Margin="20" VerticalAlignment="Center">
  20. <TextBlock Text="请输入任务名称:" FontSize="14px" Foreground="#333333" HorizontalAlignment="Left" VerticalAlignment="Center" />
  21. <TextBox x:Name="txtPatchName" Text="" FontSize="14" Margin="0,5,0,10" Padding="2" />
  22. <TextBlock Text="选择标准模板:" FontSize="14px" Foreground="#333333" HorizontalAlignment="Left" VerticalAlignment="Center" />
  23. <ComboBox x:Name="cmbStand" FontSize="14px" Foreground="#000000" DisplayMemberPath="StandName2"
  24. SelectionChanged="CmbStand_SelectionChanged"
  25. Margin="0,5,0,0" Padding="2"/>
  26. <!--暂时不需要-->
  27. <CheckBox x:Name="chkJudgeLastnumFlag" Content="值相等条件包含最后一位数字" Visibility="Visible"
  28. IsChecked="True" FontSize="14px" Foreground="#000000" Margin="0,20,0,0" />
  29. </StackPanel>
  30. </Border>
  31. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  32. <Button Name="btnOK" Content="确定" HorizontalAlignment="Center" Margin="0 0 20 0"
  33. VerticalAlignment="Center" Width="80" Height="26" Click="BtnOK_Click" />
  34. <Button Name="btnClose" Content="取消" HorizontalAlignment="Center"
  35. VerticalAlignment="Center" Width="80" Height="26" Click="BtnClose_Click" />
  36. </StackPanel>
  37. </Grid>
  38. </Window>