WinTipExisted.xaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Window x:Class="Saga.PlugIn.CreateFacility.WinTipExisted"
  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:Saga.PlugIn.CreateFacility"
  7. mc:Ignorable="d" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
  8. Height="300" Width="450"
  9. Title="提示">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition></RowDefinition>
  13. <RowDefinition Height="43"></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <Grid Margin="10,0">
  16. <Grid.RowDefinitions>
  17. <RowDefinition></RowDefinition>
  18. <RowDefinition></RowDefinition>
  19. </Grid.RowDefinitions>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="100"></ColumnDefinition>
  22. <ColumnDefinition></ColumnDefinition>
  23. </Grid.ColumnDefinitions>
  24. <Image Height="36" Width="36" VerticalAlignment="Bottom" HorizontalAlignment="Right"
  25. Source="Image/警告.png"></Image>
  26. <Label Grid.Row="0" Grid.Column="1" Content="设备已存在,请检查"
  27. FontSize="16" FontWeight="UltraBlack"
  28. VerticalAlignment="Bottom"></Label>
  29. <WrapPanel Grid.Row="1" Grid.Column="1" >
  30. <Label Content="{Binding Path=Tip}" VerticalAlignment="Center"></Label>
  31. <Button Height="23" Content="复制"
  32. Click="ButtonCopy_OnClick">
  33. <Button.Style >
  34. <Style TargetType="Button">
  35. <Setter Property="Foreground" Value="DeepSkyBlue"></Setter>
  36. <Setter Property="Background" Value="Transparent"></Setter>
  37. <Setter Property="BorderThickness" Value="0"></Setter>
  38. </Style>
  39. </Button.Style>
  40. </Button>
  41. </WrapPanel>
  42. </Grid>
  43. <Grid Grid.Row="1" Background="#F0F0F0">
  44. <WrapPanel HorizontalAlignment="Right">
  45. <Button Width="82" Height="23" Content="定位模型"
  46. HorizontalAlignment="Right" Margin="0,10,6,10"
  47. Click="ButtonFocus_OnClick"
  48. ></Button>
  49. <Button Width="82" Height="23" Content="重新输入"
  50. HorizontalAlignment="Right" Margin="0,10,10,10"
  51. Click="ButtonNext_OnClick" ></Button>
  52. </WrapPanel>
  53. </Grid>
  54. </Grid>
  55. </Window>