Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

40 wiersze
1.5 KiB

  1. <Page
  2. x:Class="MQTTnet.TestApp.UniversalWindows.MainPage"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="using:MQTTnet.TestApp.UniversalWindows"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. mc:Ignorable="d">
  9. <Grid Margin="10">
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="Auto" />
  12. <RowDefinition Height="*" />
  13. </Grid.RowDefinitions>
  14. <StackPanel Grid.Row="0" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
  15. <TextBlock>Server:</TextBlock>
  16. <TextBox x:Name="Server"></TextBox>
  17. <TextBlock>User:</TextBlock>
  18. <TextBox x:Name="User"></TextBox>
  19. <TextBlock>Password:</TextBlock>
  20. <TextBox x:Name="Password"></TextBox>
  21. <TextBlock>ClientId:</TextBlock>
  22. <TextBox x:Name="ClientId"></TextBox>
  23. <CheckBox x:Name="UseTls">Use TLS</CheckBox>
  24. <Button Click="Connect">Connect</Button>
  25. <TextBlock>Trace:</TextBlock>
  26. </StackPanel>
  27. <ScrollViewer Grid.Row="1" Background="Black" Foreground="WhiteSmoke" FontFamily="Consolas" HorizontalScrollMode="Enabled" VerticalScrollMode="Enabled" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible">
  28. <TextBlock x:Name="Trace"></TextBlock>
  29. </ScrollViewer>
  30. </Grid>
  31. </Page>