星火批注
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
3 anos atrás
1234567891011121314151617181920212223242526272829303132333435
  1. <Window x:Class="XHPZ.Desktop.MainWindow"
  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:XHPZ.Desktop"
  7. mc:Ignorable="d"
  8. Title="智慧批注"
  9. WindowStyle="None" AllowsTransparency="True" WindowState="Normal"
  10. ShowInTaskbar="True" Topmost="True" ResizeMode="NoResize"
  11. d:DesignHeight="250" Width="500" Height="250" MouseMove="Window_MouseMove" BorderThickness="7">
  12. <Window.Effect>
  13. <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
  14. </Window.Effect>
  15. <Grid>
  16. <TextBlock Text="欢迎使用星火批注!" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20" Margin="0,0,0,35"/>
  17. <TextBlock Text="使用点阵笔时自动批注,右键退出批注。" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="20" Margin="0,35,0,0"/>
  18. <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10">
  19. <TextBlock Text="设备状态:" FontSize="18"/>
  20. <TextBlock x:Name="txbType" Text="未连接" FontSize="18"/>
  21. </StackPanel>
  22. <Grid Grid.Row="0" Margin="0,0,0,190" Background="#FF00BAF4">
  23. <Image Source="/Images/144.png" RenderTransformOrigin="0.1,0.61" HorizontalAlignment="Left" Margin="5,5,0,5" />
  24. <Label x:Name="lblTitle" Content="星火批注" HorizontalAlignment="Left" Margin="45,7,0,0" VerticalAlignment="Top" Foreground="#FFFFFFFF" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" FontSize="20" FontWeight="Bold"/>
  25. <Button Cursor="Hand" x:Name="BtnClose" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="30" HorizontalAlignment="Right" Margin="0,0,10,0" Click="BtnClose_Click" >
  26. <Image Source="./Images/Toobar5.png"/>
  27. </Button>
  28. <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" >
  29. <Image Source="./Images/microLessonSystem_19.png"/>
  30. </Button>
  31. </Grid>
  32. </Grid>
  33. </Window>