星火微课系统客户端
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

MainWindow.xaml 99KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754
  1. <Window
  2. x:Class="XHWK.WKTool.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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. Title="星火微课系统"
  8. Width="950"
  9. Height="700"
  10. Closed="Window_Closed"
  11. Loaded="Window_Loaded"
  12. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  13. ResizeMode="CanMinimize"
  14. ShowInTaskbar="True"
  15. Style="{StaticResource ZWinStyle}"
  16. WindowStartupLocation="CenterScreen"
  17. WindowStyle="SingleBorderWindow"
  18. mc:Ignorable="d">
  19. <Window.Resources>
  20. <Style x:Key="RadBase" TargetType="RadioButton">
  21. <Setter Property="IsChecked" Value="False" />
  22. <Setter Property="Background" Value="Transparent" />
  23. <Setter Property="Foreground" Value="#555" />
  24. <Setter Property="Template">
  25. <Setter.Value>
  26. <ControlTemplate TargetType="RadioButton">
  27. <DockPanel
  28. Width="{TemplateBinding Width}"
  29. Background="{TemplateBinding Background}"
  30. LastChildFill="False"
  31. ToolTip="{TemplateBinding Content}">
  32. <Image
  33. x:Name="_img"
  34. Height="12"
  35. Margin="4,0,0,0"
  36. VerticalAlignment="Center"
  37. DockPanel.Dock="Left"
  38. Source="./Images/rdo_no.png"
  39. Stretch="Fill" />
  40. <TextBlock
  41. Margin="2,0,0,0"
  42. VerticalAlignment="Center"
  43. DockPanel.Dock="Left"
  44. Foreground="{TemplateBinding Foreground}"
  45. Text="{TemplateBinding Content}" />
  46. </DockPanel>
  47. <ControlTemplate.Triggers>
  48. <Trigger Property="IsChecked" Value="true">
  49. <Setter TargetName="_img" Property="Source" Value="./Images/rdo_yes.png" />
  50. </Trigger>
  51. </ControlTemplate.Triggers>
  52. </ControlTemplate>
  53. </Setter.Value>
  54. </Setter>
  55. </Style>
  56. <Style x:Key="NoMouseOverButtonStyle" TargetType="{x:Type Button}">
  57. <Setter Property="BorderThickness" Value="1" />
  58. <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" />
  59. <Setter Property="HorizontalContentAlignment" Value="Center" />
  60. <Setter Property="VerticalContentAlignment" Value="Center" />
  61. <Setter Property="Padding" Value="1" />
  62. <Setter Property="Template">
  63. <Setter.Value>
  64. <ControlTemplate TargetType="{x:Type Button}">
  65. <Border
  66. x:Name="Chrome"
  67. Background="{TemplateBinding Background}"
  68. BorderBrush="{TemplateBinding BorderBrush}"
  69. SnapsToDevicePixels="true">
  70. <ContentPresenter
  71. Margin="{TemplateBinding Padding}"
  72. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  73. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  74. RecognizesAccessKey="True"
  75. SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  76. </Border>
  77. </ControlTemplate>
  78. </Setter.Value>
  79. </Setter>
  80. </Style>
  81. <!-- ListBox容器样式 -->
  82. <!-- 摄像头样式 -->
  83. </Window.Resources>
  84. <Grid>
  85. <!-- 内容区 上:标题栏 下:工具栏和录制区域 -->
  86. <Grid
  87. x:Name="GridContent"
  88. HorizontalAlignment="Stretch"
  89. Background="#FFF1F2F8">
  90. <Grid.RowDefinitions>
  91. <RowDefinition Height="60*" />
  92. <RowDefinition Height="10*" />
  93. <RowDefinition Height="955*" />
  94. </Grid.RowDefinitions>
  95. <!-- 标题栏 左:logo 右:可变工具栏 -->
  96. <Grid
  97. x:Name="GridTitle"
  98. Grid.Row="0"
  99. Background="White"
  100. MouseLeftButtonDown="Window_MouseLeftButtonDown">
  101. <Grid Background="{DynamicResource BackTitle}">
  102. <!--<Grid.Background>
  103. <ImageBrush ImageSource="" />
  104. </Grid.Background>-->
  105. <Grid.ColumnDefinitions>
  106. <ColumnDefinition Width="200*" />
  107. <ColumnDefinition Width="926*" />
  108. <ColumnDefinition Width="160*" />
  109. </Grid.ColumnDefinitions>
  110. <!-- LOGO -->
  111. <Grid Grid.Column="0">
  112. <StackPanel
  113. Margin="10,0"
  114. HorizontalAlignment="Left"
  115. Orientation="Horizontal">
  116. <Image
  117. Margin="10"
  118. VerticalAlignment="Center"
  119. Source="./Images/APP.png" />
  120. <TextBlock
  121. x:Name="TxbTitleName"
  122. Margin="10,0,0,0"
  123. HorizontalAlignment="Left"
  124. VerticalAlignment="Center"
  125. FontSize="18"
  126. FontWeight="Bold"
  127. Style="{DynamicResource LogoColor}"
  128. Text="星火微课" />
  129. </StackPanel>
  130. </Grid>
  131. <!-- 录制相关Title 926 -->
  132. <Grid
  133. x:Name="GridRecordingTitle"
  134. Grid.Column="1"
  135. Visibility="Visible">
  136. <Grid.ColumnDefinitions>
  137. <ColumnDefinition Width="200*" />
  138. <ColumnDefinition Width="476*" />
  139. <ColumnDefinition Width="160*" />
  140. <ColumnDefinition Width="160*" />
  141. </Grid.ColumnDefinitions>
  142. <!-- 智能笔连接状态 -->
  143. <Grid Grid.Column="0">
  144. <!--<TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0" />-->
  145. <StackPanel
  146. Margin="0"
  147. HorizontalAlignment="Center"
  148. VerticalAlignment="Center"
  149. Orientation="Horizontal">
  150. <Image
  151. x:Name="ImgPenState"
  152. Width="20"
  153. Style="{DynamicResource TitlePenState}" />
  154. <TextBlock
  155. x:Name="TxbNotConnected"
  156. Margin="5,0,0,0"
  157. Padding="0"
  158. VerticalAlignment="Center"
  159. Background="{x:Null}"
  160. FontSize="14"
  161. FontWeight="Bold"
  162. Style="{DynamicResource PenStateColor}"
  163. Text="未连接" />
  164. </StackPanel>
  165. </Grid>
  166. <!-- 倒计时 -->
  167. <Grid Grid.Column="1">
  168. <Label
  169. Width="2"
  170. Margin="0,15"
  171. HorizontalAlignment="Left"
  172. Background="#FFE5E5E5" />
  173. <StackPanel
  174. Margin="0"
  175. HorizontalAlignment="Center"
  176. VerticalAlignment="Center"
  177. Orientation="Horizontal">
  178. <Image
  179. x:Name="ImgLzImg"
  180. Width="20"
  181. Style="{DynamicResource TitleLZTimeImg}" />
  182. <TextBlock
  183. x:Name="TxbTime"
  184. Margin="10,0"
  185. HorizontalAlignment="Center"
  186. VerticalAlignment="Center"
  187. FontSize="18"
  188. Foreground="#FFFF0000"
  189. Text="00:00" />
  190. <TextBlock
  191. x:Name="TxbType"
  192. Margin="10,0"
  193. HorizontalAlignment="Center"
  194. VerticalAlignment="Center"
  195. FontSize="18"
  196. Style="{DynamicResource TxbMesColor}"
  197. Text="准备就绪" />
  198. </StackPanel>
  199. <Label
  200. Width="2"
  201. Margin="0,15"
  202. HorizontalAlignment="Right"
  203. Background="#FFE5E5E5" />
  204. </Grid>
  205. <!-- 录屏按钮 -->
  206. <Grid Name="StartPauseGrid" Grid.Column="2">
  207. <StackPanel Orientation="Horizontal" />
  208. <Button
  209. x:Name="BtnRecord"
  210. Margin="5,0"
  211. HorizontalAlignment="Stretch"
  212. VerticalAlignment="Center"
  213. Click="BtnRecord_Click"
  214. Cursor="Hand"
  215. FontSize="14"
  216. Template="{DynamicResource SkinBtnRecord}" />
  217. <Button
  218. x:Name="BtnRecordSuspend"
  219. Margin="5,0"
  220. HorizontalAlignment="Stretch"
  221. VerticalAlignment="Center"
  222. Click="BtnRecord_Click"
  223. Cursor="Hand"
  224. FontSize="14"
  225. Template="{DynamicResource SkinBtnRecordSuspend}"
  226. Visibility="Collapsed" />
  227. </Grid>
  228. <Grid Name="StopGrid" Grid.Column="3">
  229. <Button
  230. x:Name="BtnStop"
  231. Margin="5,0"
  232. HorizontalAlignment="Stretch"
  233. VerticalAlignment="Center"
  234. Click="BtnStop_Click"
  235. Cursor="Hand"
  236. FontSize="14"
  237. Template="{DynamicResource SkinBtnRecordStop}" />
  238. </Grid>
  239. </Grid>
  240. <!-- 关闭 -->
  241. <Grid Name="CloseGrid" Grid.Column="2">
  242. <Label
  243. Width="2"
  244. Margin="0,15"
  245. HorizontalAlignment="Left"
  246. Background="#FFE5E5E5" />
  247. <Button
  248. x:Name="BtnClose"
  249. Margin="20,0,10,0"
  250. HorizontalAlignment="Stretch"
  251. VerticalAlignment="Center"
  252. Click="BtnClose_Click"
  253. Cursor="Hand"
  254. FontSize="14"
  255. Template="{DynamicResource SkinBtnClose}" />
  256. </Grid>
  257. <!-- 测试 -->
  258. <Grid Grid.Column="2" Visibility="Collapsed">
  259. <Label
  260. Width="2"
  261. Margin="0,15"
  262. HorizontalAlignment="Left"
  263. Background="#FFE5E5E5" />
  264. <Button
  265. Margin="35,0,15,0"
  266. HorizontalAlignment="Stretch"
  267. VerticalAlignment="Center"
  268. Click="BtnClose_Click"
  269. Cursor="Hand"
  270. FontSize="16">
  271. <Button.Template>
  272. <ControlTemplate TargetType="{x:Type Button}">
  273. <Grid>
  274. <Grid.ColumnDefinitions>
  275. <ColumnDefinition Width="23*" />
  276. <ColumnDefinition Width="72*" />
  277. </Grid.ColumnDefinitions>
  278. <Image
  279. x:Name="ImgSetUp"
  280. Grid.ColumnSpan="2"
  281. Source="/SkinImages/White/Toolbar_LZ_N.png" />
  282. <Label
  283. x:Name="Word"
  284. Grid.Column="1"
  285. HorizontalAlignment="Center"
  286. VerticalAlignment="Center"
  287. Content="关闭程序"
  288. FontSize="{TemplateBinding FontSize}"
  289. Foreground="#FFEFEFEF" />
  290. </Grid>
  291. <ControlTemplate.Triggers>
  292. <Trigger Property="IsMouseOver" Value="True">
  293. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png" />
  294. <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF" />
  295. </Trigger>
  296. </ControlTemplate.Triggers>
  297. </ControlTemplate>
  298. </Button.Template>
  299. </Button>
  300. </Grid>
  301. </Grid>
  302. </Grid>
  303. <Grid Grid.Row="1" />
  304. <!-- 工具栏和录制区域 H965 -->
  305. <Grid Grid.Row="2">
  306. <Grid.ColumnDefinitions>
  307. <ColumnDefinition Width="180*" />
  308. <ColumnDefinition Width="10*" />
  309. <ColumnDefinition Width="1061*" />
  310. </Grid.ColumnDefinitions>
  311. <!-- 工具栏 W200 H955 -->
  312. <Grid
  313. x:Name="GridToolbars"
  314. Grid.Column="0"
  315. Background="White">
  316. <Grid Background="{DynamicResource BackTool}">
  317. <Grid.RowDefinitions>
  318. <RowDefinition Height="160*" />
  319. <RowDefinition Height="85*" />
  320. <RowDefinition Height="85*" />
  321. <RowDefinition Height="85*" />
  322. <RowDefinition Height="85*" />
  323. <RowDefinition Height="85*" />
  324. <RowDefinition Height="85*" />
  325. <RowDefinition Height="85*" />
  326. <RowDefinition Height="85*" />
  327. <RowDefinition Height="115*" />
  328. </Grid.RowDefinitions>
  329. <!-- 头像 -->
  330. <Grid Grid.Row="0">
  331. <!-- 登录状态 -->
  332. <Button
  333. x:Name="BtnLoginType"
  334. HorizontalAlignment="Center"
  335. VerticalAlignment="Center"
  336. Click="BtnLoginType_Click"
  337. Cursor="Hand">
  338. <StackPanel>
  339. <Border
  340. x:Name="ImgHeadImgN"
  341. Width="70"
  342. Height="70"
  343. CornerRadius="50">
  344. <Border.Background>
  345. <ImageBrush ImageSource="/BlackImages/HM_HeadImg_N.png" />
  346. </Border.Background>
  347. </Border>
  348. <Border
  349. x:Name="ImgHeadImg"
  350. Width="70"
  351. Height="70"
  352. CornerRadius="50"
  353. Visibility="Collapsed">
  354. <Border.Background>
  355. <ImageBrush x:Name="ImgHead" ImageSource="/BlackImages/HM_HeadImg.png" />
  356. </Border.Background>
  357. </Border>
  358. <TextBlock
  359. x:Name="TxbLoginType"
  360. Margin="0,10,0,0"
  361. HorizontalAlignment="Center"
  362. FontSize="14"
  363. Style="{DynamicResource LoginTypeColor}"
  364. Text="未登录" />
  365. </StackPanel>
  366. </Button>
  367. </Grid>
  368. <!-- 录屏 -->
  369. <Grid Grid.Row="1">
  370. <Button
  371. x:Name="BtnScreenRecording"
  372. Padding="0"
  373. HorizontalAlignment="Stretch"
  374. VerticalAlignment="Stretch"
  375. HorizontalContentAlignment="Stretch"
  376. VerticalContentAlignment="Stretch"
  377. Click="BtnScreenRecording_Click"
  378. Cursor="Hand"
  379. FontSize="16"
  380. Template="{DynamicResource SkinBtnScreenRecording}" />
  381. </Grid>
  382. <!-- 截图 -->
  383. <Grid Grid.Row="2">
  384. <Button
  385. x:Name="BtnScreenshot"
  386. Padding="0"
  387. HorizontalAlignment="Stretch"
  388. VerticalAlignment="Stretch"
  389. Click="BtnScreenshot_Click"
  390. Cursor="Hand"
  391. FontSize="16"
  392. Template="{DynamicResource SkinBtnScreenshot}" />
  393. </Grid>
  394. <!-- 导入 -->
  395. <Grid Grid.Row="3">
  396. <Button
  397. x:Name="BtnImport"
  398. HorizontalAlignment="Stretch"
  399. VerticalAlignment="Stretch"
  400. Click="BtnImport_Click"
  401. Cursor="Hand"
  402. FontSize="16"
  403. Template="{DynamicResource SkinBtnImport}" />
  404. </Grid>
  405. <!-- 加页 -->
  406. <Grid Grid.Row="4">
  407. <Button
  408. x:Name="BtnAdd"
  409. HorizontalAlignment="Stretch"
  410. VerticalAlignment="Stretch"
  411. Click="BtnAdd_Click"
  412. Cursor="Hand"
  413. FontSize="16"
  414. Template="{DynamicResource SkinBtnAdd}" />
  415. </Grid>
  416. <!-- 打印 -->
  417. <Grid Grid.Row="5">
  418. <Button
  419. x:Name="BtnPrint"
  420. HorizontalAlignment="Stretch"
  421. VerticalAlignment="Stretch"
  422. Click="BtnPrint_Click"
  423. Cursor="Hand"
  424. FontSize="16"
  425. Template="{DynamicResource SkinBtnPrint}" />
  426. </Grid>
  427. <!-- 我的 -->
  428. <Grid Grid.Row="6">
  429. <Button
  430. x:Name="BtnUpload"
  431. HorizontalAlignment="Stretch"
  432. VerticalAlignment="Stretch"
  433. Click="BtnUpload_Click"
  434. Cursor="Hand"
  435. FontSize="16"
  436. Template="{DynamicResource SkinBtnMy}" />
  437. </Grid>
  438. <!-- 检测 -->
  439. <Grid Grid.Row="7">
  440. <Button
  441. x:Name="BtnDevice"
  442. HorizontalAlignment="Stretch"
  443. VerticalAlignment="Stretch"
  444. Click="BtnDevice_Click"
  445. Cursor="Hand"
  446. FontSize="16"
  447. Template="{DynamicResource SkinBtnDevice}" />
  448. </Grid>
  449. <!-- 设置 -->
  450. <Grid Grid.Row="8">
  451. <Button
  452. x:Name="BtnSetUp"
  453. HorizontalAlignment="Stretch"
  454. VerticalAlignment="Stretch"
  455. Click="BtnSetUp_Click"
  456. Cursor="Hand"
  457. FontSize="16"
  458. Template="{DynamicResource SkinBtnSetUp}" />
  459. </Grid>
  460. <!-- 测试 -->
  461. <Grid
  462. Grid.Row="9"
  463. Height="85"
  464. VerticalAlignment="Top"
  465. Visibility="Collapsed">
  466. <Button
  467. HorizontalAlignment="Stretch"
  468. VerticalAlignment="Stretch"
  469. Click="BtnSetUp_Click"
  470. Cursor="Hand"
  471. FontSize="18">
  472. <Button.Template>
  473. <ControlTemplate TargetType="{x:Type Button}">
  474. <Grid>
  475. <Grid.ColumnDefinitions>
  476. <ColumnDefinition Width="100*" />
  477. <ColumnDefinition Width="60*" />
  478. <ColumnDefinition Width="40*" />
  479. </Grid.ColumnDefinitions>
  480. <Image
  481. x:Name="ImgScreenRecording"
  482. Grid.ColumnSpan="3"
  483. Source="/SkinImages/White/Toolbar_SZ.png" />
  484. <Label
  485. x:Name="WordScreenRecording"
  486. Grid.Column="1"
  487. HorizontalAlignment="Center"
  488. VerticalAlignment="Center"
  489. Content="设置"
  490. FontSize="{TemplateBinding FontSize}"
  491. Foreground="#FF333333" />
  492. </Grid>
  493. <ControlTemplate.Triggers>
  494. <Trigger Property="IsMouseOver" Value="True">
  495. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_MI.png" />
  496. </Trigger>
  497. <Trigger Property="IsPressed" Value="True">
  498. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_CL.png" />
  499. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFFFFFFF" />
  500. </Trigger>
  501. <Trigger Property="IsEnabled" Value="False">
  502. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_N.png" />
  503. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFC3C3C3" />
  504. </Trigger>
  505. </ControlTemplate.Triggers>
  506. </ControlTemplate>
  507. </Button.Template>
  508. </Button>
  509. </Grid>
  510. </Grid>
  511. </Grid>
  512. <Grid Grid.Column="1" />
  513. <!-- 主显示区域 -->
  514. <Grid Grid.Column="2">
  515. <!-- 录制区域 -->
  516. <Grid x:Name="GridRecordingArea" Visibility="Visible">
  517. <Grid.RowDefinitions>
  518. <RowDefinition Height="905*" />
  519. <RowDefinition Height="3*" />
  520. <RowDefinition Height="47*" />
  521. </Grid.RowDefinitions>
  522. <!-- 录制区域 -->
  523. <Grid Grid.Row="0">
  524. <!-- 录制区 -->
  525. <Border>
  526. <Grid
  527. x:Name="GridMain"
  528. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  529. Visibility="Visible">
  530. <ScrollViewer
  531. x:Name="ScroMain"
  532. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  533. VerticalScrollBarVisibility="Visible">
  534. <Grid
  535. x:Name="GridM"
  536. Width="auto"
  537. Height="1780"
  538. Margin="0,0,0,0"
  539. Background="#FFFFFF"
  540. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  541. Visibility="Visible">
  542. <Grid>
  543. <Border CornerRadius="5">
  544. <Grid x:Name="Img" Margin="0,0,0,0">
  545. <Grid.Resources>
  546. <TransformGroup x:Key="Imageview">
  547. <ScaleTransform />
  548. <TranslateTransform />
  549. </TransformGroup>
  550. </Grid.Resources>
  551. <!-- 图片表框 -->
  552. <Rectangle
  553. x:Name="RectImgBorder"
  554. Width="300"
  555. Height="300"
  556. Margin="373,175,0,0"
  557. HorizontalAlignment="Left"
  558. VerticalAlignment="Top"
  559. Cursor="SizeAll"
  560. Fill="#00000000"
  561. SnapsToDevicePixels="True"
  562. Stroke="#3f6fff"
  563. StrokeDashArray="4 4"
  564. StrokeThickness="4"
  565. Visibility="Hidden" />
  566. <Image
  567. x:Name="ImgCanvas"
  568. Height="0"
  569. HorizontalAlignment="Left"
  570. VerticalAlignment="Top"
  571. Focusable="True"
  572. MouseDown="PicEMap_MouseDown"
  573. MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown"
  574. MouseMove="imgCanvas_MouseMove"
  575. MouseUp="imgCanvas_MouseUp"
  576. RenderTransform="{StaticResource Imageview}"
  577. Stretch="Fill" />
  578. <!-- 四个点 -->
  579. <Canvas>
  580. <Thumb
  581. x:Name="RectLeftUp"
  582. Canvas.Left="314"
  583. Canvas.Top="157"
  584. Width="20"
  585. Height="20"
  586. HorizontalAlignment="Left"
  587. VerticalAlignment="Top"
  588. Background="White"
  589. BorderBrush="#3f6fff"
  590. BorderThickness="2"
  591. Cursor="SizeNWSE"
  592. DragCompleted="RectRightUp_DragCompleted"
  593. DragDelta="RectRightUp_DragDelta"
  594. DragStarted="RectRightUp_DragStarted"
  595. Visibility="Hidden" />
  596. <Thumb
  597. x:Name="RectRightUp"
  598. Canvas.Left="775"
  599. Canvas.Top="157"
  600. Width="20"
  601. Height="20"
  602. HorizontalAlignment="Left"
  603. VerticalAlignment="Top"
  604. Background="White"
  605. BorderBrush="#3f6fff"
  606. BorderThickness="2"
  607. Cursor="SizeNESW"
  608. DragCompleted="RectRightUp_DragCompleted"
  609. DragDelta="RectRightUp_DragDelta"
  610. DragStarted="RectRightUp_DragStarted"
  611. Visibility="Hidden" />
  612. <Thumb
  613. x:Name="RectLeftDown"
  614. Canvas.Left="314"
  615. Canvas.Top="508"
  616. Width="20"
  617. Height="20"
  618. HorizontalAlignment="Left"
  619. VerticalAlignment="Top"
  620. Background="White"
  621. BorderBrush="#3f6fff"
  622. BorderThickness="2"
  623. Cursor="SizeNESW"
  624. DragCompleted="RectRightUp_DragCompleted"
  625. DragDelta="RectRightUp_DragDelta"
  626. DragStarted="RectRightUp_DragStarted"
  627. Visibility="Hidden" />
  628. <Thumb
  629. x:Name="RectRightDown"
  630. Canvas.Left="775"
  631. Canvas.Top="508"
  632. Width="20"
  633. Height="20"
  634. HorizontalAlignment="Left"
  635. VerticalAlignment="Top"
  636. Background="White"
  637. BorderBrush="#3f6fff"
  638. BorderThickness="2"
  639. Cursor="SizeNWSE"
  640. DragCompleted="RectRightUp_DragCompleted"
  641. DragDelta="RectRightUp_DragDelta"
  642. DragStarted="RectRightUp_DragStarted"
  643. Visibility="Hidden" />
  644. </Canvas>
  645. </Grid>
  646. </Border>
  647. </Grid>
  648. <Image
  649. x:Name="ImgDocumentation"
  650. Grid.RowSpan="2"
  651. Stretch="Fill"
  652. Visibility="Visible" />
  653. <Image
  654. x:Name="ImgPpt"
  655. VerticalAlignment="Top"
  656. Visibility="Visible" />
  657. <!-- 导入图片 -->
  658. <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#3f6fff" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed" />-->
  659. <InkCanvas
  660. x:Name="BlackboardCanvas"
  661. Grid.Row="0"
  662. Background="Transparent"
  663. Visibility="Collapsed" />
  664. <!-- 摄像头 -->
  665. </Grid>
  666. </ScrollViewer>
  667. <Image
  668. x:Name="ImgPlayerLeft"
  669. Width="172"
  670. Height="124"
  671. Margin="10,7,10,10"
  672. HorizontalAlignment="Left"
  673. VerticalAlignment="Top"
  674. RenderTransformOrigin="0.5,0.5"
  675. Visibility="Collapsed">
  676. <Image.RenderTransform>
  677. <ScaleTransform ScaleX="-1" />
  678. </Image.RenderTransform>
  679. </Image>
  680. <Image
  681. x:Name="ImgPlayerRight"
  682. Width="172"
  683. Height="124"
  684. Margin="10,7,26,10"
  685. HorizontalAlignment="Right"
  686. VerticalAlignment="Top"
  687. RenderTransformOrigin="0.5,0.5"
  688. Visibility="Collapsed">
  689. <Image.RenderTransform>
  690. <ScaleTransform ScaleX="-1" />
  691. </Image.RenderTransform>
  692. </Image>
  693. <Image
  694. x:Name="ImgPlayerLeftUnder"
  695. Width="172"
  696. Height="124"
  697. Margin="10,7,10,10"
  698. HorizontalAlignment="Left"
  699. VerticalAlignment="Bottom"
  700. RenderTransformOrigin="0.5,0.5"
  701. Visibility="Collapsed">
  702. <Image.RenderTransform>
  703. <ScaleTransform ScaleX="-1" />
  704. </Image.RenderTransform>
  705. </Image>
  706. <Image
  707. x:Name="ImgPlayerRightUnder"
  708. Width="172"
  709. Height="124"
  710. Margin="10,7,26,10"
  711. HorizontalAlignment="Right"
  712. VerticalAlignment="Bottom"
  713. RenderTransformOrigin="0.5,0.5"
  714. Visibility="Collapsed">
  715. <Image.RenderTransform>
  716. <ScaleTransform ScaleX="-1" />
  717. </Image.RenderTransform>
  718. </Image>
  719. </Grid>
  720. </Border>
  721. </Grid>
  722. <Grid Grid.Row="1" />
  723. <!-- 底部工具栏 -->
  724. <Grid
  725. x:Name="GridBottomToolbars"
  726. Grid.Row="2"
  727. Background="#FFFFFFFF"
  728. Visibility="Visible">
  729. <Grid.ColumnDefinitions>
  730. <ColumnDefinition Width="200" />
  731. <ColumnDefinition Width="*" />
  732. <ColumnDefinition Width="200" />
  733. </Grid.ColumnDefinitions>
  734. <!-- 页码 -->
  735. <Grid
  736. x:Name="GridPage"
  737. Grid.Row="0"
  738. Grid.Column="0"
  739. HorizontalAlignment="Left"
  740. VerticalAlignment="Center"
  741. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  742. Visibility="Collapsed">
  743. <StackPanel
  744. Grid.Row="0"
  745. Height="30"
  746. Margin="0,0,0,0"
  747. HorizontalAlignment="Center"
  748. VerticalAlignment="Bottom"
  749. Background="Transparent"
  750. Orientation="Horizontal">
  751. <Label
  752. Margin="5,0,0,0"
  753. VerticalAlignment="Center"
  754. Content="页码:" />
  755. <Button
  756. x:Name="LastButton"
  757. Width="28"
  758. Height="20"
  759. Click="last_button_Click"
  760. Cursor="Hand">
  761. <StackPanel>
  762. <Image
  763. Width="16"
  764. Height="12"
  765. Source=".\Images\class_p1.png" />
  766. </StackPanel>
  767. </Button>
  768. <Grid
  769. Width="60"
  770. Background="Transparent"
  771. MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  772. <StackPanel
  773. HorizontalAlignment="Center"
  774. Background="Transparent"
  775. Orientation="Horizontal">
  776. <TextBlock
  777. x:Name="TxbCurrpage"
  778. Margin="0"
  779. HorizontalAlignment="Center"
  780. VerticalAlignment="Center"
  781. FontSize="14"
  782. Text="{Binding currpage}"
  783. TextAlignment="Center" />
  784. <TextBlock
  785. HorizontalAlignment="Center"
  786. VerticalAlignment="Center"
  787. FontSize="14"
  788. Text="/"
  789. TextAlignment="Center" />
  790. <TextBlock
  791. x:Name="TxbTotalpage"
  792. HorizontalAlignment="Center"
  793. VerticalAlignment="Center"
  794. FontSize="14"
  795. Text="{Binding pagenum}"
  796. TextAlignment="Center" />
  797. </StackPanel>
  798. </Grid>
  799. <Button
  800. x:Name="NextBtn"
  801. Width="28"
  802. Height="20"
  803. Background="Transparent"
  804. Click="next_btn_Click"
  805. Cursor="Hand">
  806. <StackPanel>
  807. <Image
  808. Width="16"
  809. Height="12"
  810. Source=".\Images\class_p2.png" />
  811. </StackPanel>
  812. </Button>
  813. </StackPanel>
  814. </Grid>
  815. <StackPanel
  816. Grid.Column="1"
  817. Margin="5"
  818. HorizontalAlignment="Right"
  819. VerticalAlignment="Center"
  820. Orientation="Horizontal">
  821. <TextBlock
  822. Margin="5,0,0,0"
  823. Padding="0,0,0,0"
  824. VerticalAlignment="Center"
  825. FontSize="12"
  826. Text="颜色: " />
  827. <Button
  828. x:Name="BtnWhite"
  829. Width="20"
  830. Height="20"
  831. Margin="0,2,0,0"
  832. Background="#FFFFFF"
  833. Click="BtnWhite_Click"
  834. Cursor="Hand"
  835. Visibility="Collapsed" />
  836. <Border
  837. Width="20"
  838. Height="20"
  839. Margin="5,2,0,0">
  840. <Button
  841. x:Name="BtnRed"
  842. Width="20"
  843. Height="20"
  844. Margin="1,1,1,1"
  845. HorizontalAlignment="Center"
  846. Background="#FF0000"
  847. Click="BtnRed_Click"
  848. Cursor="Hand"
  849. Style="{StaticResource NoMouseOverButtonStyle}">
  850. <Image
  851. x:Name="ImgRed"
  852. Width="12"
  853. Source=".\Images\microLessonSystem_999.png"
  854. Visibility="Visible" />
  855. </Button>
  856. </Border>
  857. <Border
  858. Width="20"
  859. Height="20"
  860. Margin="5,2,0,0">
  861. <Button
  862. x:Name="BtnGray"
  863. Width="20"
  864. Height="20"
  865. Margin="1,1,1,1"
  866. Background="#333333"
  867. Click="BtnGray_Click"
  868. Cursor="Hand"
  869. Style="{StaticResource NoMouseOverButtonStyle}">
  870. <Image
  871. x:Name="ImgGray"
  872. Width="12"
  873. Source=".\Images\microLessonSystem_999.png"
  874. Visibility="Collapsed" />
  875. </Button>
  876. </Border>
  877. <Border
  878. Width="20"
  879. Height="20"
  880. Margin="5,2,0,0">
  881. <Button
  882. x:Name="BtnCyanBlue"
  883. Width="20"
  884. Height="20"
  885. Margin="1,1,1,1"
  886. Background="#63D600"
  887. Click="BtnCyanBlue_Click"
  888. Cursor="Hand"
  889. Style="{StaticResource NoMouseOverButtonStyle}">
  890. <Image
  891. x:Name="ImgCyanBlue"
  892. Width="12"
  893. Source=".\Images\microLessonSystem_999.png"
  894. Visibility="Collapsed" />
  895. </Button>
  896. </Border>
  897. <Border
  898. Width="20"
  899. Height="20"
  900. Margin="5,2,0,0">
  901. <Button
  902. x:Name="BtnYellow"
  903. Width="20"
  904. Height="20"
  905. Margin="1,1,1,1"
  906. Background="#FFBC00"
  907. Click="BtnYellow_Click"
  908. Cursor="Hand"
  909. Style="{StaticResource NoMouseOverButtonStyle}">
  910. <Image
  911. x:Name="ImgYellow"
  912. Width="12"
  913. Source=".\Images\microLessonSystem_999.png"
  914. Visibility="Collapsed" />
  915. </Button>
  916. </Border>
  917. <Border
  918. Width="20"
  919. Height="20"
  920. Margin="5,2,0,0">
  921. <Button
  922. x:Name="BtnBlue"
  923. Width="20"
  924. Height="20"
  925. Margin="1,1,1,1"
  926. Background="#00B4FC"
  927. Click="BtnBlue_Click"
  928. Cursor="Hand"
  929. Style="{StaticResource NoMouseOverButtonStyle}">
  930. <Image
  931. x:Name="ImgBlue"
  932. Width="12"
  933. Source=".\Images\microLessonSystem_999.png"
  934. Visibility="Collapsed" />
  935. </Button>
  936. </Border>
  937. <TextBlock
  938. Margin="5,0,0,0"
  939. Padding="0,0,0,0"
  940. VerticalAlignment="Center"
  941. FontSize="12"
  942. Text="粗细: " />
  943. <RadioButton
  944. x:Name="RbnFine"
  945. Margin="0"
  946. VerticalAlignment="Center"
  947. Click="RbnFine_Click"
  948. Content=" 细"
  949. Cursor="Hand"
  950. FontSize="12"
  951. IsChecked="True"
  952. Style="{StaticResource RadBase}" />
  953. <RadioButton
  954. x:Name="RbnIn"
  955. Margin="5,0,0,0"
  956. VerticalAlignment="Center"
  957. Click="RbnIn_Click"
  958. Content=" 中"
  959. Cursor="Hand"
  960. FontSize="12"
  961. Style="{StaticResource RadBase}" />
  962. <RadioButton
  963. x:Name="RbnCrude"
  964. Margin="5,0,0,0"
  965. VerticalAlignment="Center"
  966. Click="RbnCrude_Click"
  967. Content=" 粗"
  968. Cursor="Hand"
  969. FontSize="12"
  970. Style="{StaticResource RadBase}" />
  971. </StackPanel>
  972. <StackPanel
  973. Grid.Column="2"
  974. Margin="5"
  975. HorizontalAlignment="Right"
  976. VerticalAlignment="Center"
  977. Orientation="Horizontal">
  978. <TextBlock
  979. Padding="5,0,0,0"
  980. VerticalAlignment="Center"
  981. FontSize="12"
  982. Text="摄像头: " />
  983. <RadioButton
  984. x:Name="RbnOpen"
  985. Margin="0,0,0,0"
  986. VerticalAlignment="Center"
  987. Click="RbnOpen_Click"
  988. Content=" 开"
  989. Cursor="Hand"
  990. FontSize="12"
  991. Style="{StaticResource RadBase}" />
  992. <RadioButton
  993. x:Name="RbnTurnOff"
  994. Margin="5,0,10,0"
  995. VerticalAlignment="Center"
  996. Click="RbnTurnOff_Click"
  997. Content=" 关"
  998. Cursor="Hand"
  999. FontSize="12"
  1000. IsChecked="True"
  1001. Style="{StaticResource RadBase}" />
  1002. </StackPanel>
  1003. </Grid>
  1004. </Grid>
  1005. <!-- 设置 955 -->
  1006. <ScrollViewer
  1007. x:Name="GridSetUp"
  1008. VerticalScrollBarVisibility="Auto"
  1009. Visibility="Collapsed">
  1010. <Grid Height="650">
  1011. <Grid Background="#FFFFFF">
  1012. <Grid.RowDefinitions>
  1013. <RowDefinition Height="146" />
  1014. <RowDefinition Height="160*" />
  1015. <RowDefinition Height="100*" />
  1016. <RowDefinition Height="200*" />
  1017. <RowDefinition Height="90*" />
  1018. <RowDefinition Height="205*" />
  1019. </Grid.RowDefinitions>
  1020. <!-- 更换皮肤 h200 -->
  1021. <Grid Grid.Row="0" Margin="100,0">
  1022. <Grid.RowDefinitions>
  1023. <RowDefinition Height="20" />
  1024. <RowDefinition Height="20" />
  1025. <RowDefinition Height="140" />
  1026. <RowDefinition Height="20" />
  1027. </Grid.RowDefinitions>
  1028. <Grid Grid.Row="1" Grid.Column="0">
  1029. <Grid.ColumnDefinitions>
  1030. <ColumnDefinition Width="100" />
  1031. <ColumnDefinition Width="646*" />
  1032. </Grid.ColumnDefinitions>
  1033. <TextBlock
  1034. Grid.Column="0"
  1035. HorizontalAlignment="Right"
  1036. VerticalAlignment="Center"
  1037. FontSize="16"
  1038. Foreground="#333333"
  1039. Text="更换皮肤" />
  1040. </Grid>
  1041. <Grid Grid.Row="2">
  1042. <Grid.ColumnDefinitions>
  1043. <ColumnDefinition Width="100" />
  1044. <ColumnDefinition Width="207*" />
  1045. <ColumnDefinition Width="207*" />
  1046. <ColumnDefinition Width="207*" />
  1047. <ColumnDefinition Width="120*" />
  1048. </Grid.ColumnDefinitions>
  1049. <Grid.RowDefinitions>
  1050. <RowDefinition Height="80" />
  1051. <RowDefinition Height="36" />
  1052. </Grid.RowDefinitions>
  1053. <Grid
  1054. Grid.Row="0"
  1055. Grid.Column="1"
  1056. Margin="5,0">
  1057. <Button
  1058. x:Name="BtnSkinWhite"
  1059. HorizontalAlignment="Stretch"
  1060. VerticalAlignment="Center"
  1061. Click="BtnSkinWhite_Click"
  1062. Cursor="Hand">
  1063. <Button.Template>
  1064. <ControlTemplate TargetType="{x:Type Button}">
  1065. <StackPanel>
  1066. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_White.png" />
  1067. </StackPanel>
  1068. <ControlTemplate.Triggers>
  1069. <Trigger Property="IsMouseOver" Value="True">
  1070. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_White_MI.png" />
  1071. </Trigger>
  1072. </ControlTemplate.Triggers>
  1073. </ControlTemplate>
  1074. </Button.Template>
  1075. </Button>
  1076. <Image
  1077. x:Name="SkinSelectWhite"
  1078. Margin="140,0,15,15"
  1079. HorizontalAlignment="Right"
  1080. VerticalAlignment="Bottom"
  1081. Source="/SkinImages/Skin/Skin_Select.png" />
  1082. </Grid>
  1083. <Grid
  1084. Grid.Row="0"
  1085. Grid.Column="2"
  1086. Margin="5,0">
  1087. <Button
  1088. x:Name="BtnSkinTechnologyBlue"
  1089. HorizontalAlignment="Stretch"
  1090. VerticalAlignment="Center"
  1091. Click="BtnSkinTechnologyBlue_Click"
  1092. Cursor="Hand">
  1093. <Button.Template>
  1094. <ControlTemplate TargetType="{x:Type Button}">
  1095. <StackPanel>
  1096. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
  1097. </StackPanel>
  1098. <ControlTemplate.Triggers>
  1099. <Trigger Property="IsMouseOver" Value="True">
  1100. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png" />
  1101. </Trigger>
  1102. </ControlTemplate.Triggers>
  1103. </ControlTemplate>
  1104. </Button.Template>
  1105. </Button>
  1106. <Image
  1107. x:Name="SkinSelectTechnologyBlue"
  1108. Margin="140,0,15,15"
  1109. HorizontalAlignment="Right"
  1110. VerticalAlignment="Bottom"
  1111. Source="/SkinImages/Skin/Skin_Select.png"
  1112. Visibility="Hidden" />
  1113. </Grid>
  1114. <Grid Grid.Row="1" Grid.Column="1">
  1115. <TextBlock
  1116. HorizontalAlignment="Center"
  1117. VerticalAlignment="Center"
  1118. FontSize="16"
  1119. Foreground="#333333"
  1120. Text="经典白" />
  1121. </Grid>
  1122. <Grid Grid.Row="1" Grid.Column="2">
  1123. <TextBlock
  1124. HorizontalAlignment="Center"
  1125. VerticalAlignment="Center"
  1126. FontSize="16"
  1127. Foreground="#333333"
  1128. Text="科技蓝" />
  1129. </Grid>
  1130. </Grid>
  1131. <Label
  1132. Grid.Row="3"
  1133. Height="1"
  1134. VerticalAlignment="Bottom"
  1135. Background="#FFEFEFEF" />
  1136. </Grid>
  1137. <!-- 视频格式 摄像头位置 h200 -->
  1138. <Grid Grid.Row="1" Margin="100,0">
  1139. <Grid>
  1140. <Grid.ColumnDefinitions>
  1141. <ColumnDefinition Width="100" />
  1142. <ColumnDefinition Width="215*" />
  1143. <ColumnDefinition Width="215*" />
  1144. <ColumnDefinition Width="216*" />
  1145. </Grid.ColumnDefinitions>
  1146. <Grid.RowDefinitions>
  1147. <RowDefinition Height="20*" />
  1148. <RowDefinition Height="60*" />
  1149. <RowDefinition Height="60*" />
  1150. <RowDefinition Height="20*" />
  1151. </Grid.RowDefinitions>
  1152. <Grid Grid.Row="1" Grid.Column="0">
  1153. <TextBlock
  1154. Grid.Column="0"
  1155. HorizontalAlignment="Right"
  1156. VerticalAlignment="Center"
  1157. FontSize="16"
  1158. Foreground="#333333"
  1159. Text="视频格式" />
  1160. </Grid>
  1161. <Grid Grid.Row="1" Grid.Column="1">
  1162. <StackPanel
  1163. Margin="15,0,0,0"
  1164. HorizontalAlignment="Left"
  1165. VerticalAlignment="Center"
  1166. Orientation="Horizontal">
  1167. <RadioButton
  1168. x:Name="RbnMp4"
  1169. VerticalAlignment="Top"
  1170. Content=" MP4"
  1171. Cursor="Hand"
  1172. FontSize="16"
  1173. Foreground="#333333"
  1174. IsChecked="True"
  1175. Style="{StaticResource RadBase}" />
  1176. <RadioButton
  1177. x:Name="RbnFlv"
  1178. Margin="15,0,0,0"
  1179. VerticalAlignment="Top"
  1180. Content=" FLV"
  1181. Cursor="Hand"
  1182. FontSize="16"
  1183. Foreground="#333333"
  1184. Style="{StaticResource RadBase}"
  1185. Visibility="Collapsed" />
  1186. <RadioButton
  1187. x:Name="RbnAvi"
  1188. Margin="15,0,0,0"
  1189. Content=" AVI"
  1190. Cursor="Hand"
  1191. FontSize="16"
  1192. Foreground="#333333"
  1193. Style="{StaticResource RadBase}"
  1194. Visibility="Collapsed" />
  1195. </StackPanel>
  1196. </Grid>
  1197. <Grid Grid.Row="1" Grid.Column="2">
  1198. <TextBlock
  1199. HorizontalAlignment="Right"
  1200. VerticalAlignment="Center"
  1201. FontSize="16"
  1202. Foreground="#333333"
  1203. Text="头像位置" />
  1204. </Grid>
  1205. <Grid Grid.Row="1" Grid.Column="3">
  1206. <StackPanel
  1207. Margin="15,0,0,0"
  1208. HorizontalAlignment="Left"
  1209. VerticalAlignment="Center"
  1210. Orientation="Horizontal">
  1211. <RadioButton
  1212. x:Name="RbnLeft"
  1213. Margin="0"
  1214. HorizontalAlignment="Left"
  1215. VerticalAlignment="Center"
  1216. Content=" 左上"
  1217. Cursor="Hand"
  1218. FontSize="16"
  1219. Foreground="#333333"
  1220. GroupName="RbtnCamera"
  1221. Style="{StaticResource RadBase}" />
  1222. <RadioButton
  1223. x:Name="RbnRight"
  1224. Margin="15,0,0,0"
  1225. HorizontalAlignment="Right"
  1226. VerticalAlignment="Center"
  1227. Content=" 右上"
  1228. Cursor="Hand"
  1229. FontSize="16"
  1230. Foreground="#333333"
  1231. GroupName="RbtnCamera"
  1232. IsChecked="True"
  1233. Style="{StaticResource RadBase}" />
  1234. </StackPanel>
  1235. </Grid>
  1236. <Grid Grid.Row="2" Grid.Column="3">
  1237. <StackPanel
  1238. Margin="15,0,0,0"
  1239. HorizontalAlignment="Left"
  1240. VerticalAlignment="Center"
  1241. Orientation="Horizontal">
  1242. <RadioButton
  1243. x:Name="RbnLeftUnder"
  1244. HorizontalAlignment="Left"
  1245. VerticalAlignment="Center"
  1246. Content=" 左下"
  1247. Cursor="Hand"
  1248. FontSize="16"
  1249. Foreground="#333333"
  1250. GroupName="RbtnCamera"
  1251. Style="{StaticResource RadBase}" />
  1252. <RadioButton
  1253. x:Name="RbnRightUnder"
  1254. Margin="15,0"
  1255. HorizontalAlignment="Left"
  1256. VerticalAlignment="Center"
  1257. Content=" 右下"
  1258. Cursor="Hand"
  1259. FontSize="16"
  1260. Foreground="#333333"
  1261. GroupName="RbtnCamera"
  1262. Style="{StaticResource RadBase}" />
  1263. </StackPanel>
  1264. </Grid>
  1265. <Grid Grid.Row="2" Grid.Column="0">
  1266. <TextBlock
  1267. HorizontalAlignment="Right"
  1268. VerticalAlignment="Center"
  1269. FontSize="16"
  1270. Foreground="#333333"
  1271. Text="录屏工具栏" />
  1272. </Grid>
  1273. <Grid Grid.Row="2" Grid.Column="1">
  1274. <StackPanel
  1275. Margin="15,0,0,0"
  1276. HorizontalAlignment="Left"
  1277. VerticalAlignment="Center"
  1278. Orientation="Horizontal">
  1279. <RadioButton
  1280. x:Name="RbnHide"
  1281. VerticalAlignment="Top"
  1282. Content=" 隐藏"
  1283. Cursor="Hand"
  1284. FontSize="16"
  1285. Foreground="#333333"
  1286. IsChecked="True"
  1287. Style="{StaticResource RadBase}" />
  1288. <RadioButton
  1289. x:Name="Rbnvisi"
  1290. Margin="15,0,0,0"
  1291. VerticalAlignment="Top"
  1292. Content=" 显示"
  1293. Cursor="Hand"
  1294. FontSize="16"
  1295. Foreground="#333333"
  1296. Style="{StaticResource RadBase}" />
  1297. </StackPanel>
  1298. </Grid>
  1299. <Grid Grid.Row="2" Grid.Column="2" />
  1300. </Grid>
  1301. <Label
  1302. Height="1"
  1303. VerticalAlignment="Bottom"
  1304. Background="#FFEFEFEF" />
  1305. </Grid>
  1306. <!-- 地址修改 h305 -->
  1307. <Grid Grid.Row="2" Margin="100,0">
  1308. <Grid>
  1309. <Grid.ColumnDefinitions>
  1310. <ColumnDefinition Width="100" />
  1311. <ColumnDefinition Width="430*" />
  1312. <ColumnDefinition Width="215*" />
  1313. </Grid.ColumnDefinitions>
  1314. <Grid.RowDefinitions>
  1315. <RowDefinition Height="20*" />
  1316. <RowDefinition Height="60*" />
  1317. <RowDefinition Height="20*" />
  1318. </Grid.RowDefinitions>
  1319. <!-- 地址 废弃2021年7月9日赵耀 -->
  1320. <Grid Visibility="Collapsed" />
  1321. <Grid Grid.Row="1" Grid.Column="0">
  1322. <TextBlock
  1323. Padding="0,0,0,0"
  1324. HorizontalAlignment="Right"
  1325. VerticalAlignment="Center"
  1326. FontSize="16"
  1327. Foreground="#333333"
  1328. Text="文件路径" />
  1329. </Grid>
  1330. <Grid Grid.Row="1" Grid.Column="1">
  1331. <Grid>
  1332. <Border
  1333. Height="30"
  1334. Margin="10,0,0,0"
  1335. BorderBrush="#FFE3E3E3"
  1336. BorderThickness="1"
  1337. CornerRadius="1">
  1338. <Label
  1339. x:Name="TxbStoragePath"
  1340. Margin="10,0"
  1341. Background="#FFFFFF"
  1342. BorderBrush="{x:Null}"
  1343. BorderThickness="0"
  1344. Content="D:\"
  1345. FontSize="14"
  1346. Foreground="#333333" />
  1347. </Border>
  1348. </Grid>
  1349. </Grid>
  1350. <Grid Grid.Row="1" Grid.Column="2">
  1351. <Grid.ColumnDefinitions>
  1352. <ColumnDefinition Width="76" />
  1353. <ColumnDefinition Width="76" />
  1354. </Grid.ColumnDefinitions>
  1355. <!-- 浏览按钮 -->
  1356. <Button
  1357. x:Name="BtnBrowse"
  1358. Grid.Column="0"
  1359. Width="66"
  1360. Height="30"
  1361. HorizontalAlignment="Stretch"
  1362. VerticalAlignment="Stretch"
  1363. Background="#3f6fff"
  1364. Click="BtnBrowse_Click"
  1365. Content="浏览"
  1366. Cursor="Hand"
  1367. FontSize="14"
  1368. Foreground="#FFFFFF" />
  1369. <!-- 打开按钮 -->
  1370. <Button
  1371. x:Name="BtnOpen"
  1372. Grid.Column="1"
  1373. Width="66"
  1374. Height="30"
  1375. HorizontalAlignment="Stretch"
  1376. VerticalAlignment="Stretch"
  1377. Background="#3f6fff"
  1378. Click="btnOpen_Click"
  1379. Content="打开"
  1380. Cursor="Hand"
  1381. FontSize="14"
  1382. Foreground="#FFFFFF" />
  1383. </Grid>
  1384. </Grid>
  1385. <Label
  1386. Height="1"
  1387. VerticalAlignment="Bottom"
  1388. Background="#FFEFEFEF" />
  1389. </Grid>
  1390. <!-- 版权 快捷键 版本号 h200 -->
  1391. <Grid Grid.Row="3" Margin="100,0">
  1392. <Grid.ColumnDefinitions>
  1393. <ColumnDefinition Width="100" />
  1394. <ColumnDefinition Width="215*" />
  1395. <ColumnDefinition Width="215*" />
  1396. <ColumnDefinition Width="215*" />
  1397. </Grid.ColumnDefinitions>
  1398. <Grid.RowDefinitions>
  1399. <RowDefinition Height="20*" />
  1400. <RowDefinition Height="60*" />
  1401. <RowDefinition Height="60*" />
  1402. <RowDefinition Height="60*" />
  1403. </Grid.RowDefinitions>
  1404. <Grid Grid.Row="1" Grid.Column="0">
  1405. <TextBlock
  1406. Padding="0,0,0,0"
  1407. HorizontalAlignment="Right"
  1408. VerticalAlignment="Center"
  1409. FontSize="16"
  1410. Foreground="#FF666666"
  1411. Text="录屏快捷键" />
  1412. </Grid>
  1413. <Grid
  1414. Grid.Row="1"
  1415. Grid.Column="1"
  1416. Grid.ColumnSpan="3">
  1417. <TextBlock
  1418. Margin="20,0,0,0"
  1419. VerticalAlignment="Center"
  1420. FontSize="16"
  1421. Foreground="#FF666666"
  1422. Text="开始/暂停:Ctrl+F5 停止:Ctrl+F6 退出讲评:鼠标右键" />
  1423. </Grid>
  1424. <Grid Grid.Row="2" Grid.Column="0">
  1425. <TextBlock
  1426. HorizontalAlignment="Right"
  1427. VerticalAlignment="Center"
  1428. FontSize="16"
  1429. Foreground="#FF666666"
  1430. Text="版权所有" />
  1431. </Grid>
  1432. <Grid
  1433. Grid.Row="2"
  1434. Grid.Column="1"
  1435. Grid.ColumnSpan="3">
  1436. <TextBlock
  1437. Margin="20,0,0,0"
  1438. VerticalAlignment="Center"
  1439. FontSize="16"
  1440. Foreground="#FF666666"
  1441. Text="河南星火燎原软件科技有限公司" />
  1442. </Grid>
  1443. <Grid Grid.Row="3" Grid.Column="0">
  1444. <TextBlock
  1445. Margin="0,0,0,0"
  1446. HorizontalAlignment="Right"
  1447. VerticalAlignment="Center"
  1448. FontSize="16"
  1449. Foreground="#FF666666"
  1450. Text="版本" />
  1451. </Grid>
  1452. <Grid Grid.Row="3" Grid.Column="1">
  1453. <TextBlock
  1454. x:Name="Txbv"
  1455. Margin="20,0,0,0"
  1456. VerticalAlignment="Center"
  1457. FontSize="16"
  1458. Foreground="#FF666666"
  1459. Text="V0.0.0" />
  1460. </Grid>
  1461. </Grid>
  1462. <!-- 按钮 h50 -->
  1463. <Grid Grid.Row="4" Margin="100,0">
  1464. <Grid.ColumnDefinitions>
  1465. <ColumnDefinition Width="215*" />
  1466. <ColumnDefinition Width="530*" />
  1467. <ColumnDefinition Width="180*" />
  1468. </Grid.ColumnDefinitions>
  1469. <Grid.RowDefinitions>
  1470. <RowDefinition Height="50*" />
  1471. </Grid.RowDefinitions>
  1472. <Grid Grid.Column="2">
  1473. <!-- 保存 -->
  1474. <Button
  1475. x:Name="BtnSave"
  1476. Width="76"
  1477. Height="30"
  1478. HorizontalAlignment="Stretch"
  1479. VerticalAlignment="Center"
  1480. Background="#3f6fff"
  1481. Click="BtnSave_Click"
  1482. Content="保存"
  1483. Cursor="Hand"
  1484. FontSize="14"
  1485. Foreground="#FFFFFF" />
  1486. </Grid>
  1487. <Grid
  1488. Grid.Row="0"
  1489. Grid.Column="0"
  1490. Visibility="Collapsed">
  1491. <TextBlock
  1492. Margin="0,30,0,0"
  1493. HorizontalAlignment="Right"
  1494. FontSize="16"
  1495. Foreground="#333333"
  1496. Text="设备"
  1497. Visibility="Hidden" />
  1498. <TextBlock
  1499. x:Name="TxbNotConnecteds"
  1500. Margin="30,30,0,0"
  1501. FontSize="14"
  1502. Foreground="#333333"
  1503. Text="未连接"
  1504. Visibility="Hidden" />
  1505. </Grid>
  1506. </Grid>
  1507. </Grid>
  1508. </Grid>
  1509. </ScrollViewer>
  1510. <!-- 我的 -->
  1511. <Grid
  1512. x:Name="GridMyVideo"
  1513. Margin="0"
  1514. Background="White"
  1515. Visibility="Collapsed">
  1516. <Grid.RowDefinitions>
  1517. <RowDefinition Height="905*" />
  1518. <RowDefinition Height="50*" />
  1519. </Grid.RowDefinitions>
  1520. <Label
  1521. x:Name="LblVideoMess"
  1522. Grid.Row="0"
  1523. Margin="0,0,0,100"
  1524. HorizontalAlignment="Center"
  1525. VerticalAlignment="Center"
  1526. Content="暂无微课录制信息,请录制并等待保存完成后重试!"
  1527. FontSize="20"
  1528. Visibility="Hidden" />
  1529. <Button
  1530. x:Name="BtnVideoUpPage"
  1531. Grid.Row="1"
  1532. Width="60"
  1533. Margin="0,0,150,12"
  1534. HorizontalAlignment="Center"
  1535. VerticalAlignment="Bottom"
  1536. Background="{x:Null}"
  1537. BorderBrush="{x:Null}"
  1538. Click="BtnVideoUpPage_Click"
  1539. Content="上一页"
  1540. Cursor="Hand"
  1541. FontSize="16"
  1542. Foreground="#FF333333" />
  1543. <Label
  1544. x:Name="LblVideoPageNum"
  1545. Grid.Row="1"
  1546. Margin="0,0,0,10"
  1547. HorizontalAlignment="Center"
  1548. VerticalAlignment="Bottom"
  1549. Content="100/100"
  1550. FontSize="14"
  1551. Foreground="#FF333333" />
  1552. <Button
  1553. x:Name="BtnVideoDownPage"
  1554. Grid.Row="1"
  1555. Width="60"
  1556. Margin="150,0,0,12"
  1557. HorizontalAlignment="Center"
  1558. VerticalAlignment="Bottom"
  1559. Background="{x:Null}"
  1560. BorderBrush="{x:Null}"
  1561. Click="BtnVideoDownPage_Click"
  1562. Content="下一页"
  1563. Cursor="Hand"
  1564. FontSize="16"
  1565. Foreground="#FF333333" />
  1566. </Grid>
  1567. <!-- 打印 -->
  1568. <Grid
  1569. x:Name="GridPrintContent"
  1570. Background="White"
  1571. Visibility="Collapsed">
  1572. <Grid.RowDefinitions>
  1573. <RowDefinition Height="905*" />
  1574. <RowDefinition Height="50*" />
  1575. </Grid.RowDefinitions>
  1576. <Grid Grid.Row="0">
  1577. <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
  1578. <ScrollViewer VerticalScrollBarVisibility="Visible">
  1579. <Image x:Name="ImgPri" />
  1580. </ScrollViewer>
  1581. </Border>
  1582. </Grid>
  1583. </Grid>
  1584. </Grid>
  1585. </Grid>
  1586. </Grid>
  1587. <!-- 打印相关 -->
  1588. <Border
  1589. x:Name="GridPrintingTitle"
  1590. Width="446"
  1591. Height="108"
  1592. BorderBrush="#eeeeee"
  1593. BorderThickness="1"
  1594. Visibility="Collapsed">
  1595. <Grid Background="#ffffff">
  1596. <Grid.RowDefinitions>
  1597. <RowDefinition Height="40" />
  1598. <RowDefinition Height="64" />
  1599. </Grid.RowDefinitions>
  1600. <Grid Grid.Row="0" Background="#3F6FFF">
  1601. <TextBlock
  1602. Margin="10,0,0,0"
  1603. VerticalAlignment="Center"
  1604. FontSize="16"
  1605. Foreground="White"
  1606. Text="打印" />
  1607. <Button
  1608. Grid.Row="0"
  1609. Width="46"
  1610. Margin="0,-2,0,0"
  1611. HorizontalAlignment="Right"
  1612. VerticalContentAlignment="Center"
  1613. Click="BtnPrintCloseClick"
  1614. Content="×"
  1615. Cursor="Hand"
  1616. FontSize="30"
  1617. Foreground="White" />
  1618. </Grid>
  1619. <Grid Grid.Row="1">
  1620. <Grid.ColumnDefinitions>
  1621. <ColumnDefinition Width="30" />
  1622. <ColumnDefinition Width="Auto" />
  1623. <ColumnDefinition Width="*" />
  1624. <ColumnDefinition Width="Auto" />
  1625. <ColumnDefinition Width="Auto" />
  1626. </Grid.ColumnDefinitions>
  1627. <Image
  1628. Grid.Column="0"
  1629. Width="20"
  1630. Height="20"
  1631. Margin="10,0,0,0"
  1632. HorizontalAlignment="Center"
  1633. VerticalAlignment="Center"
  1634. Source="./Images/shuoming.png" />
  1635. <Button
  1636. x:Name="BtnPrintExplain"
  1637. Grid.Column="1"
  1638. Height="36"
  1639. Margin="6,0,0,0"
  1640. HorizontalAlignment="Stretch"
  1641. VerticalAlignment="Stretch"
  1642. Click="btnPrintExplain_Click"
  1643. Content="打印说明"
  1644. Cursor="Hand"
  1645. FontSize="16"
  1646. Foreground="#3F6FFF"
  1647. IsDefault="True" />
  1648. <Button
  1649. Grid.Column="3"
  1650. Width="100"
  1651. Height="36"
  1652. Margin="0,0,10,0"
  1653. HorizontalAlignment="Stretch"
  1654. VerticalAlignment="Center"
  1655. Background="#3F6FFF"
  1656. Click="Print_No_Code_Click"
  1657. Content="普通打印"
  1658. Cursor="Hand"
  1659. FontSize="16"
  1660. Foreground="White"
  1661. IsDefault="True" />
  1662. <Button
  1663. x:Name="BtnPrintPrint"
  1664. Grid.Column="4"
  1665. Width="100"
  1666. Height="36"
  1667. Margin="0,0,10,0"
  1668. HorizontalAlignment="Stretch"
  1669. VerticalAlignment="Stretch"
  1670. Background="#3F6FFF"
  1671. Click="BtnPrint_Print_Click"
  1672. Content="铺码打印"
  1673. Cursor="Hand"
  1674. FontSize="16"
  1675. Foreground="White"
  1676. IsDefault="True" />
  1677. </Grid>
  1678. </Grid>
  1679. </Border>
  1680. <Grid
  1681. x:Name="GridPrintMask"
  1682. Background="#4C000000"
  1683. Visibility="Collapsed">
  1684. <Grid.ColumnDefinitions>
  1685. <ColumnDefinition Width="15*" />
  1686. <ColumnDefinition Width="70*" />
  1687. <ColumnDefinition Width="15*" />
  1688. </Grid.ColumnDefinitions>
  1689. <Grid.RowDefinitions>
  1690. <RowDefinition Height="35*" />
  1691. <RowDefinition Height="100" />
  1692. <RowDefinition Height="45*" />
  1693. </Grid.RowDefinitions>
  1694. <Grid Grid.Row="1" Grid.Column="1">
  1695. <Label
  1696. x:Name="LabPrintMessage"
  1697. Height="35"
  1698. Margin="0,10,0,0"
  1699. HorizontalAlignment="Center"
  1700. VerticalAlignment="Top"
  1701. Content="打印中..."
  1702. FontSize="22"
  1703. Foreground="#FFF9F7F7" />
  1704. <ProgressBar
  1705. x:Name="PgbProcess"
  1706. Grid.Row="0"
  1707. Height="20"
  1708. Margin="50,20,50,0"
  1709. BorderBrush="#4597FF"
  1710. Foreground="#4597FF"
  1711. Visibility="Visible" />
  1712. <Label
  1713. x:Name="LbProcess"
  1714. Grid.Row="0"
  1715. Width="60"
  1716. Height="30"
  1717. Margin="0,20,0,0"
  1718. HorizontalAlignment="Center"
  1719. Content=""
  1720. FontSize="16"
  1721. Foreground="White"
  1722. Visibility="Visible" />
  1723. </Grid>
  1724. </Grid>
  1725. </Grid>
  1726. </Window>