WinTipCreateSuccess.xaml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <Window x:Class="Saga.PlugIn.CreateFacility.WinTipCreateSuccess"
  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. <WrapPanel Grid.Row="1" Grid.Column="1" >
  30. <TextBlock Text="{Binding Path=Tip}"
  31. TextWrapping="WrapWithOverflow"
  32. FontSize="15" Margin="0,10,50,0"></TextBlock>
  33. <Button Height="24" Content="复制" Margin="0,10"
  34. Click="ButtonCopy_OnClick">
  35. <Button.Style >
  36. <Style TargetType="Button">
  37. <Setter Property="Foreground" Value="DeepSkyBlue"></Setter>
  38. <Setter Property="Background" Value="Transparent"></Setter>
  39. <Setter Property="BorderThickness" Value="0"></Setter>
  40. </Style>
  41. </Button.Style>
  42. </Button>
  43. </WrapPanel>
  44. </Grid>
  45. <Grid Grid.Row="1" Background="LightGray">
  46. <Button Width="100" Height="25" Background="Black" Foreground="White" Content="确认"
  47. HorizontalAlignment="Right" Margin="0,0,5,0" VerticalAlignment="Center"
  48. Click="ButtonNext_OnClick" ></Button>
  49. </Grid>
  50. </Grid>
  51. </Window>