|
1234567891011121314151617181920212223242526272829303132333435 |
- <Window x:Class="XHPZ.Desktop.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:XHPZ.Desktop"
- mc:Ignorable="d"
- Title="智慧批注"
-
- WindowStyle="None" AllowsTransparency="True" WindowState="Normal"
- ShowInTaskbar="True" Topmost="True" ResizeMode="NoResize"
- d:DesignHeight="250" Width="500" Height="250" MouseMove="Window_MouseMove" BorderThickness="7">
- <Window.Effect>
- <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
- </Window.Effect>
- <Grid>
- <TextBlock Text="欢迎使用星火批注!" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20" Margin="0,0,0,35"/>
- <TextBlock Text="使用点阵笔时自动批注,右键退出批注。" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20" Margin="0,35,0,0"/>
- <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10">
- <TextBlock Text="设备状态:" FontSize="18"/>
- <TextBlock x:Name="txbType" Text="未连接" FontSize="18"/>
- </StackPanel>
- <Grid Grid.Row="0" Margin="0,0,0,190" Background="#FF00BAF4">
- <Image Source="/Images/144.png" RenderTransformOrigin="0.1,0.61" HorizontalAlignment="Left" Margin="5,5,0,5" />
- <Label x:Name="lblTitle" Content="星火批注" HorizontalAlignment="Left" Margin="45,7,0,0" VerticalAlignment="Top" Foreground="#FFFFFFFF" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" FontSize="20" FontWeight="Bold"/>
- <Button Cursor="Hand" x:Name="BtnClose" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="30" HorizontalAlignment="Right" Margin="0,0,10,0" Click="BtnClose_Click" >
- <Image Source="./Images/Toobar5.png"/>
- </Button>
- <Button Cursor="Hand" x:Name="BtnMin" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="30" HorizontalAlignment="Right" Margin="0,0,50,0" Height="30" Click="BtnMin_Click" >
- <Image Source="./Images/microLessonSystem_19.png"/>
- </Button>
-
- </Grid>
- </Grid>
- </Window>
|