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

MainWindow.xaml 97KB

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