终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 1 година
1234567891011121314151617181920212223242526272829303132
  1. <Window
  2. x:Class="Test.MainWindow"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Test"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. Title="MainWindow"
  9. Width="800"
  10. Height="450"
  11. mc:Ignorable="d">
  12. <Grid>
  13. <StackPanel
  14. Margin="10"
  15. HorizontalAlignment="Center"
  16. VerticalAlignment="Center">
  17. <Button
  18. Width="150"
  19. Height="30"
  20. Margin="0 10"
  21. Click="Button_Click"
  22. Content="写入数据" />
  23. <Button
  24. Width="150"
  25. Height="30"
  26. Click="Button_Click_1"
  27. Content="连接设备" />
  28. </StackPanel>
  29. </Grid>
  30. </Window>