DeviceSerialControl.xaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <Window x:Class="ComPDFKit.Controls.PDFControl.DeviceSerialControl"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:ComPDFKit.Controls.PDFControl"
  7. mc:Ignorable="d"
  8. Title="Device ID"
  9. Height="100"
  10. Width="360"
  11. WindowStartupLocation="CenterScreen"
  12. ResizeMode="NoResize"
  13. ShowInTaskbar="False">
  14. <Grid>
  15. <StackPanel
  16. Orientation="Horizontal"
  17. VerticalAlignment="Center"
  18. HorizontalAlignment="Center">
  19. <TextBox
  20. Name="BoardText"
  21. Width="260"
  22. IsReadOnly="True"
  23. VerticalContentAlignment="Center"
  24. HorizontalContentAlignment="Center" />
  25. <Button
  26. Margin="10,0,0,0"
  27. Padding="10,5,10,5"
  28. Click="CopyBtn_Click">Copy</Button>
  29. </StackPanel>
  30. <Border
  31. Name="CopyTips"
  32. Background="#A0000000"
  33. Visibility="Collapsed">
  34. <TextBlock
  35. VerticalAlignment="Center"
  36. HorizontalAlignment="Center"
  37. Margin="-50,0,0,0"
  38. Foreground="#FFFFFFFF"
  39. FontSize="14">Copy Success !</TextBlock>
  40. </Border>
  41. </Grid>
  42. </Window>