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

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