WinTipMissFamily.xaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <Window x:Class="Saga.PlugIn.CreateFacility.WinTipMissFamily"
  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="60"></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <Grid>
  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="40" Width="40" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10,0"
  25. Source="Image/错误.png"></Image>
  26. <Label Grid.Row="0" Grid.Column="1" Content="自动创建设备异常!"
  27. FontSize="20" FontWeight="UltraBlack"
  28. VerticalAlignment="Bottom"></Label>
  29. <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding Path=Tip}"
  30. TextWrapping="WrapWithOverflow"
  31. FontSize="15" Margin="0,10,100,0"></TextBlock>
  32. </Grid>
  33. <Grid Grid.Row="1" Background="LightGray">
  34. <Button Width="100" Height="25" Background="Black" Foreground="White" Content="确认"
  35. HorizontalAlignment="Right" Margin="0,0,5,0" VerticalAlignment="Center"
  36. Click="ButtonNext_OnClick" ></Button>
  37. </Grid>
  38. </Grid>
  39. </Window>