AddPatchDlg.xaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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="240" 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. </StackPanel>
  27. </Border>
  28. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  29. <Button Name="btnOK" Content="确定" HorizontalAlignment="Center" Margin="0 0 20 0"
  30. VerticalAlignment="Center" Width="80" Height="26" Click="BtnOK_Click" />
  31. <Button Name="btnClose" Content="取消" HorizontalAlignment="Center"
  32. VerticalAlignment="Center" Width="80" Height="26" Click="BtnClose_Click" />
  33. </StackPanel>
  34. </Grid>
  35. </Window>