星火微课系统客户端
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

XHMicroLessonSystemWindow.xaml 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
  7. xmlns:aforge ="clr-namespace:AForge.Controls;assembly=AForge.Controls"
  8. xmlns:local="clr-namespace:XHWK.WKTool"
  9. mc:Ignorable="d"
  10. Title="XHMicroLessonSystemWindow" Height="1040.8" Width="875" WindowStartupLocation="CenterScreen"
  11. WindowStyle="None" AllowsTransparency="True" Background="#EFF1F8"
  12. >
  13. <Viewbox>
  14. <Grid Height="1040.8" Width="875">
  15. <!--分3行-->
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="94"/>
  18. <RowDefinition Height="*"/>
  19. <RowDefinition Height="30"/>
  20. </Grid.RowDefinitions>
  21. <Grid Grid.Row="0" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0">
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="auto"/>
  24. <RowDefinition Height="auto"/>
  25. </Grid.RowDefinitions>
  26. <!--第一行-->
  27. <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
  28. <Image Source="./Images/microLessonSystem_0.png"/>
  29. <TextBlock Text="星火微课系统" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
  30. </StackPanel>
  31. <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,10,0">
  32. <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
  33. <StackPanel Orientation="Horizontal">
  34. <Image Source="./Images/microLessonSystem_9.png"/>
  35. <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"/>
  36. </StackPanel>
  37. </Button>
  38. <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click">
  39. <Image Source="./Images/microLessonSystem_19.png"/>
  40. </Button>
  41. <Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
  42. <Image Source="./Images/microLessonSystem_8.png"/>
  43. </Button>
  44. <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click">
  45. <Image Source="./Images/microLessonSystem_10.png"/>
  46. </Button>
  47. </StackPanel>
  48. <!--第二行-->
  49. <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,2,0,0">
  50. <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click">
  51. <StackPanel Orientation="Vertical">
  52. <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
  53. <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
  54. <TextBlock Text="录屏" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  55. </StackPanel>
  56. </Button>
  57. <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,30,0" Click="BtnScreenshot_Click">
  58. <StackPanel Orientation="Vertical">
  59. <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
  60. <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
  61. <TextBlock Text="截图" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  62. </StackPanel>
  63. </Button>
  64. <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click">
  65. <StackPanel Orientation="Vertical">
  66. <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
  67. <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
  68. <TextBlock Text="导入" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  69. </StackPanel>
  70. </Button>
  71. <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="60,0,30,0" Click="BtnRecord_Click">
  72. <StackPanel Orientation="Vertical">
  73. <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
  74. <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
  75. <TextBlock x:Name="TxbRecordingWord" Text="录制" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  76. </StackPanel>
  77. </Button>
  78. <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click">
  79. <StackPanel Orientation="Vertical">
  80. <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
  81. <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
  82. <TextBlock Text="停止" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  83. </StackPanel>
  84. </Button>
  85. </StackPanel>
  86. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,10,10,0">
  87. <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click">
  88. <StackPanel Orientation="Vertical">
  89. <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png"/>
  90. <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
  91. <TextBlock Text="增加" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  92. </StackPanel>
  93. </Button>
  94. <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,30,0" Click="BtnPrint_Click">
  95. <StackPanel Orientation="Vertical">
  96. <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
  97. <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
  98. <TextBlock Text="打印" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  99. </StackPanel>
  100. </Button>
  101. <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click">
  102. <StackPanel Orientation="Vertical">
  103. <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_16.png"/>
  104. <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
  105. <TextBlock Text="上传" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  106. </StackPanel>
  107. </Button>
  108. <Button Cursor="Hand" x:Name="btnMyMine" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,30,0" Click="BtnMyMine_Click">
  109. <StackPanel Orientation="Vertical">
  110. <Image x:Name="ImgMyMine" Source="./Images/microLessonSystem_1.png"/>
  111. <Image x:Name="ImgMyMineTwo" Source="./Images/microLessonSystem_22.png" Visibility="Collapsed"/>
  112. <TextBlock Text="我的" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  113. </StackPanel>
  114. </Button>
  115. <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnSetUp_Click">
  116. <StackPanel Orientation="Vertical">
  117. <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png"/>
  118. <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
  119. <TextBlock Text="设置" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  120. </StackPanel>
  121. </Button>
  122. </StackPanel>
  123. </Grid>
  124. <!--主内容-->
  125. <Grid Grid.Row="1" x:Name="GridMain" Margin="0,0,0,0" Background="#FFFFFF" Width="635" Height="914" Visibility="Visible">
  126. <Label Content="" Grid.Column="0" Height="1" Width="1" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
  127. <Grid>
  128. <Border Grid.Row="1" CornerRadius="5">
  129. <Grid x:Name="IMG" Margin="0,0,0,0">
  130. <Grid.Resources>
  131. <TransformGroup x:Key="Imageview">
  132. <ScaleTransform/>
  133. <TranslateTransform/>
  134. </TransformGroup>
  135. </Grid.Resources>
  136. <Label Content="" Grid.Column="0" HorizontalAlignment="Left" Height="1" VerticalAlignment="Top" Width="1" Background="#FF0F0F0F" Margin="1,0,0,0"/>
  137. <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Cursor="SizeAll"
  138. Margin="0,0,0,0" Focusable="False" x:Name="BackFrame">
  139. <ContentControl MouseLeftButtonDown="IMG1_MouseLeftButtonDown"
  140. MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
  141. MouseMove="IMG1_MouseMove"
  142. MouseWheel="IMG1_MouseWheel" >
  143. <Image Name="imgCanvas" Width="800" Height="600" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" RenderOptions.BitmapScalingMode="NearestNeighbor">
  144. </Image>
  145. </ContentControl>
  146. </ScrollViewer>
  147. </Grid>
  148. </Border>
  149. </Grid>
  150. <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2" />
  151. <!--摄像头-->
  152. <!--<wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Height="124" Width="172" HorizontalAlignment="Right" Margin="0,10,30.10,0" VerticalAlignment="Top">
  153. <aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
  154. </wfi:WindowsFormsHost>-->
  155. <Image x:Name="imgPlayer" Width="172" Height="124" HorizontalAlignment="Right" Margin="0,7,10,0" VerticalAlignment="Top" Visibility="Collapsed"/>
  156. <StackPanel Grid.Row="0" Orientation="Horizontal" Background="#FFFFFF" Width="180" HorizontalAlignment="Right"
  157. Height="58" Margin="0,830,20,0" Grid.Column="1">
  158. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  159. x:Name="last_button"
  160. Width="60"
  161. Click="last_button_Click">
  162. <Button.Content>
  163. <StackPanel>
  164. <Image Width="16" Source=".\Images\class_p1.png" />
  165. <TextBlock Margin="0,8,0,0" Text="上一页" />
  166. </StackPanel>
  167. </Button.Content>
  168. </Button>
  169. <Grid Width="60">
  170. <Grid.RowDefinitions>
  171. <RowDefinition Height="311*"/>
  172. <RowDefinition Height="483*"/>
  173. </Grid.RowDefinitions>
  174. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-25,0,0" Grid.Row="1" >
  175. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
  176. <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15"/>
  177. <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
  178. <TextBlock Text="{Binding pagenum}" TextAlignment="Center" FontSize="15"/>
  179. </StackPanel>
  180. <TextBlock
  181. Margin="0,8,0,0"
  182. HorizontalAlignment="Center"
  183. Text="页码" />
  184. </StackPanel>
  185. </Grid>
  186. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  187. x:Name="next_btn"
  188. Width="60"
  189. Click="next_btn_Click">
  190. <Button.Content>
  191. <StackPanel>
  192. <Image Width="16" Source=".\Images\class_p2.png" />
  193. <TextBlock Margin="0,8,0,0" Text="下一页" />
  194. </StackPanel>
  195. </Button.Content>
  196. </Button>
  197. </StackPanel>
  198. <Label Content="" Grid.Column="1" Height="1" Width="1" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,2,0"/>
  199. <Label Content="" Grid.Column="1" Height="1" Width="1" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,2,0"/>
  200. </Grid>
  201. <!--设置-->
  202. <Grid Grid.Row="1" x:Name="gridSetUp" Margin="20,0,20,0" Background="#FFFFFF" Visibility="Collapsed">
  203. <Grid.RowDefinitions>
  204. <RowDefinition Height="120"/>
  205. <RowDefinition Height="90"/>
  206. <RowDefinition Height="90"/>
  207. <RowDefinition Height="80"/>
  208. <RowDefinition Height="80"/>
  209. <RowDefinition Height="90"/>
  210. <RowDefinition Height="90"/>
  211. <RowDefinition Height="*"/>
  212. </Grid.RowDefinitions>
  213. <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,30,0,0">
  214. <TextBlock Text=" 点阵笔" FontSize="16" Foreground="#2D8CF0"/>
  215. <TextBlock x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
  216. </StackPanel>
  217. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Left">
  218. <TextBlock Text="视频格式" FontSize="16" Foreground="#2D8CF0"/>
  219. <RadioButton x:Name="rbnMP4" Cursor="Hand" Content="MP4" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
  220. <RadioButton x:Name="rbnFLV" Cursor="Hand" Content="FLV" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  221. <RadioButton x:Name="rbnAVI" Cursor="Hand" Content="AVI" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  222. </StackPanel>
  223. <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left">
  224. <TextBlock Text="头像位置" FontSize="16" Foreground="#2D8CF0"/>
  225. <RadioButton Cursor="Hand" Content="左上" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
  226. <RadioButton Cursor="Hand" Content="左下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  227. <RadioButton Cursor="Hand" Content="右上" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  228. <RadioButton Cursor="Hand" Content="右下" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  229. </StackPanel>
  230. <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Left">
  231. <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0"/>
  232. <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
  233. <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  234. </StackPanel>
  235. <StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Left">
  236. <TextBlock x:Name="txbFilePath" Text="文件路径" FontSize="16" Foreground="#2D8CF0" Padding="2,36,10,0"/>
  237. <!--输入框-->
  238. <Border Background="#CDD6E0" Width="525" Height="43" CornerRadius="3">
  239. <Label x:Name="txbStoragePath" Content="D:\" FontSize="16" Foreground="#333333" Padding="5,12,2,2" Width="523" Height="42" BorderBrush="{x:Null}" BorderThickness="0"/>
  240. </Border>
  241. <!--浏览按钮-->
  242. <Button Cursor="Hand" x:Name="btnBrowse" Content="打开" FontSize="18" Width="80" Height="43" Margin="18,0,0,0" Click="BtnBrowse_Click">
  243. <Button.Template>
  244. <ControlTemplate TargetType="{x:Type Button}">
  245. <Border
  246. BorderBrush="{TemplateBinding Control.BorderBrush}"
  247. BorderThickness="1"
  248. CornerRadius="2">
  249. <Border.Background>#CDD6E0</Border.Background>
  250. <ContentPresenter
  251. HorizontalAlignment="Center"
  252. VerticalAlignment="Center"
  253. Content="{TemplateBinding ContentControl.Content}" />
  254. </Border>
  255. </ControlTemplate>
  256. </Button.Template>
  257. </Button>
  258. </StackPanel>
  259. <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,30,0,0">
  260. <TextBlock Text=" 版本号" FontSize="16" Foreground="#2D8CF0"/>
  261. <TextBlock Text="V0.0.0" FontSize="16" Foreground="#333333" Padding="10,0,0,0"/>
  262. </StackPanel>
  263. <StackPanel Grid.Row="6" Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,30,0,0">
  264. <TextBlock Text="版权所有" FontSize="16" Foreground="#2D8CF0"/>
  265. <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333" Padding="10,0,0,0"/>
  266. </StackPanel>
  267. <!--第四行 开始按钮-->
  268. <Button Cursor="Hand" Grid.Row="7" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,0,10,0" Click="BtnSave_Click">
  269. <Button.Template>
  270. <ControlTemplate TargetType="{x:Type Button}">
  271. <Border
  272. BorderBrush="{TemplateBinding Control.BorderBrush}"
  273. BorderThickness="1"
  274. CornerRadius="2">
  275. <Border.Background>#2D8CF0</Border.Background>
  276. <ContentPresenter
  277. HorizontalAlignment="Center"
  278. VerticalAlignment="Center"
  279. Content="{TemplateBinding ContentControl.Content}" />
  280. </Border>
  281. </ControlTemplate>
  282. </Button.Template>
  283. </Button>
  284. </Grid>
  285. <Grid Grid.Row="2" Background="#EFF1F8">
  286. <StackPanel Orientation="Horizontal" Margin="0,5,0,0">
  287. <TextBlock Text="颜色:" FontSize="14" Padding="5,5,0,0"/>
  288. <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click"/>
  289. <Button Cursor="Hand" x:Name="btnRed" Background="#FF0000" Width="20" Height="20" Margin="5,0,0,0" Click="BtnRed_Click"/>
  290. <Button Cursor="Hand" x:Name="btnGray" Background="#A7A9AC" Width="20" Height="20" Margin="5,0,0,0" Click="BtnGray_Click"/>
  291. <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="5,0,0,0" Click="BtnCyanBlue_Click"/>
  292. <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="5,0,0,0" Click="BtnYellow_Click"/>
  293. <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="5,0,0,0" Click="BtnBlue_Click"/>
  294. <TextBlock Text="粗细:" FontSize="14" Padding="15,5,0,0" Margin="5,0,0,0"/>
  295. <RadioButton Cursor="Hand" x:Name="rbnFine" Content="细" FontSize="14" Margin="0,5,0,0" IsChecked="True" Click="RbnFine_Click"/>
  296. <RadioButton Cursor="Hand" x:Name="rbnIn" Content="中" FontSize="14" Margin="5,5,0,0" Click="RbnIn_Click"/>
  297. <RadioButton Cursor="Hand" x:Name="rbnCrude" Content="粗" FontSize="14" Margin="5,5,0,0" Click="RbnCrude_Click"/>
  298. <StackPanel Orientation="Horizontal">
  299. <TextBlock Text="摄像头:" FontSize="14" Padding="15,5,0,0"/>
  300. <RadioButton Cursor="Hand" x:Name="rbnOpen" Content="开" FontSize="14" Margin="0,5,0,0" Click="RbnOpen_Click"/>
  301. <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content="关" FontSize="14" Margin="5,5,0,0" IsChecked="True" Click="RbnTurnOff_Click"/>
  302. </StackPanel>
  303. </StackPanel>
  304. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,5,0">
  305. <TextBlock Text="智能笔状态:" FontSize="14" Padding="0,5,0,0"/>
  306. <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,5,5,0"/>
  307. </StackPanel>
  308. </Grid>
  309. </Grid>
  310. </Viewbox>
  311. </Window>