星火微课系统客户端
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.

XHMicroLessonSystemWindow.xaml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <Window x:Class="XHWK.WKTool.XHMicroLessonSystemWindow"
  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:XHWK.WKTool"
  7. mc:Ignorable="d"
  8. Title="XHMicroLessonSystemWindow" Height="794" Width="1123" WindowStartupLocation="CenterOwner"
  9. WindowStyle="None" AllowsTransparency="True" Background="#EFF1F8"
  10. ShowInTaskbar="False">
  11. <Viewbox>
  12. <Grid Height="793.700787401575" Width="1122.51968503937">
  13. <!--分3行-->
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="106"/>
  16. <RowDefinition Height="*"/>
  17. <RowDefinition Height="30"/>
  18. </Grid.RowDefinitions>
  19. <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown">
  20. <Grid.RowDefinitions>
  21. <RowDefinition Height="auto"/>
  22. <RowDefinition Height="auto"/>
  23. </Grid.RowDefinitions>
  24. <!--第一行-->
  25. <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,10,10,0">
  26. <Image Source="./Images/microLessonSystem_0.png"/>
  27. <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
  28. </StackPanel>
  29. <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
  30. <Button x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0">
  31. <StackPanel Orientation="Horizontal">
  32. <Image Source="./Images/microLessonSystem_9.png"/>
  33. <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
  34. </StackPanel>
  35. </Button>
  36. <Button x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  37. <Image Source="./Images/microLessonSystem_19.png"/>
  38. </Button>
  39. <Button x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
  40. <Image Source="./Images/microLessonSystem_8.png"/>
  41. </Button>
  42. <Button x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  43. <Image Source="./Images/microLessonSystem_10.png"/>
  44. </Button>
  45. </StackPanel>
  46. <!--第二行-->
  47. <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,10,0,0">
  48. <Button x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  49. <StackPanel Orientation="Vertical">
  50. <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
  51. <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
  52. <TextBlock Text="录屏" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  53. </StackPanel>
  54. </Button>
  55. <Button x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,30,0">
  56. <StackPanel Orientation="Vertical">
  57. <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
  58. <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
  59. <TextBlock Text="截图" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  60. </StackPanel>
  61. </Button>
  62. <Button x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  63. <StackPanel Orientation="Vertical">
  64. <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
  65. <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
  66. <TextBlock Text="导入" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  67. </StackPanel>
  68. </Button>
  69. <Button x:Name="btnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="60,0,30,0">
  70. <StackPanel Orientation="Vertical">
  71. <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
  72. <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
  73. <TextBlock Text="录制" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  74. </StackPanel>
  75. </Button>
  76. <Button x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  77. <StackPanel Orientation="Vertical">
  78. <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
  79. <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
  80. <TextBlock Text="停止" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  81. </StackPanel>
  82. </Button>
  83. </StackPanel>
  84. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
  85. <Button x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  86. <StackPanel Orientation="Vertical">
  87. <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png"/>
  88. <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
  89. <TextBlock Text="增加" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  90. </StackPanel>
  91. </Button>
  92. <Button x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,30,0">
  93. <StackPanel Orientation="Vertical">
  94. <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png"/>
  95. <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Collapsed"/>
  96. <TextBlock Text="打印" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  97. </StackPanel>
  98. </Button>
  99. <Button x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  100. <StackPanel Orientation="Vertical">
  101. <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_16.png"/>
  102. <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
  103. <TextBlock Text="上传" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  104. </StackPanel>
  105. </Button>
  106. <Button x:Name="btnMyMine" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,30,0">
  107. <StackPanel Orientation="Vertical">
  108. <Image x:Name="ImgMyMine" Source="./Images/microLessonSystem_1.png"/>
  109. <Image x:Name="ImgMyMineTwo" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
  110. <TextBlock Text="我的" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  111. </StackPanel>
  112. </Button>
  113. <Button x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  114. <StackPanel Orientation="Vertical">
  115. <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png"/>
  116. <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
  117. <TextBlock Text="设置" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  118. </StackPanel>
  119. </Button>
  120. </StackPanel>
  121. </Grid>
  122. <Grid Grid.Row="1" Background="#FFFFFF" Margin="20,0,20,0">
  123. </Grid>
  124. <Grid Grid.Row="1" Background="#FFFFFF">
  125. </Grid>
  126. <Grid Grid.Row="2">
  127. <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
  128. <TextBlock Text="颜色:" FontSize="14" Padding="5,5,0,0"/>
  129. <Button x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20"/>
  130. <Button x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,0,0,0"/>
  131. <Button x:Name="btnGray" Background="#A7A9AC" Width="20" Height="20" Margin="5,0,0,0"/>
  132. <Button x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="5,0,0,0"/>
  133. <Button x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="5,0,0,0"/>
  134. <Button x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="5,0,0,0"/>
  135. <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,0,0,0"/>
  136. <RadioButton x:Name="rbnFine" Content="细" FontSize="14" Margin="0,5,0,0" IsChecked="True"/>
  137. <RadioButton x:Name="rbnIn" Content="中" FontSize="14" Margin="5,5,0,0"/>
  138. <RadioButton x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,5,0,0"/>
  139. <StackPanel Orientation="Horizontal">
  140. <TextBlock Text="摄像头:" FontSize="14" Padding="15,5,0,0"/>
  141. <RadioButton x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,5,0,0"/>
  142. <RadioButton x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,5,0,0" IsChecked="True"/>
  143. </StackPanel>
  144. </StackPanel>
  145. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,5,0">
  146. <TextBlock Text="智能笔状态:" FontSize="14" Padding="0,5,0,0"/>
  147. <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
  148. </StackPanel>
  149. </Grid>
  150. </Grid>
  151. </Viewbox>
  152. </Window>