星火批注
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

MainWindow.xaml 881B

12345678910111213141516
  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="MainWindow" Height="300" Width="300">
  9. <Grid>
  10. <TextBlock Text="欢迎使用批注!" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="28"/>
  11. <StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10">
  12. <TextBlock Text="设备状态:" FontSize="18"/>
  13. <TextBlock x:Name="txbType" Text="未连接" FontSize="18"/>
  14. </StackPanel>
  15. </Grid>
  16. </Window>