Dispenser/DispenserUI/Views/Windows/CameraViewerNofityWindow.axaml

21 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-08-16 07:20:09 +00:00
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:DispenserUI.Views.Controls"
x:Class="DispenserUI.Views.Windows.CameraViewerNotifyWindow"
SystemDecorations="None"
WindowStartupLocation="CenterScreen"
TransparencyLevelHint="Transparent"
Background="Transparent"
TransparencyBackgroundFallback="Transparent">
<controls:ShadowBox BorderThickness="0" CornerRadius="1" Background="#393939" Width="200" Height="60">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="/Assets/UI/ok.png" VerticalAlignment="Center" Width="25" Height="25" />
<TextBlock x:Name="TitleText" Margin="10,0,0,0" Foreground="White" FontSize="14"
VerticalAlignment="Center" />
<TextBlock Text="查看" Tapped="OpenBrowser" Margin="20,0,0,0" TextDecorations="Underline" FontSize="16"
Foreground="Chocolate"
Cursor="Hand"
VerticalAlignment="Center" />
</StackPanel>
</controls:ShadowBox>
</Window>