MessageWindow.xaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <Window x:Class="ivf_tl_Operate.Windows.MessageWindow"
  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:ivf_tl_Operate.Windows"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
  8. mc:Ignorable="d"
  9. WindowStyle="None"
  10. AllowsTransparency="True"
  11. WindowStartupLocation="CenterOwner"
  12. Background="Transparent"
  13. Title="MarkWindow" Height="667" Width="1452">
  14. <Grid>
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="134"/>
  17. <RowDefinition Height="*"/>
  18. </Grid.RowDefinitions>
  19. <!--header-->
  20. <Border Grid.Row="0" Height="134" CornerRadius="15 15 0 0" Background="#4D75AC">
  21. <Grid>
  22. <Grid.ColumnDefinitions>
  23. <ColumnDefinition Width="*"/>
  24. <ColumnDefinition Width="auto"/>
  25. </Grid.ColumnDefinitions>
  26. <TextBlock Grid.Column="0" x:Name="_tile_TextBlock" Text="{DynamicResource C0171}" FontSize="44" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  27. </Grid>
  28. </Border>
  29. <!--content-->
  30. <Border Grid.Row="1" CornerRadius="0 0 15 15 " Background="{StaticResource BorderMenuFill}">
  31. <Grid>
  32. <Grid.RowDefinitions>
  33. <RowDefinition/>
  34. <RowDefinition Height="300"/>
  35. </Grid.RowDefinitions>
  36. <TextBlock x:Name="_textBlock" Margin="50 0 50 0" Text="" FontSize="44" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  37. <!--按钮-->
  38. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
  39. <customControl:ButtonCornerRadius Click="Sure_Click" Width="366" Height="120" CornerRadius="60" Background="#FCB439" BorderThickness="0"
  40. Content="{DynamicResource C0159}" FontSize="46" FontWeight="Bold" Foreground="#0D0604" Margin="20"/>
  41. <customControl:ButtonCornerRadius Click="Cancel_Click" Width="366" Height="120" CornerRadius="60" Background="#B0B4B9" BorderThickness="0"
  42. Content="{DynamicResource C0031}" FontSize="46" FontWeight="Bold" Foreground="White" Margin="20"/>
  43. </StackPanel>
  44. </Grid>
  45. </Border>
  46. </Grid>
  47. </Window>