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

XHMicroLessonSystemWindow.xaml 135KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338
  1. <Window
  2. x:Class="XHWK.WKTool.XHMicroLessonSystemWindow"
  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. AllowsTransparency="True"
  11. Background="Transparent"
  12. BorderBrush="#eee"
  13. BorderThickness="1"
  14. Loaded="Window_Loaded"
  15. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  16. ResizeMode="CanMinimize"
  17. ShowInTaskbar="True"
  18. WindowStartupLocation="CenterScreen"
  19. WindowStyle="None"
  20. mc:Ignorable="d">
  21. <Window.Resources>
  22. <Style x:Key="radBase" TargetType="RadioButton">
  23. <Setter Property="IsChecked" Value="False" />
  24. <Setter Property="Background" Value="Transparent" />
  25. <Setter Property="Foreground" Value="#555" />
  26. <Setter Property="Template">
  27. <Setter.Value>
  28. <ControlTemplate TargetType="RadioButton">
  29. <DockPanel
  30. Width="{TemplateBinding Width}"
  31. Background="{TemplateBinding Background}"
  32. LastChildFill="False"
  33. ToolTip="{TemplateBinding Content}">
  34. <Image
  35. x:Name="_img"
  36. Margin="2,0,0,0"
  37. DockPanel.Dock="Left"
  38. Source="./Images/rdo_no.png"
  39. Stretch="None" />
  40. <TextBlock
  41. Margin="3,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. <Style x:Key="ListBoxItemContainerStyle" TargetType="{x:Type ListBoxItem}">
  83. <Setter Property="HorizontalContentAlignment" Value="Stretch" />
  84. <Setter Property="HorizontalAlignment" Value="Stretch" />
  85. <Setter Property="Template">
  86. <Setter.Value>
  87. <ControlTemplate TargetType="{x:Type ListBoxItem}">
  88. <Border
  89. x:Name="itemBox"
  90. Background="Transparent"
  91. BorderBrush="Transparent"
  92. BorderThickness="0">
  93. <ContentPresenter />
  94. </Border>
  95. <ControlTemplate.Triggers />
  96. </ControlTemplate>
  97. </Setter.Value>
  98. </Setter>
  99. </Style>
  100. <DataTemplate x:Key="TongjiItem">
  101. <UniformGrid
  102. Height="50"
  103. Margin="0,0,0,0"
  104. Background="{Binding Colour}"
  105. Columns="5"
  106. Rows="1">
  107. <!-- 题号 -->
  108. <TextBlock
  109. HorizontalAlignment="Center"
  110. VerticalAlignment="Center"
  111. FontSize="16"
  112. Text="{Binding SerialNumber}" />
  113. <Grid>
  114. <StackPanel
  115. HorizontalAlignment="Center"
  116. VerticalAlignment="Center"
  117. Orientation="Horizontal">
  118. <TextBox
  119. Width="150"
  120. Height="30"
  121. Padding="0,5,0,0"
  122. HorizontalAlignment="Center"
  123. VerticalAlignment="Center"
  124. FontSize="16"
  125. IsEnabled="{Binding IsEnabled, Mode=TwoWay}"
  126. Text="{Binding VideoName, Mode=TwoWay}" />
  127. <Button
  128. x:Name="btnModify"
  129. Background="Transparent"
  130. BorderThickness="0"
  131. Click="BtnModify_Click"
  132. Cursor="Hand">
  133. <Grid>
  134. <Image
  135. Height="20"
  136. Margin="6,6,6,6"
  137. Source="./Images/fileDirectory3.png" />
  138. <Image
  139. Height="20"
  140. Margin="6,6,6,6"
  141. Source="./Images/fileDirectory4.png" />
  142. </Grid>
  143. </Button>
  144. </StackPanel>
  145. </Grid>
  146. <!-- 分值 -->
  147. <!--
  148. <TextBlock
  149. HorizontalAlignment="Center"
  150. VerticalAlignment="Center"
  151. FontSize="15"
  152. Text="{Binding VideoDuration}" />-->
  153. <!-- 平均时长 -->
  154. <TextBlock
  155. HorizontalAlignment="Center"
  156. VerticalAlignment="Center"
  157. FontSize="16"
  158. Text="{Binding VideoSize}" />
  159. <!-- 最短时长 -->
  160. <TextBlock
  161. HorizontalAlignment="Center"
  162. VerticalAlignment="Center"
  163. FontSize="16"
  164. Text="{Binding VideoTime}" />
  165. <Grid>
  166. <StackPanel
  167. HorizontalAlignment="Center"
  168. VerticalAlignment="Center"
  169. Orientation="Horizontal">
  170. <Button
  171. x:Name="btnPlay"
  172. Background="Transparent"
  173. BorderThickness="0"
  174. Click="BtnPlay_Click"
  175. Cursor="Hand">
  176. <Grid>
  177. <Image
  178. Height="20"
  179. Margin="10"
  180. Source="./Images/fileDirectory1.png" />
  181. <Image
  182. Height="20"
  183. Margin="10"
  184. Source="./Images/fileDirectory2.png" />
  185. </Grid>
  186. </Button>
  187. <Button
  188. x:Name="btnUpload"
  189. Background="Transparent"
  190. BorderThickness="0"
  191. Click="BtnUploads_Click"
  192. Cursor="Hand">
  193. <Grid>
  194. <Image
  195. Height="20"
  196. Margin="6,6,6,6"
  197. Source="./Images/fileDirectory7.png"
  198. Visibility="{Binding Visi}" />
  199. <Image
  200. Height="20"
  201. Margin="6,6,6,6"
  202. Source="./Images/fileDirectory8.png"
  203. Visibility="{Binding Coll}" />
  204. </Grid>
  205. </Button>
  206. <Button
  207. x:Name="btnDelete"
  208. Background="Transparent"
  209. BorderThickness="0"
  210. Click="BtnDelete_Click"
  211. Cursor="Hand">
  212. <Grid>
  213. <Image
  214. Height="20"
  215. Margin="6,6,6,6"
  216. Source="./Images/fileDirectory5.png" />
  217. <Image
  218. Height="20"
  219. Margin="6,6,6,6"
  220. Source="./Images/fileDirectory6.png" />
  221. </Grid>
  222. </Button>
  223. </StackPanel>
  224. </Grid>
  225. </UniformGrid>
  226. </DataTemplate>
  227. <!-- 摄像头样式 -->
  228. <Style x:Key="stlToggleButton" TargetType="ToggleButton">
  229. <Setter Property="Foreground" Value="White" />
  230. <Setter Property="Template">
  231. <Setter.Value>
  232. <ControlTemplate>
  233. <Border
  234. x:Name="Back"
  235. Background="#FFFFFFFF"
  236. BorderBrush="Transparent"
  237. BorderThickness="0">
  238. <Path
  239. Name="PathFill"
  240. Width="8"
  241. Height="6"
  242. Data="M5,0 L10,10 L0,10 z"
  243. Fill="Black"
  244. RenderTransformOrigin="0.5,0.5"
  245. Stretch="Fill"
  246. StrokeThickness="0">
  247. <Path.RenderTransform>
  248. <TransformGroup>
  249. <ScaleTransform />
  250. <SkewTransform />
  251. <RotateTransform Angle="180" />
  252. <TranslateTransform />
  253. </TransformGroup>
  254. </Path.RenderTransform>
  255. </Path>
  256. </Border>
  257. <ControlTemplate.Triggers>
  258. <Trigger Property="IsMouseOver" Value="True">
  259. <Setter TargetName="PathFill" Property="Fill" Value="White" />
  260. <Setter TargetName="Back" Property="Background" Value="#FFDCDCDC" />
  261. <Setter TargetName="Back" Property="BorderBrush" Value="#FFDCDCDC" />
  262. </Trigger>
  263. </ControlTemplate.Triggers>
  264. </ControlTemplate>
  265. </Setter.Value>
  266. </Setter>
  267. </Style>
  268. <Style x:Key="stlComboBox" TargetType="ComboBox">
  269. <Setter Property="SnapsToDevicePixels" Value="True" />
  270. <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
  271. <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
  272. <Setter Property="ScrollViewer.CanContentScroll" Value="True" />
  273. <Setter Property="HorizontalAlignment" Value="Left" />
  274. <Setter Property="Foreground" Value="Black" />
  275. <Setter Property="Height" Value="30" />
  276. <Setter Property="Margin" Value="0,0,0,0" />
  277. <Setter Property="Template">
  278. <Setter.Value>
  279. <ControlTemplate TargetType="ComboBox">
  280. <Grid Background="#F7FDF7">
  281. <Grid.ColumnDefinitions>
  282. <ColumnDefinition Width="0.8*" />
  283. <ColumnDefinition Width="0.2*" MaxWidth="20" />
  284. </Grid.ColumnDefinitions>
  285. <TextBox
  286. Grid.Column="0"
  287. VerticalContentAlignment="Center"
  288. IsReadOnly="True"
  289. Text="{TemplateBinding Text}" />
  290. <Border
  291. Grid.Column="0"
  292. BorderBrush="#FFDCDCDC"
  293. BorderThickness="1,1,1,1"
  294. CornerRadius="1,0,0,1" />
  295. <Border
  296. Grid.Column="1"
  297. BorderBrush="#FFDCDCDC"
  298. BorderThickness="0,1,1,1"
  299. CornerRadius="0,1,1,0">
  300. <ToggleButton
  301. ClickMode="Press"
  302. IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
  303. Style="{StaticResource stlToggleButton}" />
  304. </Border>
  305. <Popup
  306. x:Name="Popup"
  307. AllowsTransparency="True"
  308. Focusable="False"
  309. IsOpen="{TemplateBinding IsDropDownOpen}"
  310. Placement="Bottom"
  311. PopupAnimation="Slide">
  312. <Border
  313. x:Name="DropDown"
  314. MinWidth="{TemplateBinding ActualWidth}"
  315. MaxHeight="{TemplateBinding MaxDropDownHeight}"
  316. CornerRadius="1"
  317. SnapsToDevicePixels="True">
  318. <Border.Effect>
  319. <DropShadowEffect
  320. BlurRadius="2"
  321. Opacity="0.5"
  322. ShadowDepth="0"
  323. Color="Black" />
  324. </Border.Effect>
  325. <ScrollViewer
  326. MaxHeight="{TemplateBinding MaxDropDownHeight}"
  327. Margin="4,6,4,6"
  328. CanContentScroll="True"
  329. HorizontalScrollBarVisibility="Auto"
  330. SnapsToDevicePixels="True"
  331. Style="{DynamicResource ScrollViewerStyle}"
  332. VerticalScrollBarVisibility="Auto">
  333. <!-- StackPanel 用于显示子级,方法是将 IsItemsHost 设置为 True -->
  334. <StackPanel
  335. Background="White"
  336. IsItemsHost="True"
  337. KeyboardNavigation.DirectionalNavigation="Contained" />
  338. </ScrollViewer>
  339. </Border>
  340. </Popup>
  341. </Grid>
  342. </ControlTemplate>
  343. </Setter.Value>
  344. </Setter>
  345. </Style>
  346. </Window.Resources>
  347. <Grid>
  348. <!-- 内容区 上:标题栏 下:工具栏和录制区域 -->
  349. <Grid
  350. x:Name="GridContent"
  351. HorizontalAlignment="Stretch"
  352. Background="#FFF1F2F8">
  353. <Grid.RowDefinitions>
  354. <RowDefinition Height="60*" />
  355. <RowDefinition Height="10*" />
  356. <RowDefinition Height="955*" />
  357. </Grid.RowDefinitions>
  358. <!-- 标题栏 左:logo 右:可变工具栏 -->
  359. <Grid
  360. x:Name="GridTitle"
  361. Grid.Row="0"
  362. Background="White"
  363. MouseLeftButtonDown="Window_MouseLeftButtonDown">
  364. <Grid Grid.Background="{DynamicResource BackTitle}">
  365. <!--<Grid.Background>
  366. <ImageBrush ImageSource="" />
  367. </Grid.Background>-->
  368. <Grid.ColumnDefinitions>
  369. <ColumnDefinition Width="200*" />
  370. <ColumnDefinition Width="926*" />
  371. <ColumnDefinition Width="160*" />
  372. </Grid.ColumnDefinitions>
  373. <!-- LOGO -->
  374. <Grid Grid.Column="0">
  375. <StackPanel
  376. Margin="10,0"
  377. HorizontalAlignment="Left"
  378. Orientation="Horizontal">
  379. <Image
  380. Margin="10"
  381. VerticalAlignment="Center"
  382. Source="./Images/APP.png" />
  383. <TextBlock
  384. x:Name="TxbTitleName"
  385. Margin="10,0,0,0"
  386. HorizontalAlignment="Left"
  387. VerticalAlignment="Center"
  388. FontSize="{Binding WordSize18}"
  389. FontWeight="Bold"
  390. Style="{DynamicResource LogoColor}"
  391. Text="星火微课" />
  392. </StackPanel>
  393. </Grid>
  394. <!-- 录制相关Title 926 -->
  395. <Grid
  396. x:Name="GridRecordingTitle"
  397. Grid.Column="1"
  398. Visibility="Visible">
  399. <Grid.ColumnDefinitions>
  400. <ColumnDefinition Width="200*" />
  401. <ColumnDefinition Width="476*" />
  402. <ColumnDefinition Width="160*" />
  403. <ColumnDefinition Width="160*" />
  404. </Grid.ColumnDefinitions>
  405. <!-- 智能笔连接状态 -->
  406. <Grid Grid.Column="0">
  407. <!--<TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0" />-->
  408. <StackPanel
  409. Margin="0"
  410. HorizontalAlignment="Center"
  411. VerticalAlignment="Center"
  412. Orientation="Horizontal">
  413. <Image
  414. x:Name="ImgPenState"
  415. Width="20"
  416. Style="{DynamicResource TitlePenState}" />
  417. <TextBlock
  418. x:Name="txbNotConnected"
  419. Margin="5,0,0,0"
  420. Padding="0"
  421. VerticalAlignment="Center"
  422. Background="{x:Null}"
  423. FontSize="{Binding WordSize14}"
  424. FontWeight="Bold"
  425. Style="{DynamicResource PenStateColor}"
  426. Text="未连接" />
  427. </StackPanel>
  428. </Grid>
  429. <!-- 倒计时 -->
  430. <Grid Grid.Column="1">
  431. <Label
  432. Width="2"
  433. Margin="0,15"
  434. HorizontalAlignment="Left"
  435. Background="#FFE5E5E5" />
  436. <StackPanel
  437. Margin="0"
  438. HorizontalAlignment="Center"
  439. VerticalAlignment="Center"
  440. Orientation="Horizontal">
  441. <Image
  442. x:Name="ImgLZImg"
  443. Width="20"
  444. Style="{DynamicResource TitleLZTimeImg}" />
  445. <TextBlock
  446. x:Name="TxbTime"
  447. Margin="10,0"
  448. HorizontalAlignment="Center"
  449. VerticalAlignment="Center"
  450. FontSize="{Binding WordSize18}"
  451. Foreground="#FFFF0000"
  452. Text="00:00" />
  453. <TextBlock
  454. x:Name="TxbType"
  455. Margin="10,0"
  456. HorizontalAlignment="Center"
  457. VerticalAlignment="Center"
  458. FontSize="{Binding WordSize18}"
  459. Style="{DynamicResource TxbMesColor}"
  460. Text="准备就绪" />
  461. </StackPanel>
  462. <Label
  463. Width="2"
  464. Margin="0,15"
  465. HorizontalAlignment="Right"
  466. Background="#FFE5E5E5" />
  467. </Grid>
  468. <!-- 录屏按钮 -->
  469. <Grid Grid.Column="2">
  470. <StackPanel Orientation="Horizontal" />
  471. <Button
  472. x:Name="BtnRecord"
  473. Margin="10,5,0,5"
  474. HorizontalAlignment="Stretch"
  475. VerticalAlignment="Center"
  476. Button.Template="{DynamicResource SkinBtnRecord}"
  477. Click="BtnRecord_Click"
  478. Cursor="Hand"
  479. FontSize="{Binding WordSize14}"
  480. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  481. <Button
  482. x:Name="BtnRecordSuspend"
  483. Margin="5,0"
  484. HorizontalAlignment="Stretch"
  485. VerticalAlignment="Center"
  486. Button.Template="{DynamicResource SkinBtnRecordSuspend}"
  487. Click="BtnRecord_Click"
  488. Cursor="Hand"
  489. FontSize="{Binding WordSize14}"
  490. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  491. Visibility="Collapsed" />
  492. </Grid>
  493. <Grid Grid.Column="3">
  494. <Button
  495. x:Name="BtnStop"
  496. Margin="5,0"
  497. HorizontalAlignment="Stretch"
  498. VerticalAlignment="Center"
  499. Button.Template="{DynamicResource SkinBtnRecordStop}"
  500. Click="BtnStop_Click"
  501. Cursor="Hand"
  502. FontSize="{Binding WordSize14}"
  503. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  504. </Grid>
  505. </Grid>
  506. <!-- 关闭 -->
  507. <Grid Grid.Column="2">
  508. <Label
  509. Width="2"
  510. Margin="0,15"
  511. HorizontalAlignment="Left"
  512. Background="#FFE5E5E5" />
  513. <Button
  514. x:Name="BtnClose"
  515. Margin="20,0,10,0"
  516. HorizontalAlignment="Stretch"
  517. VerticalAlignment="Center"
  518. Button.Template="{DynamicResource SkinBtnClose}"
  519. Click="BtnClose_Click"
  520. Cursor="Hand"
  521. FontSize="{Binding WordSize14}"
  522. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  523. </Grid>
  524. <!-- 测试 -->
  525. <Grid Grid.Column="2" Visibility="Collapsed">
  526. <Label
  527. Width="2"
  528. Margin="0,15"
  529. HorizontalAlignment="Left"
  530. Background="#FFE5E5E5" />
  531. <Button
  532. Margin="35,0,15,0"
  533. HorizontalAlignment="Stretch"
  534. VerticalAlignment="Center"
  535. Click="BtnClose_Click"
  536. Cursor="Hand"
  537. FontSize="16"
  538. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  539. <Button.Template>
  540. <ControlTemplate TargetType="{x:Type Button}">
  541. <Grid>
  542. <Grid.ColumnDefinitions>
  543. <ColumnDefinition Width="23*" />
  544. <ColumnDefinition Width="72*" />
  545. </Grid.ColumnDefinitions>
  546. <Image
  547. x:Name="ImgSetUp"
  548. Grid.ColumnSpan="2"
  549. Source="/SkinImages/White/Toolbar_LZ_N.png" />
  550. <Label
  551. x:Name="Word"
  552. Grid.Column="1"
  553. HorizontalAlignment="Center"
  554. VerticalAlignment="Center"
  555. Content="关闭程序"
  556. FontSize="{TemplateBinding FontSize}"
  557. Foreground="#FFEFEFEF" />
  558. </Grid>
  559. <ControlTemplate.Triggers>
  560. <Trigger Property="IsMouseOver" Value="True">
  561. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png" />
  562. <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF" />
  563. </Trigger>
  564. </ControlTemplate.Triggers>
  565. </ControlTemplate>
  566. </Button.Template>
  567. </Button>
  568. </Grid>
  569. </Grid>
  570. </Grid>
  571. <Grid Grid.Row="1" />
  572. <!-- 工具栏和录制区域 H965 -->
  573. <Grid Grid.Row="2">
  574. <Grid.ColumnDefinitions>
  575. <ColumnDefinition Width="180*" />
  576. <ColumnDefinition Width="10*" />
  577. <ColumnDefinition Width="1061*" />
  578. </Grid.ColumnDefinitions>
  579. <!-- 工具栏 W200 H955 -->
  580. <Grid
  581. x:Name="GridToolbars"
  582. Grid.Column="0"
  583. Background="White">
  584. <Grid Grid.Background="{DynamicResource BackTool}">
  585. <Grid.RowDefinitions>
  586. <RowDefinition Height="160*" />
  587. <RowDefinition Height="85*" />
  588. <RowDefinition Height="85*" />
  589. <RowDefinition Height="85*" />
  590. <RowDefinition Height="85*" />
  591. <RowDefinition Height="85*" />
  592. <RowDefinition Height="85*" />
  593. <RowDefinition Height="85*" />
  594. <RowDefinition Height="85*" />
  595. <RowDefinition Height="115*" />
  596. </Grid.RowDefinitions>
  597. <!-- 头像 -->
  598. <Grid Grid.Row="0">
  599. <!-- 登录状态 -->
  600. <Button
  601. x:Name="BtnLoginType"
  602. HorizontalAlignment="Center"
  603. VerticalAlignment="Center"
  604. Click="BtnLoginType_Click"
  605. Cursor="Hand"
  606. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  607. <StackPanel>
  608. <Border
  609. x:Name="ImgHeadImgN"
  610. Width="70"
  611. Height="70"
  612. CornerRadius="50">
  613. <Border.Background>
  614. <ImageBrush ImageSource="/BlackImages/HM_HeadImg_N.png" />
  615. </Border.Background>
  616. </Border>
  617. <Border
  618. x:Name="ImgHeadImg"
  619. Width="70"
  620. Height="70"
  621. CornerRadius="50"
  622. Visibility="Collapsed">
  623. <Border.Background>
  624. <ImageBrush x:Name="ImgHead" ImageSource="/BlackImages/HM_HeadImg.png" />
  625. </Border.Background>
  626. </Border>
  627. <TextBlock
  628. x:Name="TxbLoginType"
  629. Margin="0,10,0,0"
  630. HorizontalAlignment="Center"
  631. FontSize="{Binding WordSize12}"
  632. Style="{DynamicResource LoginTypeColor}"
  633. Text="未登录" />
  634. </StackPanel>
  635. </Button>
  636. </Grid>
  637. <!-- 录屏 -->
  638. <Grid Grid.Row="1">
  639. <Button
  640. x:Name="BtnScreenRecording"
  641. Padding="0"
  642. HorizontalAlignment="Stretch"
  643. VerticalAlignment="Stretch"
  644. HorizontalContentAlignment="Stretch"
  645. VerticalContentAlignment="Stretch"
  646. Button.Template="{DynamicResource SkinBtnScreenRecording}"
  647. Click="BtnScreenRecording_Click"
  648. Cursor="Hand"
  649. FontSize="{Binding WordSize16}" />
  650. </Grid>
  651. <!-- 截图 -->
  652. <Grid Grid.Row="2">
  653. <Button
  654. x:Name="BtnScreenshot"
  655. Padding="0"
  656. HorizontalAlignment="Stretch"
  657. VerticalAlignment="Stretch"
  658. Button.Template="{DynamicResource SkinBtnScreenshot}"
  659. Click="BtnScreenshot_Click"
  660. Cursor="Hand"
  661. FontSize="{Binding WordSize16}"
  662. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  663. </Grid>
  664. <!-- 导入 -->
  665. <Grid Grid.Row="3">
  666. <Button
  667. x:Name="BtnImport"
  668. HorizontalAlignment="Stretch"
  669. VerticalAlignment="Stretch"
  670. Button.Template="{DynamicResource SkinBtnImport}"
  671. Click="BtnImport_Click"
  672. Cursor="Hand"
  673. FontSize="{Binding WordSize16}"
  674. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  675. </Grid>
  676. <!-- 加页 -->
  677. <Grid Grid.Row="4">
  678. <Button
  679. x:Name="BtnAdd"
  680. HorizontalAlignment="Stretch"
  681. VerticalAlignment="Stretch"
  682. Button.Template="{DynamicResource SkinBtnAdd}"
  683. Click="BtnAdd_Click"
  684. Cursor="Hand"
  685. FontSize="{Binding WordSize16}"
  686. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  687. </Grid>
  688. <!-- 打印 -->
  689. <Grid Grid.Row="5">
  690. <Button
  691. x:Name="BtnPrint"
  692. HorizontalAlignment="Stretch"
  693. VerticalAlignment="Stretch"
  694. Button.Template="{DynamicResource SkinBtnPrint}"
  695. Click="BtnPrint_Click"
  696. Cursor="Hand"
  697. FontSize="{Binding WordSize16}"
  698. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  699. </Grid>
  700. <!-- 我的 -->
  701. <Grid Grid.Row="6">
  702. <Button
  703. x:Name="BtnUpload"
  704. HorizontalAlignment="Stretch"
  705. VerticalAlignment="Stretch"
  706. Button.Template="{DynamicResource SkinBtnMy}"
  707. Click="BtnUpload_Click"
  708. Cursor="Hand"
  709. FontSize="{Binding WordSize16}"
  710. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  711. </Grid>
  712. <!-- 检测 -->
  713. <Grid Grid.Row="7">
  714. <Button
  715. x:Name="BtnDevice"
  716. HorizontalAlignment="Stretch"
  717. VerticalAlignment="Stretch"
  718. Button.Template="{DynamicResource SkinBtnDevice}"
  719. Click="BtnDevice_Click"
  720. Cursor="Hand"
  721. FontSize="{Binding WordSize16}"
  722. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  723. </Grid>
  724. <!-- 设置 -->
  725. <Grid Grid.Row="8">
  726. <Button
  727. x:Name="BtnSetUp"
  728. HorizontalAlignment="Stretch"
  729. VerticalAlignment="Stretch"
  730. Button.Template="{DynamicResource SkinBtnSetUp}"
  731. Click="BtnSetUp_Click"
  732. Cursor="Hand"
  733. FontSize="{Binding WordSize16}"
  734. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  735. </Grid>
  736. <!-- 测试 -->
  737. <Grid
  738. Grid.Row="9"
  739. Height="85"
  740. VerticalAlignment="Top"
  741. Visibility="Collapsed">
  742. <Button
  743. HorizontalAlignment="Stretch"
  744. VerticalAlignment="Stretch"
  745. Click="BtnSetUp_Click"
  746. Cursor="Hand"
  747. FontSize="18"
  748. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  749. <Button.Template>
  750. <ControlTemplate TargetType="{x:Type Button}">
  751. <Grid>
  752. <Grid.ColumnDefinitions>
  753. <ColumnDefinition Width="100*" />
  754. <ColumnDefinition Width="60*" />
  755. <ColumnDefinition Width="40*" />
  756. </Grid.ColumnDefinitions>
  757. <Image
  758. x:Name="ImgScreenRecording"
  759. Grid.ColumnSpan="3"
  760. Source="/SkinImages/White/Toolbar_SZ.png" />
  761. <Label
  762. x:Name="WordScreenRecording"
  763. Grid.Column="1"
  764. HorizontalAlignment="Center"
  765. VerticalAlignment="Center"
  766. Content="设置"
  767. FontSize="{TemplateBinding FontSize}"
  768. Foreground="#FF333333" />
  769. </Grid>
  770. <ControlTemplate.Triggers>
  771. <Trigger Property="IsMouseOver" Value="True">
  772. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_MI.png" />
  773. </Trigger>
  774. <Trigger Property="IsPressed" Value="True">
  775. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_CL.png" />
  776. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFFFFFFF" />
  777. </Trigger>
  778. <Trigger Property="IsEnabled" Value="False">
  779. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_N.png" />
  780. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFC3C3C3" />
  781. </Trigger>
  782. </ControlTemplate.Triggers>
  783. </ControlTemplate>
  784. </Button.Template>
  785. </Button>
  786. </Grid>
  787. </Grid>
  788. </Grid>
  789. <Grid Grid.Column="1" />
  790. <!-- 主显示区域 -->
  791. <Grid Grid.Column="2">
  792. <!-- 录制区域 -->
  793. <Grid x:Name="GridRecordingArea" Visibility="Visible">
  794. <Grid.RowDefinitions>
  795. <RowDefinition Height="905*" />
  796. <RowDefinition Height="3*" />
  797. <RowDefinition Height="47*" />
  798. </Grid.RowDefinitions>
  799. <!-- 录制区域 -->
  800. <Grid Grid.Row="0">
  801. <!-- 录制区 -->
  802. <Border>
  803. <Grid
  804. x:Name="GridMain"
  805. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  806. Visibility="Visible">
  807. <ScrollViewer
  808. x:Name="ScroMain"
  809. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  810. VerticalScrollBarVisibility="Visible">
  811. <Grid
  812. x:Name="GridM"
  813. Width="auto"
  814. Height="1780"
  815. Margin="0,0,0,0"
  816. Background="#FFFFFF"
  817. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  818. Visibility="Visible">
  819. <Grid>
  820. <Border CornerRadius="5">
  821. <Grid x:Name="IMG" Margin="0,0,0,0">
  822. <Grid.Resources>
  823. <TransformGroup x:Key="Imageview">
  824. <ScaleTransform />
  825. <TranslateTransform />
  826. </TransformGroup>
  827. </Grid.Resources>
  828. <!-- 图片表框 -->
  829. <Rectangle
  830. x:Name="RectImgBorder"
  831. Width="300"
  832. Height="300"
  833. Margin="373,175,0,0"
  834. HorizontalAlignment="Left"
  835. VerticalAlignment="Top"
  836. Cursor="SizeAll"
  837. Fill="#00000000"
  838. SnapsToDevicePixels="True"
  839. Stroke="#2D8CF0"
  840. StrokeDashArray="4 4"
  841. StrokeThickness="4"
  842. Visibility="Hidden" />
  843. <Image
  844. x:Name="imgCanvas"
  845. Height="0"
  846. HorizontalAlignment="Left"
  847. VerticalAlignment="Top"
  848. Focusable="True"
  849. MouseDown="PicEMap_MouseDown"
  850. MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown"
  851. MouseMove="imgCanvas_MouseMove"
  852. MouseUp="imgCanvas_MouseUp"
  853. RenderTransform="{StaticResource Imageview}"
  854. Stretch="Fill" />
  855. <!-- 四个点 -->
  856. <Canvas>
  857. <Thumb
  858. x:Name="RectLeftUp"
  859. Canvas.Left="314"
  860. Canvas.Top="157"
  861. Width="20"
  862. Height="20"
  863. HorizontalAlignment="Left"
  864. VerticalAlignment="Top"
  865. Background="White"
  866. BorderBrush="#2D8CF0"
  867. BorderThickness="2"
  868. Cursor="SizeNWSE"
  869. DragCompleted="RectRightUp_DragCompleted"
  870. DragDelta="RectRightUp_DragDelta"
  871. DragStarted="RectRightUp_DragStarted"
  872. Visibility="Hidden" />
  873. <Thumb
  874. x:Name="RectRightUp"
  875. Canvas.Left="775"
  876. Canvas.Top="157"
  877. Width="20"
  878. Height="20"
  879. HorizontalAlignment="Left"
  880. VerticalAlignment="Top"
  881. Background="White"
  882. BorderBrush="#2D8CF0"
  883. BorderThickness="2"
  884. Cursor="SizeNESW"
  885. DragCompleted="RectRightUp_DragCompleted"
  886. DragDelta="RectRightUp_DragDelta"
  887. DragStarted="RectRightUp_DragStarted"
  888. Visibility="Hidden" />
  889. <Thumb
  890. x:Name="RectLeftDown"
  891. Canvas.Left="314"
  892. Canvas.Top="508"
  893. Width="20"
  894. Height="20"
  895. HorizontalAlignment="Left"
  896. VerticalAlignment="Top"
  897. Background="White"
  898. BorderBrush="#2D8CF0"
  899. BorderThickness="2"
  900. Cursor="SizeNESW"
  901. DragCompleted="RectRightUp_DragCompleted"
  902. DragDelta="RectRightUp_DragDelta"
  903. DragStarted="RectRightUp_DragStarted"
  904. Visibility="Hidden" />
  905. <Thumb
  906. x:Name="RectRightDown"
  907. Canvas.Left="775"
  908. Canvas.Top="508"
  909. Width="20"
  910. Height="20"
  911. HorizontalAlignment="Left"
  912. VerticalAlignment="Top"
  913. Background="White"
  914. BorderBrush="#2D8CF0"
  915. BorderThickness="2"
  916. Cursor="SizeNWSE"
  917. DragCompleted="RectRightUp_DragCompleted"
  918. DragDelta="RectRightUp_DragDelta"
  919. DragStarted="RectRightUp_DragStarted"
  920. Visibility="Hidden" />
  921. </Canvas>
  922. </Grid>
  923. </Border>
  924. </Grid>
  925. <Image
  926. x:Name="imgDocumentation"
  927. Grid.RowSpan="2"
  928. Stretch="Fill"
  929. Visibility="Visible" />
  930. <Image
  931. x:Name="imgPPT"
  932. VerticalAlignment="Top"
  933. Visibility="Visible" />
  934. <!-- 导入图片 -->
  935. <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed" />-->
  936. <InkCanvas
  937. x:Name="blackboard_canvas"
  938. Grid.Row="0"
  939. Grid.RowSpan="2"
  940. Background="Transparent"
  941. Visibility="Collapsed" />
  942. <!-- 摄像头 -->
  943. </Grid>
  944. </ScrollViewer>
  945. <Image
  946. x:Name="imgPlayerLeft"
  947. Width="172"
  948. Height="124"
  949. Margin="10,7,10,10"
  950. HorizontalAlignment="Left"
  951. VerticalAlignment="Top"
  952. RenderTransformOrigin="0.5,0.5"
  953. Source="./Images/microLessonSystem_17.png"
  954. Visibility="Collapsed">
  955. <Image.RenderTransform>
  956. <ScaleTransform ScaleX="-1" />
  957. </Image.RenderTransform>
  958. </Image>
  959. <Image
  960. x:Name="imgPlayerRight"
  961. Width="172"
  962. Height="124"
  963. Margin="10,7,26,10"
  964. HorizontalAlignment="Right"
  965. VerticalAlignment="Top"
  966. RenderTransformOrigin="0.5,0.5"
  967. Source="./Images/microLessonSystem_17.png"
  968. Visibility="Collapsed">
  969. <Image.RenderTransform>
  970. <ScaleTransform ScaleX="-1" />
  971. </Image.RenderTransform>
  972. </Image>
  973. <Image
  974. x:Name="imgPlayerLeftUnder"
  975. Width="172"
  976. Height="124"
  977. Margin="10,7,10,10"
  978. HorizontalAlignment="Left"
  979. VerticalAlignment="Bottom"
  980. RenderTransformOrigin="0.5,0.5"
  981. Source="./Images/microLessonSystem_17.png"
  982. Visibility="Collapsed">
  983. <Image.RenderTransform>
  984. <ScaleTransform ScaleX="-1" />
  985. </Image.RenderTransform>
  986. </Image>
  987. <Image
  988. x:Name="imgPlayerRightUnder"
  989. Width="172"
  990. Height="124"
  991. Margin="10,7,26,10"
  992. HorizontalAlignment="Right"
  993. VerticalAlignment="Bottom"
  994. RenderTransformOrigin="0.5,0.5"
  995. Source="./Images/microLessonSystem_17.png"
  996. Visibility="Collapsed">
  997. <Image.RenderTransform>
  998. <ScaleTransform ScaleX="-1" />
  999. </Image.RenderTransform>
  1000. </Image>
  1001. <!--<Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0" />
  1002. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0" />
  1003. <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0" />
  1004. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0" />-->
  1005. </Grid>
  1006. </Border>
  1007. </Grid>
  1008. <Grid Grid.Row="1" />
  1009. <!-- 底部工具栏 -->
  1010. <Grid
  1011. x:Name="GridBottomToolbars"
  1012. Grid.Row="2"
  1013. Background="#FFFFFFFF"
  1014. Visibility="Visible">
  1015. <StackPanel
  1016. HorizontalAlignment="Right"
  1017. VerticalAlignment="Center"
  1018. Orientation="Horizontal">
  1019. <!-- 页码 -->
  1020. <Grid
  1021. x:Name="GridPage"
  1022. Grid.Row="1"
  1023. Margin="0"
  1024. HorizontalAlignment="Center"
  1025. VerticalAlignment="Center"
  1026. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  1027. Visibility="Collapsed">
  1028. <StackPanel
  1029. Grid.Row="0"
  1030. Grid.Column="1"
  1031. Width="220"
  1032. Height="30"
  1033. Margin="0,0,0,0"
  1034. HorizontalAlignment="Center"
  1035. VerticalAlignment="Bottom"
  1036. Background="Transparent"
  1037. Orientation="Horizontal">
  1038. <Button
  1039. x:Name="last_button"
  1040. Width="28"
  1041. Height="20"
  1042. Click="last_button_Click"
  1043. Cursor="Hand"
  1044. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1045. <StackPanel>
  1046. <Image
  1047. Width="16"
  1048. Height="12"
  1049. Source=".\Images\class_p1.png" />
  1050. </StackPanel>
  1051. </Button>
  1052. <Grid
  1053. Width="60"
  1054. Background="Transparent"
  1055. MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  1056. <StackPanel
  1057. HorizontalAlignment="Center"
  1058. Background="Transparent"
  1059. Orientation="Horizontal">
  1060. <TextBlock
  1061. x:Name="txbCurrpage"
  1062. Margin="0"
  1063. HorizontalAlignment="Center"
  1064. VerticalAlignment="Center"
  1065. FontSize="{Binding WordSize14}"
  1066. Text="{Binding currpage}"
  1067. TextAlignment="Center" />
  1068. <TextBlock
  1069. HorizontalAlignment="Center"
  1070. VerticalAlignment="Center"
  1071. FontSize="{Binding WordSize14}"
  1072. Text="/"
  1073. TextAlignment="Center" />
  1074. <TextBlock
  1075. x:Name="txbTotalpage"
  1076. HorizontalAlignment="Center"
  1077. VerticalAlignment="Center"
  1078. FontSize="{Binding WordSize14}"
  1079. Text="{Binding pagenum}"
  1080. TextAlignment="Center" />
  1081. </StackPanel>
  1082. </Grid>
  1083. <Button
  1084. x:Name="next_btn"
  1085. Width="28"
  1086. Height="20"
  1087. Background="Transparent"
  1088. Click="next_btn_Click"
  1089. Cursor="Hand"
  1090. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1091. <StackPanel>
  1092. <Image
  1093. Width="16"
  1094. Height="12"
  1095. Source=".\Images\class_p2.png" />
  1096. </StackPanel>
  1097. </Button>
  1098. <TextBlock
  1099. Margin="0,0,3,0"
  1100. VerticalAlignment="Center"
  1101. FontSize="{Binding WordSize14}"
  1102. Text="转" />
  1103. <!--<TextBox x:Name="txtJump" Text="123" Height="17" Width="25" Visibility="Visible" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0" input:InputMethod.IsInputMethodEnabled="False" PreviewTextInput="txtJump_PreviewTextInput" KeyDown="txtJump_KeyDown" />-->
  1104. <!--<Button Cursor="Hand" Visibility="Visible" x:Name="BtnJumpPage" HorizontalAlignment="Left" VerticalAlignment="Center" Width="17" Height="17" Background="White" BorderBrush="#FFABADB3" Margin="24,0,0,0" Click="BtnJumpPage_Click">
  1105. <Button.Resources>
  1106. <Style TargetType="{x:Type Border}">
  1107. <Setter Property="CornerRadius" Value="0" />
  1108. <Setter Property="BorderBrush" Value="#3492F4" />
  1109. </Style>
  1110. </Button.Resources>
  1111. <Image Source="/星火微课;component/Images/VideoList_OK.png" Margin="2,2,2,2"></Image>
  1112. </Button>-->
  1113. <ComboBox
  1114. x:Name="CbxPageList"
  1115. Width="55"
  1116. Height="24"
  1117. HorizontalAlignment="Center"
  1118. VerticalAlignment="Center"
  1119. VerticalContentAlignment="Center"
  1120. BorderThickness="1"
  1121. Cursor="Hand"
  1122. DisplayMemberPath="PageName"
  1123. FontSize="{Binding WordSize14}"
  1124. SelectedIndex="-1"
  1125. SelectedValuePath="PageCode"
  1126. SelectionChanged="CbxPageList_SelectionChanged">
  1127. <ComboBox.Background>
  1128. <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
  1129. <GradientStop Offset="0" Color="#FFF0F0F0" />
  1130. <GradientStop Offset="1" Color="#FFE5E5E5" />
  1131. </LinearGradientBrush>
  1132. </ComboBox.Background>
  1133. </ComboBox>
  1134. <TextBlock
  1135. Margin="3,0,0,0"
  1136. VerticalAlignment="Center"
  1137. FontSize="{Binding WordSize14}"
  1138. Text="页" />
  1139. </StackPanel>
  1140. </Grid>
  1141. <StackPanel
  1142. Margin="5"
  1143. HorizontalAlignment="Right"
  1144. VerticalAlignment="Center"
  1145. Orientation="Horizontal">
  1146. <TextBlock
  1147. Margin="5,0,0,0"
  1148. Padding="0,0,0,0"
  1149. VerticalAlignment="Center"
  1150. FontSize="{Binding WordSize12}"
  1151. Text="颜色: " />
  1152. <Button
  1153. x:Name="btnWhite"
  1154. Width="20"
  1155. Height="20"
  1156. Margin="0,2,0,0"
  1157. Background="#FFFFFF"
  1158. Click="BtnWhite_Click"
  1159. Cursor="Hand"
  1160. Visibility="Collapsed" />
  1161. <Border
  1162. Width="20"
  1163. Height="20"
  1164. Margin="5,2,0,0"
  1165. Background="#666666">
  1166. <Button
  1167. x:Name="btnRed"
  1168. Width="20"
  1169. Height="20"
  1170. Margin="1,1,1,1"
  1171. HorizontalAlignment="Center"
  1172. Background="#FF0000"
  1173. Click="BtnRed_Click"
  1174. Cursor="Hand"
  1175. Style="{StaticResource NoMouseOverButtonStyle}">
  1176. <Image
  1177. x:Name="imgRed"
  1178. Width="12"
  1179. Source=".\Images\microLessonSystem_999.png"
  1180. Visibility="Visible" />
  1181. </Button>
  1182. </Border>
  1183. <Border
  1184. Width="20"
  1185. Height="20"
  1186. Margin="5,2,0,0"
  1187. Background="#666666">
  1188. <Button
  1189. x:Name="btnGray"
  1190. Width="20"
  1191. Height="20"
  1192. Margin="1,1,1,1"
  1193. Background="#333333"
  1194. Click="BtnGray_Click"
  1195. Cursor="Hand"
  1196. Style="{StaticResource NoMouseOverButtonStyle}">
  1197. <Image
  1198. x:Name="imgGray"
  1199. Width="12"
  1200. Source=".\Images\microLessonSystem_999.png"
  1201. Visibility="Collapsed" />
  1202. </Button>
  1203. </Border>
  1204. <Border
  1205. Width="20"
  1206. Height="20"
  1207. Margin="5,2,0,0"
  1208. Background="#666666">
  1209. <Button
  1210. x:Name="btnCyanBlue"
  1211. Width="20"
  1212. Height="20"
  1213. Margin="1,1,1,1"
  1214. Background="#63D600"
  1215. Click="BtnCyanBlue_Click"
  1216. Cursor="Hand"
  1217. Style="{StaticResource NoMouseOverButtonStyle}">
  1218. <Image
  1219. x:Name="imgCyanBlue"
  1220. Width="12"
  1221. Source=".\Images\microLessonSystem_999.png"
  1222. Visibility="Collapsed" />
  1223. </Button>
  1224. </Border>
  1225. <Border
  1226. Width="20"
  1227. Height="20"
  1228. Margin="5,2,0,0"
  1229. Background="#666666">
  1230. <Button
  1231. x:Name="btnYellow"
  1232. Width="20"
  1233. Height="20"
  1234. Margin="1,1,1,1"
  1235. Background="#FFBC00"
  1236. Click="BtnYellow_Click"
  1237. Cursor="Hand"
  1238. Style="{StaticResource NoMouseOverButtonStyle}">
  1239. <Image
  1240. x:Name="imgYellow"
  1241. Width="12"
  1242. Source=".\Images\microLessonSystem_999.png"
  1243. Visibility="Collapsed" />
  1244. </Button>
  1245. </Border>
  1246. <Border
  1247. Width="20"
  1248. Height="20"
  1249. Margin="5,2,0,0"
  1250. Background="#666666">
  1251. <Button
  1252. x:Name="btnBlue"
  1253. Width="20"
  1254. Height="20"
  1255. Margin="1,1,1,1"
  1256. Background="#00B4FC"
  1257. Click="BtnBlue_Click"
  1258. Cursor="Hand"
  1259. Style="{StaticResource NoMouseOverButtonStyle}">
  1260. <Image
  1261. x:Name="imgBlue"
  1262. Width="12"
  1263. Source=".\Images\microLessonSystem_999.png"
  1264. Visibility="Collapsed" />
  1265. </Button>
  1266. </Border>
  1267. <TextBlock
  1268. Margin="5,0,0,0"
  1269. Padding="0,0,0,0"
  1270. VerticalAlignment="Center"
  1271. FontSize="{Binding WordSize12}"
  1272. Text="粗细: " />
  1273. <RadioButton
  1274. x:Name="rbnFine"
  1275. Margin="0"
  1276. VerticalAlignment="Center"
  1277. Click="RbnFine_Click"
  1278. Content=" 细"
  1279. Cursor="Hand"
  1280. FontSize="{Binding WordSize12}"
  1281. IsChecked="True"
  1282. Style="{StaticResource radBase}" />
  1283. <RadioButton
  1284. x:Name="rbnIn"
  1285. Margin="5,0,0,0"
  1286. VerticalAlignment="Center"
  1287. Click="RbnIn_Click"
  1288. Content=" 中"
  1289. Cursor="Hand"
  1290. FontSize="{Binding WordSize12}"
  1291. Style="{StaticResource radBase}" />
  1292. <RadioButton
  1293. x:Name="rbnCrude"
  1294. Margin="5,0,0,0"
  1295. VerticalAlignment="Center"
  1296. Click="RbnCrude_Click"
  1297. Content=" 粗"
  1298. Cursor="Hand"
  1299. FontSize="{Binding WordSize12}"
  1300. Style="{StaticResource radBase}" />
  1301. </StackPanel>
  1302. <StackPanel
  1303. Margin="5"
  1304. HorizontalAlignment="Right"
  1305. VerticalAlignment="Center"
  1306. Orientation="Horizontal">
  1307. <TextBlock
  1308. Padding="5,0,0,0"
  1309. VerticalAlignment="Center"
  1310. FontSize="{Binding WordSize12}"
  1311. Text="摄像头: " />
  1312. <RadioButton
  1313. x:Name="rbnOpen"
  1314. Margin="0,0,0,0"
  1315. VerticalAlignment="Center"
  1316. Click="RbnOpen_Click"
  1317. Content=" 开"
  1318. Cursor="Hand"
  1319. FontSize="{Binding WordSize12}"
  1320. Style="{StaticResource radBase}" />
  1321. <RadioButton
  1322. x:Name="rbnTurnOff"
  1323. Margin="5,0,10,0"
  1324. VerticalAlignment="Center"
  1325. Click="RbnTurnOff_Click"
  1326. Content=" 关"
  1327. Cursor="Hand"
  1328. FontSize="{Binding WordSize12}"
  1329. IsChecked="True"
  1330. Style="{StaticResource radBase}" />
  1331. </StackPanel>
  1332. </StackPanel>
  1333. </Grid>
  1334. </Grid>
  1335. <!-- 设置 955 -->
  1336. <ScrollViewer
  1337. x:Name="gridSetUp"
  1338. VerticalScrollBarVisibility="Auto"
  1339. Visibility="Collapsed">
  1340. <Grid>
  1341. <Grid Background="#FFFFFF">
  1342. <Grid.RowDefinitions>
  1343. <RowDefinition Height="200*" />
  1344. <RowDefinition Height="160*" />
  1345. <RowDefinition Height="100*" />
  1346. <RowDefinition Height="200*" />
  1347. <RowDefinition Height="90*" />
  1348. <RowDefinition Height="205*" />
  1349. </Grid.RowDefinitions>
  1350. <!-- 更换皮肤 h200 -->
  1351. <Grid Grid.Row="0" Margin="100,0">
  1352. <Grid.RowDefinitions>
  1353. <RowDefinition Height="20*" />
  1354. <RowDefinition Height="20*" />
  1355. <RowDefinition Height="140*" />
  1356. <RowDefinition Height="20*" />
  1357. </Grid.RowDefinitions>
  1358. <Grid Grid.Row="1" Grid.Column="0">
  1359. <Grid.ColumnDefinitions>
  1360. <ColumnDefinition Width="215*" />
  1361. <ColumnDefinition Width="646*" />
  1362. </Grid.ColumnDefinitions>
  1363. <TextBlock
  1364. Grid.Column="0"
  1365. HorizontalAlignment="Right"
  1366. VerticalAlignment="Center"
  1367. FontSize="{Binding WordSize16}"
  1368. Foreground="#333333"
  1369. Text="更换皮肤" />
  1370. </Grid>
  1371. <Grid Grid.Row="2">
  1372. <Grid.ColumnDefinitions>
  1373. <ColumnDefinition Width="120*" />
  1374. <ColumnDefinition Width="207*" />
  1375. <ColumnDefinition Width="207*" />
  1376. <ColumnDefinition Width="207*" />
  1377. <ColumnDefinition Width="120*" />
  1378. </Grid.ColumnDefinitions>
  1379. <Grid.RowDefinitions>
  1380. <RowDefinition Height="100*" />
  1381. <RowDefinition Height="36*" />
  1382. </Grid.RowDefinitions>
  1383. <Grid
  1384. Grid.Row="0"
  1385. Grid.Column="1"
  1386. Margin="5,0">
  1387. <Button
  1388. x:Name="BtnSkinWhite"
  1389. HorizontalAlignment="Stretch"
  1390. VerticalAlignment="Center"
  1391. Click="BtnSkinWhite_Click"
  1392. Cursor="Hand"
  1393. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1394. <Button.Template>
  1395. <ControlTemplate TargetType="{x:Type Button}">
  1396. <StackPanel>
  1397. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_White.png" />
  1398. </StackPanel>
  1399. <ControlTemplate.Triggers>
  1400. <Trigger Property="IsMouseOver" Value="True">
  1401. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_White_MI.png" />
  1402. </Trigger>
  1403. </ControlTemplate.Triggers>
  1404. </ControlTemplate>
  1405. </Button.Template>
  1406. </Button>
  1407. <Image
  1408. x:Name="SkinSelectWhite"
  1409. Margin="140,0,15,15"
  1410. HorizontalAlignment="Right"
  1411. VerticalAlignment="Bottom"
  1412. Source="/SkinImages/Skin/Skin_Select.png" />
  1413. </Grid>
  1414. <Grid
  1415. Grid.Row="0"
  1416. Grid.Column="2"
  1417. Margin="5,0">
  1418. <Button
  1419. x:Name="BtnSkinTechnologyBlue"
  1420. HorizontalAlignment="Stretch"
  1421. VerticalAlignment="Center"
  1422. Click="BtnSkinTechnologyBlue_Click"
  1423. Cursor="Hand"
  1424. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1425. <Button.Template>
  1426. <ControlTemplate TargetType="{x:Type Button}">
  1427. <StackPanel>
  1428. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
  1429. </StackPanel>
  1430. <ControlTemplate.Triggers>
  1431. <Trigger Property="IsMouseOver" Value="True">
  1432. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png" />
  1433. </Trigger>
  1434. </ControlTemplate.Triggers>
  1435. </ControlTemplate>
  1436. </Button.Template>
  1437. </Button>
  1438. <Image
  1439. x:Name="SkinSelectTechnologyBlue"
  1440. Margin="140,0,15,15"
  1441. HorizontalAlignment="Right"
  1442. VerticalAlignment="Bottom"
  1443. Source="/SkinImages/Skin/Skin_Select.png"
  1444. Visibility="Hidden" />
  1445. </Grid>
  1446. <Grid Grid.Row="0" Grid.Column="3" />
  1447. <Grid Grid.Row="0" Grid.Column="4" />
  1448. <Grid Grid.Row="1" Grid.Column="1">
  1449. <TextBlock
  1450. HorizontalAlignment="Center"
  1451. VerticalAlignment="Center"
  1452. FontSize="{Binding WordSize16}"
  1453. Foreground="#333333"
  1454. Text="经典白" />
  1455. </Grid>
  1456. <Grid Grid.Row="1" Grid.Column="2">
  1457. <TextBlock
  1458. HorizontalAlignment="Center"
  1459. VerticalAlignment="Center"
  1460. FontSize="{Binding WordSize16}"
  1461. Foreground="#333333"
  1462. Text="科技蓝" />
  1463. </Grid>
  1464. <Grid Grid.Row="1" Grid.Column="3" />
  1465. <Grid Grid.Row="1" Grid.Column="4" />
  1466. </Grid>
  1467. <Label
  1468. Grid.Row="3"
  1469. Height="1"
  1470. VerticalAlignment="Bottom"
  1471. Background="#FFEFEFEF" />
  1472. </Grid>
  1473. <!-- 视频格式 摄像头位置 h200 -->
  1474. <Grid Grid.Row="1" Margin="100,0">
  1475. <Grid>
  1476. <Grid.ColumnDefinitions>
  1477. <ColumnDefinition Width="215*" />
  1478. <ColumnDefinition Width="215*" />
  1479. <ColumnDefinition Width="215*" />
  1480. <ColumnDefinition Width="216*" />
  1481. </Grid.ColumnDefinitions>
  1482. <Grid.RowDefinitions>
  1483. <RowDefinition Height="20*" />
  1484. <RowDefinition Height="60*" />
  1485. <RowDefinition Height="60*" />
  1486. <RowDefinition Height="20*" />
  1487. </Grid.RowDefinitions>
  1488. <Grid Grid.Row="1" Grid.Column="0">
  1489. <TextBlock
  1490. Grid.Row="1"
  1491. Grid.Column="0"
  1492. HorizontalAlignment="Right"
  1493. VerticalAlignment="Center"
  1494. FontSize="{Binding WordSize16}"
  1495. Foreground="#333333"
  1496. Text="视频格式" />
  1497. </Grid>
  1498. <Grid Grid.Row="1" Grid.Column="1">
  1499. <StackPanel
  1500. Margin="15,0,0,0"
  1501. HorizontalAlignment="Left"
  1502. VerticalAlignment="Center"
  1503. Orientation="Horizontal">
  1504. <RadioButton
  1505. x:Name="rbnMP4"
  1506. VerticalAlignment="Top"
  1507. Content=" MP4"
  1508. Cursor="Hand"
  1509. FontSize="{Binding WordSize16}"
  1510. Foreground="#333333"
  1511. IsChecked="True"
  1512. Style="{StaticResource radBase}" />
  1513. <RadioButton
  1514. x:Name="rbnFLV"
  1515. Margin="15,0,0,0"
  1516. VerticalAlignment="Top"
  1517. Content=" FLV"
  1518. Cursor="Hand"
  1519. FontSize="{Binding WordSize16}"
  1520. Foreground="#333333"
  1521. Style="{StaticResource radBase}" />
  1522. <RadioButton
  1523. x:Name="rbnAVI"
  1524. Margin="15,0,0,0"
  1525. Content=" AVI"
  1526. Cursor="Hand"
  1527. FontSize="{Binding WordSize16}"
  1528. Foreground="#333333"
  1529. Style="{StaticResource radBase}"
  1530. Visibility="Collapsed" />
  1531. </StackPanel>
  1532. </Grid>
  1533. <Grid Grid.Row="1" Grid.Column="2">
  1534. <TextBlock
  1535. HorizontalAlignment="Right"
  1536. VerticalAlignment="Center"
  1537. FontSize="{Binding WordSize16}"
  1538. Foreground="#333333"
  1539. Text="摄像头位置" />
  1540. </Grid>
  1541. <Grid Grid.Row="1" Grid.Column="3">
  1542. <!--<Grid.ColumnDefinitions>
  1543. <ColumnDefinition Width="15*" />
  1544. <ColumnDefinition Width="80*" />
  1545. <ColumnDefinition Width="80*" />
  1546. <ColumnDefinition Width="41*" />
  1547. </Grid.ColumnDefinitions>
  1548. <Grid.RowDefinitions>
  1549. <RowDefinition Height="60*" />
  1550. <RowDefinition Height="60*" />
  1551. </Grid.RowDefinitions>-->
  1552. <StackPanel
  1553. Margin="15,0,0,0"
  1554. HorizontalAlignment="Left"
  1555. VerticalAlignment="Center"
  1556. Orientation="Horizontal">
  1557. <RadioButton
  1558. x:Name="rbnRight"
  1559. Margin="0"
  1560. HorizontalAlignment="Left"
  1561. VerticalAlignment="Center"
  1562. Content=" 右上"
  1563. Cursor="Hand"
  1564. FontSize="{Binding WordSize16}"
  1565. Foreground="#333333"
  1566. GroupName="RbtnCamera"
  1567. IsChecked="True"
  1568. Style="{StaticResource radBase}" />
  1569. <RadioButton
  1570. x:Name="rbnRightUnder"
  1571. Margin="15,0"
  1572. HorizontalAlignment="Left"
  1573. VerticalAlignment="Center"
  1574. Content=" 右下"
  1575. Cursor="Hand"
  1576. FontSize="{Binding WordSize16}"
  1577. Foreground="#333333"
  1578. GroupName="RbtnCamera"
  1579. Style="{StaticResource radBase}" />
  1580. </StackPanel>
  1581. </Grid>
  1582. <Grid Grid.Row="2" Grid.Column="3">
  1583. <StackPanel
  1584. Margin="15,0,0,0"
  1585. HorizontalAlignment="Left"
  1586. VerticalAlignment="Center"
  1587. Orientation="Horizontal">
  1588. <RadioButton
  1589. x:Name="rbnLeft"
  1590. Margin="0"
  1591. HorizontalAlignment="Left"
  1592. VerticalAlignment="Center"
  1593. Content=" 左上"
  1594. Cursor="Hand"
  1595. FontSize="{Binding WordSize16}"
  1596. Foreground="#333333"
  1597. GroupName="RbtnCamera"
  1598. Style="{StaticResource radBase}" />
  1599. <RadioButton
  1600. x:Name="rbnLeftUnder"
  1601. Margin="15,0"
  1602. HorizontalAlignment="Left"
  1603. VerticalAlignment="Center"
  1604. Content=" 左下"
  1605. Cursor="Hand"
  1606. FontSize="{Binding WordSize16}"
  1607. Foreground="#333333"
  1608. GroupName="RbtnCamera"
  1609. Style="{StaticResource radBase}" />
  1610. </StackPanel>
  1611. </Grid>
  1612. <Grid Grid.Row="2" Grid.Column="0">
  1613. <TextBlock
  1614. HorizontalAlignment="Right"
  1615. VerticalAlignment="Center"
  1616. FontSize="{Binding WordSize16}"
  1617. Foreground="#333333"
  1618. Text="录屏工具栏" />
  1619. </Grid>
  1620. <Grid Grid.Row="2" Grid.Column="1">
  1621. <StackPanel
  1622. Margin="15,0,0,0"
  1623. HorizontalAlignment="Left"
  1624. VerticalAlignment="Center"
  1625. Orientation="Horizontal">
  1626. <RadioButton
  1627. x:Name="rbnHide"
  1628. VerticalAlignment="Top"
  1629. Content=" 隐藏"
  1630. Cursor="Hand"
  1631. FontSize="{Binding WordSize16}"
  1632. Foreground="#333333"
  1633. IsChecked="True"
  1634. Style="{StaticResource radBase}" />
  1635. <RadioButton
  1636. x:Name="rbnvisi"
  1637. Margin="15,0,0,0"
  1638. VerticalAlignment="Top"
  1639. Content=" 显示"
  1640. Cursor="Hand"
  1641. FontSize="{Binding WordSize16}"
  1642. Foreground="#333333"
  1643. Style="{StaticResource radBase}" />
  1644. </StackPanel>
  1645. </Grid>
  1646. <Grid Grid.Row="2" Grid.Column="2" />
  1647. </Grid>
  1648. <Label
  1649. Height="1"
  1650. VerticalAlignment="Bottom"
  1651. Background="#FFEFEFEF" />
  1652. </Grid>
  1653. <!-- 地址修改 h305 -->
  1654. <Grid Grid.Row="2" Margin="100,0">
  1655. <Grid>
  1656. <Grid.ColumnDefinitions>
  1657. <ColumnDefinition Width="215*" />
  1658. <ColumnDefinition Width="430*" />
  1659. <ColumnDefinition Width="215*" />
  1660. </Grid.ColumnDefinitions>
  1661. <Grid.RowDefinitions>
  1662. <RowDefinition Height="20*" />
  1663. <RowDefinition Height="60*" />
  1664. <RowDefinition Height="20*" />
  1665. </Grid.RowDefinitions>
  1666. <!-- 地址 废弃2021年7月9日赵耀 -->
  1667. <Grid Visibility="Collapsed" />
  1668. <Grid Grid.Row="1" Grid.Column="0">
  1669. <TextBlock
  1670. Padding="0,0,0,0"
  1671. HorizontalAlignment="Right"
  1672. VerticalAlignment="Center"
  1673. FontSize="{Binding WordSize16}"
  1674. Foreground="#333333"
  1675. Text="文件路径" />
  1676. </Grid>
  1677. <Grid Grid.Row="1" Grid.Column="1">
  1678. <Grid Margin="20,17,10,17">
  1679. <Border
  1680. BorderBrush="#FFE3E3E3"
  1681. BorderThickness="1"
  1682. CornerRadius="1">
  1683. <Label
  1684. x:Name="txbStoragePath"
  1685. Margin="10,0"
  1686. Background="#FFFFFF"
  1687. BorderBrush="{x:Null}"
  1688. BorderThickness="0"
  1689. Content="D:\"
  1690. FontSize="{Binding WordSize12}"
  1691. Foreground="#333333" />
  1692. </Border>
  1693. </Grid>
  1694. </Grid>
  1695. <Grid Grid.Row="1" Grid.Column="2">
  1696. <Grid.ColumnDefinitions>
  1697. <ColumnDefinition Width="100*" />
  1698. <ColumnDefinition Width="100*" />
  1699. <ColumnDefinition Width="25*" />
  1700. </Grid.ColumnDefinitions>
  1701. <!-- 浏览按钮 -->
  1702. <Button
  1703. x:Name="btnBrowse"
  1704. Grid.Column="0"
  1705. Margin="10,15"
  1706. HorizontalAlignment="Stretch"
  1707. VerticalAlignment="Stretch"
  1708. Click="BtnBrowse_Click"
  1709. Content="浏览"
  1710. Cursor="Hand"
  1711. FontSize="{Binding WordSize16}"
  1712. Foreground="#FFFFFF"
  1713. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1714. <Button.Template>
  1715. <ControlTemplate TargetType="{x:Type Button}">
  1716. <Border
  1717. BorderBrush="{TemplateBinding BorderBrush}"
  1718. BorderThickness="1"
  1719. CornerRadius="8">
  1720. <Border.Background>
  1721. <Brush>#2D8CF0</Brush>
  1722. </Border.Background>
  1723. <ContentPresenter
  1724. HorizontalAlignment="Center"
  1725. VerticalAlignment="Center"
  1726. Content="{TemplateBinding Content}" />
  1727. </Border>
  1728. </ControlTemplate>
  1729. </Button.Template>
  1730. </Button>
  1731. <!-- 打开按钮 -->
  1732. <Button
  1733. x:Name="btnOpen"
  1734. Grid.Column="1"
  1735. Margin="10,15"
  1736. HorizontalAlignment="Stretch"
  1737. VerticalAlignment="Stretch"
  1738. Click="btnOpen_Click"
  1739. Content="打开"
  1740. Cursor="Hand"
  1741. FontSize="{Binding WordSize16}"
  1742. Foreground="#FFFFFF"
  1743. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1744. <Button.Template>
  1745. <ControlTemplate TargetType="{x:Type Button}">
  1746. <Border
  1747. BorderBrush="{TemplateBinding BorderBrush}"
  1748. BorderThickness="1"
  1749. CornerRadius="8">
  1750. <Border.Background>
  1751. <Brush>#2D8CF0</Brush>
  1752. </Border.Background>
  1753. <ContentPresenter
  1754. HorizontalAlignment="Center"
  1755. VerticalAlignment="Center"
  1756. Content="{TemplateBinding Content}" />
  1757. </Border>
  1758. </ControlTemplate>
  1759. </Button.Template>
  1760. </Button>
  1761. </Grid>
  1762. </Grid>
  1763. <Label
  1764. Height="1"
  1765. VerticalAlignment="Bottom"
  1766. Background="#FFEFEFEF" />
  1767. </Grid>
  1768. <!-- 版权 快捷键 版本号 h200 -->
  1769. <Grid Grid.Row="3" Margin="100,0">
  1770. <Grid.ColumnDefinitions>
  1771. <ColumnDefinition Width="215*" />
  1772. <ColumnDefinition Width="215*" />
  1773. <ColumnDefinition Width="215*" />
  1774. <ColumnDefinition Width="215*" />
  1775. </Grid.ColumnDefinitions>
  1776. <Grid.RowDefinitions>
  1777. <RowDefinition Height="20*" />
  1778. <RowDefinition Height="60*" />
  1779. <RowDefinition Height="60*" />
  1780. <RowDefinition Height="60*" />
  1781. </Grid.RowDefinitions>
  1782. <Grid Grid.Row="1" Grid.Column="0">
  1783. <TextBlock
  1784. Padding="0,0,0,0"
  1785. HorizontalAlignment="Right"
  1786. VerticalAlignment="Center"
  1787. FontSize="{Binding WordSize16}"
  1788. Foreground="#FF666666"
  1789. Text="录屏快捷键" />
  1790. </Grid>
  1791. <Grid
  1792. Grid.Row="1"
  1793. Grid.Column="1"
  1794. Grid.ColumnSpan="3">
  1795. <TextBlock
  1796. Margin="20,0,0,0"
  1797. VerticalAlignment="Center"
  1798. FontSize="{Binding WordSize16}"
  1799. Foreground="#FF666666"
  1800. Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" />
  1801. </Grid>
  1802. <Grid Grid.Row="2" Grid.Column="0">
  1803. <TextBlock
  1804. HorizontalAlignment="Right"
  1805. VerticalAlignment="Center"
  1806. FontSize="{Binding WordSize16}"
  1807. Foreground="#FF666666"
  1808. Text="版权所有" />
  1809. </Grid>
  1810. <Grid
  1811. Grid.Row="2"
  1812. Grid.Column="1"
  1813. Grid.ColumnSpan="3">
  1814. <TextBlock
  1815. Margin="20,0,0,0"
  1816. VerticalAlignment="Center"
  1817. FontSize="{Binding WordSize16}"
  1818. Foreground="#FF666666"
  1819. Text="河南星火燎原软件科技有限公司" />
  1820. </Grid>
  1821. <Grid Grid.Row="3" Grid.Column="0">
  1822. <TextBlock
  1823. x:Name="txbVersion"
  1824. Margin="0,0,0,0"
  1825. HorizontalAlignment="Right"
  1826. VerticalAlignment="Center"
  1827. FontSize="{Binding WordSize16}"
  1828. Foreground="#FF666666"
  1829. Text="正式版:" />
  1830. </Grid>
  1831. <Grid Grid.Row="3" Grid.Column="1">
  1832. <TextBlock
  1833. x:Name="txbv"
  1834. Margin="20,0,0,0"
  1835. VerticalAlignment="Center"
  1836. FontSize="{Binding WordSize16}"
  1837. Foreground="#FF666666"
  1838. Text="V0.0.0" />
  1839. </Grid>
  1840. </Grid>
  1841. <!-- 按钮 h50 -->
  1842. <Grid Grid.Row="4" Margin="100,0">
  1843. <Grid.ColumnDefinitions>
  1844. <ColumnDefinition Width="215*" />
  1845. <ColumnDefinition Width="530*" />
  1846. <ColumnDefinition Width="115*" />
  1847. </Grid.ColumnDefinitions>
  1848. <Grid.RowDefinitions>
  1849. <RowDefinition Height="50*" />
  1850. <RowDefinition Height="40*" />
  1851. </Grid.RowDefinitions>
  1852. <Grid Grid.Column="2">
  1853. <!-- 保存 -->
  1854. <Button
  1855. x:Name="btnSave"
  1856. Margin="5"
  1857. HorizontalAlignment="Stretch"
  1858. VerticalAlignment="Stretch"
  1859. Click="BtnSave_Click"
  1860. Content="保存"
  1861. Cursor="Hand"
  1862. FontSize="{Binding WordSize18}"
  1863. Foreground="#FFFFFF"
  1864. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1865. <Button.Template>
  1866. <ControlTemplate TargetType="{x:Type Button}">
  1867. <Border
  1868. BorderBrush="{TemplateBinding BorderBrush}"
  1869. BorderThickness="1"
  1870. CornerRadius="10">
  1871. <Border.Background>
  1872. <Brush>#2D8CF0</Brush>
  1873. </Border.Background>
  1874. <ContentPresenter
  1875. HorizontalAlignment="Center"
  1876. VerticalAlignment="Center"
  1877. Content="{TemplateBinding Content}" />
  1878. </Border>
  1879. </ControlTemplate>
  1880. </Button.Template>
  1881. </Button>
  1882. </Grid>
  1883. <Grid
  1884. Grid.Row="0"
  1885. Grid.Column="0"
  1886. Visibility="Collapsed">
  1887. <TextBlock
  1888. Margin="0,30,0,0"
  1889. HorizontalAlignment="Right"
  1890. FontSize="16"
  1891. Foreground="#333333"
  1892. Text="设备"
  1893. Visibility="Hidden" />
  1894. <TextBlock
  1895. x:Name="txbNotConnecteds"
  1896. Margin="30,30,0,0"
  1897. FontSize="14"
  1898. Foreground="#333333"
  1899. Text="未连接"
  1900. Visibility="Hidden" />
  1901. </Grid>
  1902. </Grid>
  1903. </Grid>
  1904. </Grid>
  1905. </ScrollViewer>
  1906. <!-- 上传 废弃 -->
  1907. <Grid x:Name="gridUpload" Visibility="Collapsed">
  1908. <Border Background="#EFF1F8">
  1909. <Grid Margin="0,0,0,0" Background="#FFFFFF">
  1910. <!-- 分4行 -->
  1911. <Grid.RowDefinitions>
  1912. <RowDefinition Height="*" />
  1913. <RowDefinition Height="30" />
  1914. </Grid.RowDefinitions>
  1915. <!-- 第二行 内容 -->
  1916. <Grid Grid.Row="0" Margin="0,0,0,0">
  1917. <Grid.RowDefinitions>
  1918. <RowDefinition Height="45" />
  1919. <RowDefinition Height="*" />
  1920. </Grid.RowDefinitions>
  1921. <UniformGrid
  1922. x:Name="uniStatisticsByTitle"
  1923. Grid.Row="0"
  1924. Margin="0,0,0,0"
  1925. Background="#E6F0FF"
  1926. Columns="5"
  1927. Rows="1">
  1928. <TextBlock
  1929. HorizontalAlignment="Center"
  1930. VerticalAlignment="Center"
  1931. FontSize="16"
  1932. Text="序号" />
  1933. <TextBlock
  1934. HorizontalAlignment="Center"
  1935. VerticalAlignment="Center"
  1936. FontSize="16"
  1937. Text="视频名称" />
  1938. <!--<TextBlock
  1939. HorizontalAlignment="Center"
  1940. VerticalAlignment="Center"
  1941. FontSize="15"
  1942. Text="视频时长" Foreground="White" />-->
  1943. <TextBlock
  1944. HorizontalAlignment="Center"
  1945. VerticalAlignment="Center"
  1946. FontSize="16"
  1947. Text="视频大小" />
  1948. <TextBlock
  1949. HorizontalAlignment="Center"
  1950. VerticalAlignment="Center"
  1951. FontSize="16"
  1952. Text="日期" />
  1953. <TextBlock
  1954. HorizontalAlignment="Center"
  1955. VerticalAlignment="Center"
  1956. FontSize="16"
  1957. Text="操作" />
  1958. </UniformGrid>
  1959. <ListBox
  1960. x:Name="listView1"
  1961. Grid.Row="1"
  1962. Margin="0,0,0,0"
  1963. BorderThickness="0"
  1964. FontSize="20"
  1965. ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
  1966. ItemTemplate="{StaticResource TongjiItem}"
  1967. ItemsSource="{Binding menuList}"
  1968. ScrollViewer.HorizontalScrollBarVisibility="Disabled"
  1969. ScrollViewer.VerticalScrollBarVisibility="Disabled" />
  1970. </Grid>
  1971. <StackPanel
  1972. x:Name="stpUp"
  1973. Grid.Row="3"
  1974. Grid.Column="1"
  1975. Width="180"
  1976. Height="30"
  1977. Margin="0,0,0,0"
  1978. HorizontalAlignment="Center"
  1979. VerticalAlignment="Bottom"
  1980. Background="Transparent"
  1981. Orientation="Horizontal">
  1982. <Button
  1983. x:Name="btnLastPage"
  1984. Width="60"
  1985. Height="20"
  1986. Click="BtnLastPage_Click"
  1987. Cursor="Hand"
  1988. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1989. <StackPanel>
  1990. <Image
  1991. Width="16"
  1992. Height="12"
  1993. Source=".\Images\class_p1.png" />
  1994. </StackPanel>
  1995. </Button>
  1996. <Grid Width="60" Background="Transparent">
  1997. <Grid.RowDefinitions>
  1998. <RowDefinition Height="311*" />
  1999. <RowDefinition Height="483*" />
  2000. </Grid.RowDefinitions>
  2001. <StackPanel
  2002. Grid.Row="1"
  2003. Margin="0,-12,0,0"
  2004. HorizontalAlignment="Center"
  2005. VerticalAlignment="Center"
  2006. Background="Transparent">
  2007. <StackPanel
  2008. HorizontalAlignment="Center"
  2009. Background="Transparent"
  2010. Orientation="Horizontal">
  2011. <TextBlock
  2012. x:Name="txbCurrpageTwo"
  2013. FontSize="15"
  2014. TextAlignment="Center" />
  2015. <TextBlock
  2016. FontSize="15"
  2017. Text="/"
  2018. TextAlignment="Center" />
  2019. <TextBlock
  2020. x:Name="txbPageNumTwo"
  2021. FontSize="15"
  2022. TextAlignment="Center" />
  2023. </StackPanel>
  2024. </StackPanel>
  2025. </Grid>
  2026. <Button
  2027. x:Name="btnNextPage"
  2028. Width="60"
  2029. Height="20"
  2030. Background="Transparent"
  2031. Click="BtnNextPage_Click"
  2032. Cursor="Hand"
  2033. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  2034. <StackPanel>
  2035. <Image
  2036. Width="16"
  2037. Height="12"
  2038. Source=".\Images\class_p2.png" />
  2039. </StackPanel>
  2040. </Button>
  2041. </StackPanel>
  2042. </Grid>
  2043. </Border>
  2044. </Grid>
  2045. <!-- 我的 -->
  2046. <Grid
  2047. x:Name="GridMyVideo"
  2048. Margin="0"
  2049. Background="White"
  2050. Visibility="Collapsed">
  2051. <Grid.RowDefinitions>
  2052. <RowDefinition Height="905*" />
  2053. <RowDefinition Height="50*" />
  2054. </Grid.RowDefinitions>
  2055. <Label
  2056. x:Name="lblVideoMess"
  2057. Grid.Row="0"
  2058. Margin="0,0,0,100"
  2059. HorizontalAlignment="Center"
  2060. VerticalAlignment="Center"
  2061. Content="暂无微课录制信息,请录制并等待保存完成后重试!"
  2062. FontSize="20"
  2063. Visibility="Hidden" />
  2064. <Button
  2065. x:Name="BtnVideoUpPage"
  2066. Grid.Row="1"
  2067. Width="60"
  2068. Margin="0,0,150,12"
  2069. HorizontalAlignment="Center"
  2070. VerticalAlignment="Bottom"
  2071. Background="{x:Null}"
  2072. BorderBrush="{x:Null}"
  2073. Click="BtnVideoUpPage_Click"
  2074. Content="上一页"
  2075. Cursor="Hand"
  2076. FontSize="16"
  2077. Foreground="#FF333333" />
  2078. <Label
  2079. x:Name="lblVideoPageNum"
  2080. Grid.Row="1"
  2081. Margin="0,0,0,10"
  2082. HorizontalAlignment="Center"
  2083. VerticalAlignment="Bottom"
  2084. Content="100/100"
  2085. FontSize="14"
  2086. Foreground="#FF333333" />
  2087. <Button
  2088. x:Name="BtnVideoDownPage"
  2089. Grid.Row="1"
  2090. Width="60"
  2091. Margin="150,0,0,12"
  2092. HorizontalAlignment="Center"
  2093. VerticalAlignment="Bottom"
  2094. Background="{x:Null}"
  2095. BorderBrush="{x:Null}"
  2096. Click="BtnVideoDownPage_Click"
  2097. Content="下一页"
  2098. Cursor="Hand"
  2099. FontSize="16"
  2100. Foreground="#FF333333" />
  2101. </Grid>
  2102. <!-- 打印 -->
  2103. <Grid
  2104. x:Name="GridPrintContent"
  2105. Background="White"
  2106. Visibility="Collapsed">
  2107. <Grid.RowDefinitions>
  2108. <RowDefinition Height="905*" />
  2109. <RowDefinition Height="50*" />
  2110. </Grid.RowDefinitions>
  2111. <Grid Grid.Row="0">
  2112. <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
  2113. <ScrollViewer VerticalScrollBarVisibility="Visible">
  2114. <Image x:Name="imgPri" />
  2115. </ScrollViewer>
  2116. </Border>
  2117. </Grid>
  2118. </Grid>
  2119. </Grid>
  2120. </Grid>
  2121. </Grid>
  2122. <!-- 打印相关 -->
  2123. <Border
  2124. x:Name="GridPrintingTitle"
  2125. Grid.Column="1"
  2126. Width="588"
  2127. Height="210"
  2128. BorderBrush="#eeeeee"
  2129. BorderThickness="1"
  2130. Visibility="Collapsed">
  2131. <Grid Background="#ffffff">
  2132. <Grid.RowDefinitions>
  2133. <RowDefinition Height="46" />
  2134. <RowDefinition Height="*" />
  2135. <RowDefinition Height="64" />
  2136. </Grid.RowDefinitions>
  2137. <Grid Grid.Row="0" Background="#F1F2F8">
  2138. <TextBlock
  2139. Margin="10,0,0,0"
  2140. VerticalAlignment="Center"
  2141. FontSize="16"
  2142. Foreground="#333333"
  2143. Text="打印机" />
  2144. <Button
  2145. Grid.Row="0"
  2146. Width="46"
  2147. HorizontalAlignment="Right"
  2148. VerticalAlignment="Top"
  2149. Click="BtnPrintCloseClick"
  2150. Content="×"
  2151. Cursor="Hand"
  2152. FontSize="30"
  2153. Foreground="#FF333333"
  2154. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  2155. </Grid>
  2156. <Grid Grid.Row="1" Height="46">
  2157. <Grid.ColumnDefinitions>
  2158. <ColumnDefinition Width="Auto" />
  2159. <ColumnDefinition Width="*" />
  2160. </Grid.ColumnDefinitions>
  2161. <TextBlock
  2162. Grid.Column="0"
  2163. Margin="10,0,0,0"
  2164. HorizontalAlignment="Left"
  2165. VerticalAlignment="Center"
  2166. FontSize="16"
  2167. Style="{DynamicResource TxbMesColor}"
  2168. Text="打印机:" />
  2169. <ComboBox
  2170. x:Name="cmbClass"
  2171. Grid.Column="1"
  2172. Height="36"
  2173. Margin="4,0,10,0"
  2174. Padding="10,0,0,0"
  2175. HorizontalAlignment="Stretch"
  2176. HorizontalContentAlignment="Center"
  2177. VerticalContentAlignment="Center"
  2178. Background="White"
  2179. BorderThickness="0"
  2180. Cursor="Hand"
  2181. DisplayMemberPath="Value"
  2182. FontSize="16"
  2183. SelectedValuePath="Key"
  2184. Style="{StaticResource stlComboBox}"
  2185. Text="请选择" />
  2186. </Grid>
  2187. <Grid Grid.Row="2">
  2188. <Grid.ColumnDefinitions>
  2189. <ColumnDefinition Width="30" />
  2190. <ColumnDefinition Width="Auto" />
  2191. <ColumnDefinition Width="*" />
  2192. <ColumnDefinition Width="100" />
  2193. </Grid.ColumnDefinitions>
  2194. <Image
  2195. Grid.Column="0"
  2196. Width="20"
  2197. Height="20"
  2198. Margin="10,0,0,0"
  2199. HorizontalAlignment="Center"
  2200. VerticalAlignment="Center"
  2201. Source="./Images/shuoming.png" />
  2202. <Button
  2203. x:Name="btnPrintExplain"
  2204. Grid.Column="1"
  2205. Height="36"
  2206. Margin="6,0,0,0"
  2207. HorizontalAlignment="Stretch"
  2208. VerticalAlignment="Stretch"
  2209. Click="btnPrintExplain_Click"
  2210. Content="打印说明"
  2211. Cursor="Hand"
  2212. FontSize="{Binding WordSize14}"
  2213. Foreground="#437AFA"
  2214. IsDefault="True"
  2215. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  2216. <Button.Template>
  2217. <ControlTemplate TargetType="{x:Type Button}">
  2218. <Border
  2219. BorderBrush="{TemplateBinding BorderBrush}"
  2220. BorderThickness="1"
  2221. CornerRadius="8">
  2222. <ContentPresenter
  2223. HorizontalAlignment="Center"
  2224. VerticalAlignment="Center"
  2225. Content="{TemplateBinding Content}" />
  2226. </Border>
  2227. </ControlTemplate>
  2228. </Button.Template>
  2229. </Button>
  2230. <Button
  2231. x:Name="btnPrint_Print"
  2232. Grid.Column="3"
  2233. Height="36"
  2234. Margin="0,0,10,0"
  2235. HorizontalAlignment="Stretch"
  2236. VerticalAlignment="Stretch"
  2237. Click="BtnPrint_Print_Click"
  2238. Content="打印"
  2239. Cursor="Hand"
  2240. FontSize="{Binding WordSize14}"
  2241. Foreground="White"
  2242. IsDefault="True"
  2243. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  2244. <Button.Template>
  2245. <ControlTemplate TargetType="{x:Type Button}">
  2246. <Border
  2247. BorderBrush="{TemplateBinding Control.BorderBrush}"
  2248. BorderThickness="1"
  2249. CornerRadius="8">
  2250. <Border.Background>#2E8CF0</Border.Background>
  2251. <ContentPresenter
  2252. HorizontalAlignment="Center"
  2253. VerticalAlignment="Center"
  2254. Content="{TemplateBinding ContentControl.Content}" />
  2255. </Border>
  2256. </ControlTemplate>
  2257. </Button.Template>
  2258. </Button>
  2259. </Grid>
  2260. </Grid>
  2261. </Border>
  2262. <Grid
  2263. x:Name="GridPrintMask"
  2264. Background="#4C000000"
  2265. Visibility="Collapsed">
  2266. <Grid.ColumnDefinitions>
  2267. <ColumnDefinition Width="15*" />
  2268. <ColumnDefinition Width="70*" />
  2269. <ColumnDefinition Width="15*" />
  2270. </Grid.ColumnDefinitions>
  2271. <Grid.RowDefinitions>
  2272. <RowDefinition Height="35*" />
  2273. <RowDefinition Height="100" />
  2274. <RowDefinition Height="45*" />
  2275. </Grid.RowDefinitions>
  2276. <Grid Grid.Row="1" Grid.Column="1">
  2277. <Label
  2278. x:Name="LabPrintMessage"
  2279. Height="35"
  2280. Margin="0,10,0,0"
  2281. HorizontalAlignment="Center"
  2282. VerticalAlignment="Top"
  2283. Content="打印中..."
  2284. FontSize="22"
  2285. Foreground="#FFF9F7F7" />
  2286. <ProgressBar
  2287. x:Name="pgbProcess"
  2288. Grid.Row="0"
  2289. Height="20"
  2290. Margin="50,20,50,0"
  2291. BorderBrush="#4597FF"
  2292. Foreground="#4597FF"
  2293. Visibility="Visible" />
  2294. <Label
  2295. x:Name="lbProcess"
  2296. Grid.Row="0"
  2297. Width="60"
  2298. Height="30"
  2299. Margin="0,20,0,0"
  2300. HorizontalAlignment="Center"
  2301. Content=""
  2302. FontSize="16"
  2303. Foreground="White"
  2304. Visibility="Visible" />
  2305. </Grid>
  2306. </Grid>
  2307. </Grid>
  2308. </Window>