星火微课系统客户端
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

XHMicroLessonSystemWindow.xaml 141KB

před 4 roky
před 4 roky
před 4 roky
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399
  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="768"
  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="5,0"
  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. <!-- 打印相关Title 926 -->
  507. <Grid
  508. x:Name="GridPrintingTitle"
  509. Grid.Column="1"
  510. Visibility="Collapsed">
  511. <Grid.ColumnDefinitions>
  512. <ColumnDefinition Width="120*" />
  513. <ColumnDefinition Width="300*" />
  514. <ColumnDefinition Width="120*" />
  515. <ColumnDefinition Width="110*" />
  516. <ColumnDefinition Width="75*" />
  517. <ColumnDefinition Width="130*" />
  518. <ColumnDefinition Width="130*" />
  519. <ColumnDefinition Width="130*" />
  520. </Grid.ColumnDefinitions>
  521. <Grid Grid.Column="0" MouseLeftButtonDown="Window_MouseLeftButtonDown">
  522. <TextBlock
  523. HorizontalAlignment="Right"
  524. VerticalAlignment="Center"
  525. FontSize="{Binding WordSize18}"
  526. Style="{DynamicResource TxbMesColor}"
  527. Text="打印机:" />
  528. <TextBlock
  529. Margin="523,0,273,10"
  530. Padding="50,5,0,0"
  531. FontSize="{Binding WordSize18}"
  532. Text="类型:"
  533. Visibility="Hidden" />
  534. <ComboBox
  535. x:Name="CbxType"
  536. Margin="626,0,64,10"
  537. Padding="30,0,10,0"
  538. VerticalContentAlignment="Center"
  539. BorderThickness="0"
  540. Cursor="Hand"
  541. DisplayMemberPath="Value"
  542. FontSize="{Binding WordSize12}"
  543. SelectedValuePath="Key"
  544. Visibility="Hidden" />
  545. </Grid>
  546. <Grid Grid.Column="1">
  547. <ComboBox
  548. x:Name="cmbClass"
  549. Height="Auto"
  550. Margin="0,12"
  551. Padding="10,0"
  552. HorizontalAlignment="Stretch"
  553. HorizontalContentAlignment="Center"
  554. VerticalContentAlignment="Center"
  555. Background="White"
  556. BorderThickness="0"
  557. Cursor="Hand"
  558. DisplayMemberPath="Value"
  559. FontSize="{Binding WordSize12}"
  560. SelectedValuePath="Key"
  561. Style="{StaticResource stlComboBox}"
  562. Text="请选择" />
  563. </Grid>
  564. <Grid Grid.Column="2">
  565. <TextBlock
  566. HorizontalAlignment="Right"
  567. VerticalAlignment="Center"
  568. FontSize="{Binding WordSize18}"
  569. Style="{DynamicResource TxbMesColor}"
  570. Text="份数:" />
  571. </Grid>
  572. <Grid Grid.Column="3">
  573. <Border
  574. Margin="0,12"
  575. Padding="0"
  576. BorderBrush="#FFDCDCDC"
  577. BorderThickness="1"
  578. CornerRadius="3">
  579. <Grid>
  580. <Grid.ColumnDefinitions>
  581. <ColumnDefinition Width="89*" />
  582. <ColumnDefinition Width="21*" />
  583. </Grid.ColumnDefinitions>
  584. <Label
  585. x:Name="txbNumberOfCopies"
  586. Grid.Column="0"
  587. Margin="0"
  588. Padding="0"
  589. HorizontalAlignment="Stretch"
  590. VerticalAlignment="Stretch"
  591. HorizontalContentAlignment="Center"
  592. VerticalContentAlignment="Center"
  593. Background="White"
  594. Content="1"
  595. FontSize="{Binding WordSize12}" />
  596. <Grid Grid.Column="1" Margin="0">
  597. <Grid.RowDefinitions>
  598. <RowDefinition Height="10*" />
  599. <RowDefinition Height="10*" />
  600. </Grid.RowDefinitions>
  601. <Button
  602. x:Name="btnPrintAdd"
  603. Grid.Row="0"
  604. Margin="0"
  605. Padding="0,-2"
  606. Background="White"
  607. BorderBrush="#FFDCDCDC"
  608. Click="BtnPrintAdd_Click"
  609. Content="+"
  610. Cursor="Hand"
  611. FontSize="{Binding WordSize12}" />
  612. <Button
  613. x:Name="btnPrintLess"
  614. Grid.Row="1"
  615. Margin="0"
  616. Padding="0,-3"
  617. Background="White"
  618. BorderBrush="#FFDCDCDC"
  619. Click="BtnPrintLess_Click"
  620. Content="-"
  621. Cursor="Hand"
  622. FontSize="{Binding WordSize12}" />
  623. </Grid>
  624. </Grid>
  625. </Border>
  626. </Grid>
  627. <Grid Grid.Column="4" Visibility="Hidden">
  628. <TextBlock
  629. HorizontalAlignment="Right"
  630. VerticalAlignment="Center"
  631. FontSize="{Binding WordSize18}"
  632. Style="{DynamicResource TxbMesColor}"
  633. Text="DPI:" />
  634. </Grid>
  635. <Grid Grid.Column="5" Visibility="Hidden">
  636. <ComboBox
  637. x:Name="CbxDpi"
  638. Height="Auto"
  639. Margin="0,12,20,12"
  640. Padding="20,0,10,0"
  641. HorizontalAlignment="Stretch"
  642. VerticalContentAlignment="Center"
  643. BorderThickness="0"
  644. Cursor="Hand"
  645. DisplayMemberPath="Value"
  646. FontSize="{Binding WordSize12}"
  647. SelectedValuePath="Key"
  648. Style="{StaticResource stlComboBox}"
  649. Text="600" />
  650. </Grid>
  651. <Grid Grid.Column="6">
  652. <StackPanel Orientation="Horizontal" />
  653. <Button
  654. x:Name="btnPrint_Print"
  655. Margin="4,10"
  656. HorizontalAlignment="Stretch"
  657. VerticalAlignment="Stretch"
  658. Click="BtnPrint_Print_Click"
  659. Content="打印"
  660. Cursor="Hand"
  661. FontSize="{Binding WordSize14}"
  662. Foreground="White"
  663. IsDefault="True"
  664. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  665. <Button.Template>
  666. <ControlTemplate TargetType="{x:Type Button}">
  667. <Border
  668. BorderBrush="{TemplateBinding Control.BorderBrush}"
  669. BorderThickness="1"
  670. CornerRadius="4">
  671. <Border.Background>#2E8CF0</Border.Background>
  672. <ContentPresenter
  673. HorizontalAlignment="Center"
  674. VerticalAlignment="Center"
  675. Content="{TemplateBinding ContentControl.Content}" />
  676. </Border>
  677. </ControlTemplate>
  678. </Button.Template>
  679. </Button>
  680. </Grid>
  681. <Grid Grid.Column="7">
  682. <Button
  683. x:Name="btnPrintExplain"
  684. Margin="4,10"
  685. HorizontalAlignment="Stretch"
  686. VerticalAlignment="Stretch"
  687. Click="btnPrintExplain_Click"
  688. Content="打印说明"
  689. Cursor="Hand"
  690. FontSize="{Binding WordSize14}"
  691. Foreground="White"
  692. IsDefault="True"
  693. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  694. <Button.Template>
  695. <ControlTemplate TargetType="{x:Type Button}">
  696. <Border
  697. BorderBrush="{TemplateBinding BorderBrush}"
  698. BorderThickness="1"
  699. CornerRadius="4">
  700. <Border.Background>
  701. <Brush>#2E8CF0</Brush>
  702. </Border.Background>
  703. <ContentPresenter
  704. HorizontalAlignment="Center"
  705. VerticalAlignment="Center"
  706. Content="{TemplateBinding Content}" />
  707. </Border>
  708. </ControlTemplate>
  709. </Button.Template>
  710. </Button>
  711. </Grid>
  712. </Grid>
  713. <!-- 关闭 -->
  714. <Grid Grid.Column="2">
  715. <Label
  716. Width="2"
  717. Margin="0,15"
  718. HorizontalAlignment="Left"
  719. Background="#FFE5E5E5" />
  720. <Button
  721. x:Name="BtnClose"
  722. Margin="20,0,10,0"
  723. HorizontalAlignment="Stretch"
  724. VerticalAlignment="Center"
  725. Button.Template="{DynamicResource SkinBtnClose}"
  726. Click="BtnClose_Click"
  727. Cursor="Hand"
  728. FontSize="{Binding WordSize14}"
  729. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  730. <!--<Button Cursor="Hand" x:Name="btnShrink_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="5,0" Width="20" Height="20" HorizontalAlignment="Left">
  731. <Image Source="/BlackImages/HM_Min.png" />
  732. </Button>-->
  733. </Grid>
  734. <!-- 测试 -->
  735. <Grid Grid.Column="2" Visibility="Collapsed">
  736. <Label
  737. Width="2"
  738. Margin="0,15"
  739. HorizontalAlignment="Left"
  740. Background="#FFE5E5E5" />
  741. <Button
  742. Margin="35,0,15,0"
  743. HorizontalAlignment="Stretch"
  744. VerticalAlignment="Center"
  745. Click="BtnClose_Click"
  746. Cursor="Hand"
  747. FontSize="16"
  748. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  749. <Button.Template>
  750. <ControlTemplate TargetType="{x:Type Button}">
  751. <Grid>
  752. <Grid.ColumnDefinitions>
  753. <ColumnDefinition Width="23*" />
  754. <ColumnDefinition Width="72*" />
  755. </Grid.ColumnDefinitions>
  756. <Image
  757. x:Name="ImgSetUp"
  758. Grid.ColumnSpan="2"
  759. Source="/SkinImages/White/Toolbar_LZ_N.png" />
  760. <Label
  761. x:Name="Word"
  762. Grid.Column="1"
  763. HorizontalAlignment="Center"
  764. VerticalAlignment="Center"
  765. Content="关闭程序"
  766. FontSize="{TemplateBinding FontSize}"
  767. Foreground="#FFEFEFEF" />
  768. </Grid>
  769. <ControlTemplate.Triggers>
  770. <Trigger Property="IsMouseOver" Value="True">
  771. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png" />
  772. <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF" />
  773. </Trigger>
  774. </ControlTemplate.Triggers>
  775. </ControlTemplate>
  776. </Button.Template>
  777. </Button>
  778. </Grid>
  779. </Grid>
  780. </Grid>
  781. <Grid Grid.Row="1" />
  782. <!-- 工具栏和录制区域 H965 -->
  783. <Grid Grid.Row="2">
  784. <Grid.ColumnDefinitions>
  785. <ColumnDefinition Width="200*" />
  786. <ColumnDefinition Width="10*" />
  787. <ColumnDefinition Width="1061*" />
  788. </Grid.ColumnDefinitions>
  789. <!-- 工具栏 W200 H955 -->
  790. <Grid
  791. x:Name="GridToolbars"
  792. Grid.Column="0"
  793. Background="White">
  794. <Grid Grid.Background="{DynamicResource BackTool}">
  795. <Grid.RowDefinitions>
  796. <RowDefinition Height="160*" />
  797. <RowDefinition Height="85*" />
  798. <RowDefinition Height="85*" />
  799. <RowDefinition Height="85*" />
  800. <RowDefinition Height="85*" />
  801. <RowDefinition Height="85*" />
  802. <RowDefinition Height="85*" />
  803. <RowDefinition Height="85*" />
  804. <RowDefinition Height="85*" />
  805. <RowDefinition Height="115*" />
  806. </Grid.RowDefinitions>
  807. <!-- 头像 -->
  808. <Grid Grid.Row="0">
  809. <!-- 登录状态 -->
  810. <Button
  811. x:Name="BtnLoginType"
  812. HorizontalAlignment="Center"
  813. VerticalAlignment="Center"
  814. Click="BtnLoginType_Click"
  815. Cursor="Hand"
  816. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  817. <StackPanel>
  818. <Border
  819. x:Name="ImgHeadImgN"
  820. Width="70"
  821. Height="70"
  822. CornerRadius="50">
  823. <Border.Background>
  824. <ImageBrush ImageSource="/BlackImages/HM_HeadImg_N.png" />
  825. </Border.Background>
  826. </Border>
  827. <Border
  828. x:Name="ImgHeadImg"
  829. Width="70"
  830. Height="70"
  831. CornerRadius="50"
  832. Visibility="Collapsed">
  833. <Border.Background>
  834. <ImageBrush x:Name="ImgHead" ImageSource="/BlackImages/HM_HeadImg.png" />
  835. </Border.Background>
  836. </Border>
  837. <TextBlock
  838. x:Name="TxbLoginType"
  839. Margin="0,10,0,0"
  840. HorizontalAlignment="Center"
  841. FontSize="{Binding WordSize12}"
  842. Style="{DynamicResource LoginTypeColor}"
  843. Text="未登录" />
  844. </StackPanel>
  845. </Button>
  846. </Grid>
  847. <!-- 录屏 -->
  848. <Grid Grid.Row="1">
  849. <Button
  850. x:Name="BtnScreenRecording"
  851. Padding="0"
  852. HorizontalAlignment="Stretch"
  853. VerticalAlignment="Stretch"
  854. HorizontalContentAlignment="Stretch"
  855. VerticalContentAlignment="Stretch"
  856. Button.Template="{DynamicResource SkinBtnScreenRecording}"
  857. Click="BtnScreenRecording_Click"
  858. Cursor="Hand"
  859. FontSize="{Binding WordSize16}"
  860. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  861. </Grid>
  862. <!-- 截图 -->
  863. <Grid Grid.Row="2">
  864. <Button
  865. x:Name="BtnScreenshot"
  866. Padding="0"
  867. HorizontalAlignment="Stretch"
  868. VerticalAlignment="Stretch"
  869. Button.Template="{DynamicResource SkinBtnScreenshot}"
  870. Click="BtnScreenshot_Click"
  871. Cursor="Hand"
  872. FontSize="{Binding WordSize16}"
  873. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  874. </Grid>
  875. <!-- 导入 -->
  876. <Grid Grid.Row="3">
  877. <Button
  878. x:Name="BtnImport"
  879. HorizontalAlignment="Stretch"
  880. VerticalAlignment="Stretch"
  881. Button.Template="{DynamicResource SkinBtnImport}"
  882. Click="BtnImport_Click"
  883. Cursor="Hand"
  884. FontSize="{Binding WordSize16}"
  885. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  886. </Grid>
  887. <!-- 加页 -->
  888. <Grid Grid.Row="4">
  889. <Button
  890. x:Name="BtnAdd"
  891. HorizontalAlignment="Stretch"
  892. VerticalAlignment="Stretch"
  893. Button.Template="{DynamicResource SkinBtnAdd}"
  894. Click="BtnAdd_Click"
  895. Cursor="Hand"
  896. FontSize="{Binding WordSize16}"
  897. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  898. </Grid>
  899. <!-- 打印 -->
  900. <Grid Grid.Row="5">
  901. <Button
  902. x:Name="BtnPrint"
  903. HorizontalAlignment="Stretch"
  904. VerticalAlignment="Stretch"
  905. Button.Template="{DynamicResource SkinBtnPrint}"
  906. Click="BtnPrint_Click"
  907. Cursor="Hand"
  908. FontSize="{Binding WordSize16}"
  909. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  910. </Grid>
  911. <!-- 我的 -->
  912. <Grid Grid.Row="6">
  913. <Button
  914. x:Name="BtnUpload"
  915. HorizontalAlignment="Stretch"
  916. VerticalAlignment="Stretch"
  917. Button.Template="{DynamicResource SkinBtnMy}"
  918. Click="BtnUpload_Click"
  919. Cursor="Hand"
  920. FontSize="{Binding WordSize16}"
  921. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  922. </Grid>
  923. <!-- 检测 -->
  924. <Grid Grid.Row="7">
  925. <Button
  926. x:Name="BtnDevice"
  927. HorizontalAlignment="Stretch"
  928. VerticalAlignment="Stretch"
  929. Button.Template="{DynamicResource SkinBtnDevice}"
  930. Click="BtnDevice_Click"
  931. Cursor="Hand"
  932. FontSize="{Binding WordSize16}"
  933. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  934. </Grid>
  935. <!-- 设置 -->
  936. <Grid Grid.Row="8">
  937. <Button
  938. x:Name="BtnSetUp"
  939. HorizontalAlignment="Stretch"
  940. VerticalAlignment="Stretch"
  941. Button.Template="{DynamicResource SkinBtnSetUp}"
  942. Click="BtnSetUp_Click"
  943. Cursor="Hand"
  944. FontSize="{Binding WordSize16}"
  945. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
  946. </Grid>
  947. <!-- 测试 -->
  948. <Grid
  949. Grid.Row="9"
  950. Height="85"
  951. VerticalAlignment="Top"
  952. Visibility="Collapsed">
  953. <Button
  954. HorizontalAlignment="Stretch"
  955. VerticalAlignment="Stretch"
  956. Click="BtnSetUp_Click"
  957. Cursor="Hand"
  958. FontSize="18"
  959. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  960. <Button.Template>
  961. <ControlTemplate TargetType="{x:Type Button}">
  962. <Grid>
  963. <Grid.ColumnDefinitions>
  964. <ColumnDefinition Width="100*" />
  965. <ColumnDefinition Width="60*" />
  966. <ColumnDefinition Width="40*" />
  967. </Grid.ColumnDefinitions>
  968. <Image
  969. x:Name="ImgScreenRecording"
  970. Grid.ColumnSpan="3"
  971. Source="/SkinImages/White/Toolbar_SZ.png" />
  972. <Label
  973. x:Name="WordScreenRecording"
  974. Grid.Column="1"
  975. HorizontalAlignment="Center"
  976. VerticalAlignment="Center"
  977. Content="设置"
  978. FontSize="{TemplateBinding FontSize}"
  979. Foreground="#FF333333" />
  980. </Grid>
  981. <ControlTemplate.Triggers>
  982. <Trigger Property="IsMouseOver" Value="True">
  983. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_MI.png" />
  984. </Trigger>
  985. <Trigger Property="IsPressed" Value="True">
  986. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_CL.png" />
  987. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFFFFFFF" />
  988. </Trigger>
  989. <Trigger Property="IsEnabled" Value="False">
  990. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_N.png" />
  991. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFC3C3C3" />
  992. </Trigger>
  993. </ControlTemplate.Triggers>
  994. </ControlTemplate>
  995. </Button.Template>
  996. </Button>
  997. </Grid>
  998. </Grid>
  999. </Grid>
  1000. <Grid Grid.Column="1" />
  1001. <!-- 主显示区域 -->
  1002. <Grid Grid.Column="2">
  1003. <!-- 录制区域 -->
  1004. <Grid x:Name="GridRecordingArea" Visibility="Visible">
  1005. <Grid.RowDefinitions>
  1006. <RowDefinition Height="905*" />
  1007. <RowDefinition Height="3*" />
  1008. <RowDefinition Height="47*" />
  1009. </Grid.RowDefinitions>
  1010. <!-- 录制区域 -->
  1011. <Grid Grid.Row="0">
  1012. <!-- 录制区 -->
  1013. <Border>
  1014. <Grid
  1015. x:Name="GridMain"
  1016. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  1017. Visibility="Visible">
  1018. <ScrollViewer
  1019. x:Name="ScroMain"
  1020. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  1021. VerticalScrollBarVisibility="Visible">
  1022. <Grid
  1023. x:Name="GridM"
  1024. Width="auto"
  1025. Height="1780"
  1026. Margin="0,0,0,0"
  1027. Background="#FFFFFF"
  1028. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  1029. Visibility="Visible">
  1030. <Grid>
  1031. <Border CornerRadius="5">
  1032. <Grid x:Name="IMG" Margin="0,0,0,0">
  1033. <Grid.Resources>
  1034. <TransformGroup x:Key="Imageview">
  1035. <ScaleTransform />
  1036. <TranslateTransform />
  1037. </TransformGroup>
  1038. </Grid.Resources>
  1039. <!-- 图片表框 -->
  1040. <Rectangle
  1041. x:Name="RectImgBorder"
  1042. Width="300"
  1043. Height="300"
  1044. Margin="373,175,0,0"
  1045. HorizontalAlignment="Left"
  1046. VerticalAlignment="Top"
  1047. Cursor="SizeAll"
  1048. Fill="#00000000"
  1049. SnapsToDevicePixels="True"
  1050. Stroke="#2D8CF0"
  1051. StrokeDashArray="4 4"
  1052. StrokeThickness="4"
  1053. Visibility="Hidden" />
  1054. <Image
  1055. x:Name="imgCanvas"
  1056. Height="0"
  1057. HorizontalAlignment="Left"
  1058. VerticalAlignment="Top"
  1059. Focusable="True"
  1060. MouseDown="PicEMap_MouseDown"
  1061. MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown"
  1062. MouseMove="imgCanvas_MouseMove"
  1063. MouseUp="imgCanvas_MouseUp"
  1064. RenderTransform="{StaticResource Imageview}"
  1065. Stretch="Fill" />
  1066. <!-- 四个点 -->
  1067. <Canvas>
  1068. <Thumb
  1069. x:Name="RectLeftUp"
  1070. Canvas.Left="314"
  1071. Canvas.Top="157"
  1072. Width="20"
  1073. Height="20"
  1074. HorizontalAlignment="Left"
  1075. VerticalAlignment="Top"
  1076. Background="White"
  1077. BorderBrush="#2D8CF0"
  1078. BorderThickness="2"
  1079. Cursor="SizeNWSE"
  1080. DragCompleted="RectRightUp_DragCompleted"
  1081. DragDelta="RectRightUp_DragDelta"
  1082. DragStarted="RectRightUp_DragStarted"
  1083. Visibility="Hidden" />
  1084. <Thumb
  1085. x:Name="RectRightUp"
  1086. Canvas.Left="775"
  1087. Canvas.Top="157"
  1088. Width="20"
  1089. Height="20"
  1090. HorizontalAlignment="Left"
  1091. VerticalAlignment="Top"
  1092. Background="White"
  1093. BorderBrush="#2D8CF0"
  1094. BorderThickness="2"
  1095. Cursor="SizeNESW"
  1096. DragCompleted="RectRightUp_DragCompleted"
  1097. DragDelta="RectRightUp_DragDelta"
  1098. DragStarted="RectRightUp_DragStarted"
  1099. Visibility="Hidden" />
  1100. <Thumb
  1101. x:Name="RectLeftDown"
  1102. Canvas.Left="314"
  1103. Canvas.Top="508"
  1104. Width="20"
  1105. Height="20"
  1106. HorizontalAlignment="Left"
  1107. VerticalAlignment="Top"
  1108. Background="White"
  1109. BorderBrush="#2D8CF0"
  1110. BorderThickness="2"
  1111. Cursor="SizeNESW"
  1112. DragCompleted="RectRightUp_DragCompleted"
  1113. DragDelta="RectRightUp_DragDelta"
  1114. DragStarted="RectRightUp_DragStarted"
  1115. Visibility="Hidden" />
  1116. <Thumb
  1117. x:Name="RectRightDown"
  1118. Canvas.Left="775"
  1119. Canvas.Top="508"
  1120. Width="20"
  1121. Height="20"
  1122. HorizontalAlignment="Left"
  1123. VerticalAlignment="Top"
  1124. Background="White"
  1125. BorderBrush="#2D8CF0"
  1126. BorderThickness="2"
  1127. Cursor="SizeNWSE"
  1128. DragCompleted="RectRightUp_DragCompleted"
  1129. DragDelta="RectRightUp_DragDelta"
  1130. DragStarted="RectRightUp_DragStarted"
  1131. Visibility="Hidden" />
  1132. </Canvas>
  1133. </Grid>
  1134. </Border>
  1135. </Grid>
  1136. <Image
  1137. x:Name="imgDocumentation"
  1138. Grid.RowSpan="2"
  1139. Stretch="Fill"
  1140. Visibility="Visible" />
  1141. <Image
  1142. x:Name="imgPPT"
  1143. VerticalAlignment="Top"
  1144. Visibility="Visible" />
  1145. <!-- 导入图片 -->
  1146. <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed" />-->
  1147. <InkCanvas
  1148. x:Name="blackboard_canvas"
  1149. Grid.Row="0"
  1150. Grid.RowSpan="2"
  1151. Background="Transparent"
  1152. Visibility="Collapsed" />
  1153. <!-- 摄像头 -->
  1154. </Grid>
  1155. </ScrollViewer>
  1156. <Image
  1157. x:Name="imgPlayerLeft"
  1158. Width="172"
  1159. Height="124"
  1160. Margin="10,7,10,10"
  1161. HorizontalAlignment="Left"
  1162. VerticalAlignment="Top"
  1163. RenderTransformOrigin="0.5,0.5"
  1164. Source="./Images/microLessonSystem_17.png"
  1165. Visibility="Collapsed">
  1166. <Image.RenderTransform>
  1167. <ScaleTransform ScaleX="-1" />
  1168. </Image.RenderTransform>
  1169. </Image>
  1170. <Image
  1171. x:Name="imgPlayerRight"
  1172. Width="172"
  1173. Height="124"
  1174. Margin="10,7,26,10"
  1175. HorizontalAlignment="Right"
  1176. VerticalAlignment="Top"
  1177. RenderTransformOrigin="0.5,0.5"
  1178. Source="./Images/microLessonSystem_17.png"
  1179. Visibility="Collapsed">
  1180. <Image.RenderTransform>
  1181. <ScaleTransform ScaleX="-1" />
  1182. </Image.RenderTransform>
  1183. </Image>
  1184. <Image
  1185. x:Name="imgPlayerLeftUnder"
  1186. Width="172"
  1187. Height="124"
  1188. Margin="10,7,10,10"
  1189. HorizontalAlignment="Left"
  1190. VerticalAlignment="Bottom"
  1191. RenderTransformOrigin="0.5,0.5"
  1192. Source="./Images/microLessonSystem_17.png"
  1193. Visibility="Collapsed">
  1194. <Image.RenderTransform>
  1195. <ScaleTransform ScaleX="-1" />
  1196. </Image.RenderTransform>
  1197. </Image>
  1198. <Image
  1199. x:Name="imgPlayerRightUnder"
  1200. Width="172"
  1201. Height="124"
  1202. Margin="10,7,26,10"
  1203. HorizontalAlignment="Right"
  1204. VerticalAlignment="Bottom"
  1205. RenderTransformOrigin="0.5,0.5"
  1206. Source="./Images/microLessonSystem_17.png"
  1207. Visibility="Collapsed">
  1208. <Image.RenderTransform>
  1209. <ScaleTransform ScaleX="-1" />
  1210. </Image.RenderTransform>
  1211. </Image>
  1212. <!--<Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0" />
  1213. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0" />
  1214. <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0" />
  1215. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0" />-->
  1216. </Grid>
  1217. </Border>
  1218. </Grid>
  1219. <Grid Grid.Row="1" />
  1220. <!-- 底部工具栏 -->
  1221. <Grid
  1222. x:Name="GridBottomToolbars"
  1223. Grid.Row="2"
  1224. Background="#FFFFFFFF"
  1225. Visibility="Visible">
  1226. <StackPanel
  1227. HorizontalAlignment="Right"
  1228. VerticalAlignment="Center"
  1229. Orientation="Horizontal">
  1230. <!-- 页码 -->
  1231. <Grid
  1232. x:Name="GridPage"
  1233. Grid.Row="1"
  1234. Margin="0"
  1235. HorizontalAlignment="Center"
  1236. VerticalAlignment="Center"
  1237. MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
  1238. Visibility="Collapsed">
  1239. <StackPanel
  1240. Grid.Row="0"
  1241. Grid.Column="1"
  1242. Width="220"
  1243. Height="30"
  1244. Margin="0,0,0,0"
  1245. HorizontalAlignment="Center"
  1246. VerticalAlignment="Bottom"
  1247. Background="Transparent"
  1248. Orientation="Horizontal">
  1249. <Button
  1250. x:Name="last_button"
  1251. Width="28"
  1252. Height="20"
  1253. Click="last_button_Click"
  1254. Cursor="Hand"
  1255. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1256. <StackPanel>
  1257. <Image
  1258. Width="16"
  1259. Height="12"
  1260. Source=".\Images\class_p1.png" />
  1261. </StackPanel>
  1262. </Button>
  1263. <Grid
  1264. Width="60"
  1265. Background="Transparent"
  1266. MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  1267. <StackPanel
  1268. HorizontalAlignment="Center"
  1269. Background="Transparent"
  1270. Orientation="Horizontal">
  1271. <TextBlock
  1272. x:Name="txbCurrpage"
  1273. Margin="0"
  1274. HorizontalAlignment="Center"
  1275. VerticalAlignment="Center"
  1276. FontSize="{Binding WordSize14}"
  1277. Text="{Binding currpage}"
  1278. TextAlignment="Center" />
  1279. <TextBlock
  1280. HorizontalAlignment="Center"
  1281. VerticalAlignment="Center"
  1282. FontSize="{Binding WordSize14}"
  1283. Text="/"
  1284. TextAlignment="Center" />
  1285. <TextBlock
  1286. x:Name="txbTotalpage"
  1287. HorizontalAlignment="Center"
  1288. VerticalAlignment="Center"
  1289. FontSize="{Binding WordSize14}"
  1290. Text="{Binding pagenum}"
  1291. TextAlignment="Center" />
  1292. </StackPanel>
  1293. </Grid>
  1294. <Button
  1295. x:Name="next_btn"
  1296. Width="28"
  1297. Height="20"
  1298. Background="Transparent"
  1299. Click="next_btn_Click"
  1300. Cursor="Hand"
  1301. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1302. <StackPanel>
  1303. <Image
  1304. Width="16"
  1305. Height="12"
  1306. Source=".\Images\class_p2.png" />
  1307. </StackPanel>
  1308. </Button>
  1309. <TextBlock
  1310. Margin="0,0,3,0"
  1311. VerticalAlignment="Center"
  1312. FontSize="{Binding WordSize14}"
  1313. Text="转" />
  1314. <!--<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" />-->
  1315. <!--<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">
  1316. <Button.Resources>
  1317. <Style TargetType="{x:Type Border}">
  1318. <Setter Property="CornerRadius" Value="0" />
  1319. <Setter Property="BorderBrush" Value="#3492F4" />
  1320. </Style>
  1321. </Button.Resources>
  1322. <Image Source="/星火微课;component/Images/VideoList_OK.png" Margin="2,2,2,2"></Image>
  1323. </Button>-->
  1324. <ComboBox
  1325. x:Name="CbxPageList"
  1326. Width="55"
  1327. Height="24"
  1328. HorizontalAlignment="Center"
  1329. VerticalAlignment="Center"
  1330. VerticalContentAlignment="Center"
  1331. BorderThickness="1"
  1332. Cursor="Hand"
  1333. DisplayMemberPath="PageName"
  1334. FontSize="{Binding WordSize14}"
  1335. SelectedIndex="-1"
  1336. SelectedValuePath="PageCode"
  1337. SelectionChanged="CbxPageList_SelectionChanged">
  1338. <ComboBox.Background>
  1339. <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
  1340. <GradientStop Offset="0" Color="#FFF0F0F0" />
  1341. <GradientStop Offset="1" Color="#FFE5E5E5" />
  1342. </LinearGradientBrush>
  1343. </ComboBox.Background>
  1344. </ComboBox>
  1345. <TextBlock
  1346. Margin="3,0,0,0"
  1347. VerticalAlignment="Center"
  1348. FontSize="{Binding WordSize14}"
  1349. Text="页" />
  1350. </StackPanel>
  1351. </Grid>
  1352. <StackPanel
  1353. Margin="5"
  1354. HorizontalAlignment="Right"
  1355. VerticalAlignment="Center"
  1356. Orientation="Horizontal">
  1357. <TextBlock
  1358. Margin="5,0,0,0"
  1359. Padding="0,0,0,0"
  1360. VerticalAlignment="Center"
  1361. FontSize="{Binding WordSize12}"
  1362. Text="颜色: " />
  1363. <Button
  1364. x:Name="btnWhite"
  1365. Width="20"
  1366. Height="20"
  1367. Margin="0,2,0,0"
  1368. Background="#FFFFFF"
  1369. Click="BtnWhite_Click"
  1370. Cursor="Hand"
  1371. Visibility="Collapsed" />
  1372. <Border
  1373. Width="20"
  1374. Height="20"
  1375. Margin="5,2,0,0"
  1376. Background="#666666">
  1377. <Button
  1378. x:Name="btnRed"
  1379. Width="20"
  1380. Height="20"
  1381. Margin="1,1,1,1"
  1382. HorizontalAlignment="Center"
  1383. Background="#FF0000"
  1384. Click="BtnRed_Click"
  1385. Cursor="Hand"
  1386. Style="{StaticResource NoMouseOverButtonStyle}">
  1387. <Image
  1388. x:Name="imgRed"
  1389. Width="12"
  1390. Source=".\Images\microLessonSystem_999.png"
  1391. Visibility="Visible" />
  1392. </Button>
  1393. </Border>
  1394. <Border
  1395. Width="20"
  1396. Height="20"
  1397. Margin="5,2,0,0"
  1398. Background="#666666">
  1399. <Button
  1400. x:Name="btnGray"
  1401. Width="20"
  1402. Height="20"
  1403. Margin="1,1,1,1"
  1404. Background="#333333"
  1405. Click="BtnGray_Click"
  1406. Cursor="Hand"
  1407. Style="{StaticResource NoMouseOverButtonStyle}">
  1408. <Image
  1409. x:Name="imgGray"
  1410. Width="12"
  1411. Source=".\Images\microLessonSystem_999.png"
  1412. Visibility="Collapsed" />
  1413. </Button>
  1414. </Border>
  1415. <Border
  1416. Width="20"
  1417. Height="20"
  1418. Margin="5,2,0,0"
  1419. Background="#666666">
  1420. <Button
  1421. x:Name="btnCyanBlue"
  1422. Width="20"
  1423. Height="20"
  1424. Margin="1,1,1,1"
  1425. Background="#63D600"
  1426. Click="BtnCyanBlue_Click"
  1427. Cursor="Hand"
  1428. Style="{StaticResource NoMouseOverButtonStyle}">
  1429. <Image
  1430. x:Name="imgCyanBlue"
  1431. Width="12"
  1432. Source=".\Images\microLessonSystem_999.png"
  1433. Visibility="Collapsed" />
  1434. </Button>
  1435. </Border>
  1436. <Border
  1437. Width="20"
  1438. Height="20"
  1439. Margin="5,2,0,0"
  1440. Background="#666666">
  1441. <Button
  1442. x:Name="btnYellow"
  1443. Width="20"
  1444. Height="20"
  1445. Margin="1,1,1,1"
  1446. Background="#FFBC00"
  1447. Click="BtnYellow_Click"
  1448. Cursor="Hand"
  1449. Style="{StaticResource NoMouseOverButtonStyle}">
  1450. <Image
  1451. x:Name="imgYellow"
  1452. Width="12"
  1453. Source=".\Images\microLessonSystem_999.png"
  1454. Visibility="Collapsed" />
  1455. </Button>
  1456. </Border>
  1457. <Border
  1458. Width="20"
  1459. Height="20"
  1460. Margin="5,2,0,0"
  1461. Background="#666666">
  1462. <Button
  1463. x:Name="btnBlue"
  1464. Width="20"
  1465. Height="20"
  1466. Margin="1,1,1,1"
  1467. Background="#00B4FC"
  1468. Click="BtnBlue_Click"
  1469. Cursor="Hand"
  1470. Style="{StaticResource NoMouseOverButtonStyle}">
  1471. <Image
  1472. x:Name="imgBlue"
  1473. Width="12"
  1474. Source=".\Images\microLessonSystem_999.png"
  1475. Visibility="Collapsed" />
  1476. </Button>
  1477. </Border>
  1478. <TextBlock
  1479. Margin="5,0,0,0"
  1480. Padding="0,0,0,0"
  1481. VerticalAlignment="Center"
  1482. FontSize="{Binding WordSize12}"
  1483. Text="粗细: " />
  1484. <RadioButton
  1485. x:Name="rbnFine"
  1486. Margin="0"
  1487. VerticalAlignment="Center"
  1488. Click="RbnFine_Click"
  1489. Content=" 细"
  1490. Cursor="Hand"
  1491. FontSize="{Binding WordSize12}"
  1492. IsChecked="True"
  1493. Style="{StaticResource radBase}" />
  1494. <RadioButton
  1495. x:Name="rbnIn"
  1496. Margin="5,0,0,0"
  1497. VerticalAlignment="Center"
  1498. Click="RbnIn_Click"
  1499. Content=" 中"
  1500. Cursor="Hand"
  1501. FontSize="{Binding WordSize12}"
  1502. Style="{StaticResource radBase}" />
  1503. <RadioButton
  1504. x:Name="rbnCrude"
  1505. Margin="5,0,0,0"
  1506. VerticalAlignment="Center"
  1507. Click="RbnCrude_Click"
  1508. Content=" 粗"
  1509. Cursor="Hand"
  1510. FontSize="{Binding WordSize12}"
  1511. Style="{StaticResource radBase}" />
  1512. </StackPanel>
  1513. <StackPanel
  1514. Margin="5"
  1515. HorizontalAlignment="Right"
  1516. VerticalAlignment="Center"
  1517. Orientation="Horizontal">
  1518. <TextBlock
  1519. Padding="5,0,0,0"
  1520. VerticalAlignment="Center"
  1521. FontSize="{Binding WordSize12}"
  1522. Text="摄像头: " />
  1523. <RadioButton
  1524. x:Name="rbnOpen"
  1525. Margin="0,0,0,0"
  1526. VerticalAlignment="Center"
  1527. Click="RbnOpen_Click"
  1528. Content=" 开"
  1529. Cursor="Hand"
  1530. FontSize="{Binding WordSize12}"
  1531. Style="{StaticResource radBase}" />
  1532. <RadioButton
  1533. x:Name="rbnTurnOff"
  1534. Margin="5,0,10,0"
  1535. VerticalAlignment="Center"
  1536. Click="RbnTurnOff_Click"
  1537. Content=" 关"
  1538. Cursor="Hand"
  1539. FontSize="{Binding WordSize12}"
  1540. IsChecked="True"
  1541. Style="{StaticResource radBase}" />
  1542. </StackPanel>
  1543. </StackPanel>
  1544. </Grid>
  1545. </Grid>
  1546. <!-- 设置 955 -->
  1547. <ScrollViewer
  1548. x:Name="gridSetUp"
  1549. VerticalScrollBarVisibility="Auto"
  1550. Visibility="Collapsed">
  1551. <Grid>
  1552. <Grid Background="#FFFFFF">
  1553. <Grid.RowDefinitions>
  1554. <RowDefinition Height="200*" />
  1555. <RowDefinition Height="160*" />
  1556. <RowDefinition Height="100*" />
  1557. <RowDefinition Height="200*" />
  1558. <RowDefinition Height="90*" />
  1559. <RowDefinition Height="205*" />
  1560. </Grid.RowDefinitions>
  1561. <!-- 更换皮肤 h200 -->
  1562. <Grid Grid.Row="0" Margin="100,0">
  1563. <Grid.RowDefinitions>
  1564. <RowDefinition Height="20*" />
  1565. <RowDefinition Height="20*" />
  1566. <RowDefinition Height="140*" />
  1567. <RowDefinition Height="20*" />
  1568. </Grid.RowDefinitions>
  1569. <Grid Grid.Row="1" Grid.Column="0">
  1570. <Grid.ColumnDefinitions>
  1571. <ColumnDefinition Width="215*" />
  1572. <ColumnDefinition Width="646*" />
  1573. </Grid.ColumnDefinitions>
  1574. <TextBlock
  1575. Grid.Column="0"
  1576. HorizontalAlignment="Right"
  1577. VerticalAlignment="Center"
  1578. FontSize="{Binding WordSize16}"
  1579. Foreground="#333333"
  1580. Text="更换皮肤" />
  1581. </Grid>
  1582. <Grid Grid.Row="2">
  1583. <Grid.ColumnDefinitions>
  1584. <ColumnDefinition Width="120*" />
  1585. <ColumnDefinition Width="207*" />
  1586. <ColumnDefinition Width="207*" />
  1587. <ColumnDefinition Width="207*" />
  1588. <ColumnDefinition Width="120*" />
  1589. </Grid.ColumnDefinitions>
  1590. <Grid.RowDefinitions>
  1591. <RowDefinition Height="100*" />
  1592. <RowDefinition Height="36*" />
  1593. </Grid.RowDefinitions>
  1594. <Grid
  1595. Grid.Row="0"
  1596. Grid.Column="1"
  1597. Margin="5,0">
  1598. <Button
  1599. x:Name="BtnSkinWhite"
  1600. HorizontalAlignment="Stretch"
  1601. VerticalAlignment="Center"
  1602. Click="BtnSkinWhite_Click"
  1603. Cursor="Hand"
  1604. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1605. <Button.Template>
  1606. <ControlTemplate TargetType="{x:Type Button}">
  1607. <StackPanel>
  1608. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_White.png" />
  1609. </StackPanel>
  1610. <ControlTemplate.Triggers>
  1611. <Trigger Property="IsMouseOver" Value="True">
  1612. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_White_MI.png" />
  1613. </Trigger>
  1614. </ControlTemplate.Triggers>
  1615. </ControlTemplate>
  1616. </Button.Template>
  1617. </Button>
  1618. <Image
  1619. x:Name="SkinSelectWhite"
  1620. Margin="140,0,15,15"
  1621. HorizontalAlignment="Right"
  1622. VerticalAlignment="Bottom"
  1623. Source="/SkinImages/Skin/Skin_Select.png" />
  1624. </Grid>
  1625. <Grid
  1626. Grid.Row="0"
  1627. Grid.Column="2"
  1628. Margin="5,0">
  1629. <Button
  1630. x:Name="BtnSkinTechnologyBlue"
  1631. HorizontalAlignment="Stretch"
  1632. VerticalAlignment="Center"
  1633. Click="BtnSkinTechnologyBlue_Click"
  1634. Cursor="Hand"
  1635. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1636. <Button.Template>
  1637. <ControlTemplate TargetType="{x:Type Button}">
  1638. <StackPanel>
  1639. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
  1640. </StackPanel>
  1641. <ControlTemplate.Triggers>
  1642. <Trigger Property="IsMouseOver" Value="True">
  1643. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png" />
  1644. </Trigger>
  1645. </ControlTemplate.Triggers>
  1646. </ControlTemplate>
  1647. </Button.Template>
  1648. </Button>
  1649. <Image
  1650. x:Name="SkinSelectTechnologyBlue"
  1651. Margin="140,0,15,15"
  1652. HorizontalAlignment="Right"
  1653. VerticalAlignment="Bottom"
  1654. Source="/SkinImages/Skin/Skin_Select.png"
  1655. Visibility="Hidden" />
  1656. </Grid>
  1657. <Grid Grid.Row="0" Grid.Column="3" />
  1658. <Grid Grid.Row="0" Grid.Column="4" />
  1659. <Grid Grid.Row="1" Grid.Column="1">
  1660. <TextBlock
  1661. HorizontalAlignment="Center"
  1662. VerticalAlignment="Center"
  1663. FontSize="{Binding WordSize16}"
  1664. Foreground="#333333"
  1665. Text="经典白" />
  1666. </Grid>
  1667. <Grid Grid.Row="1" Grid.Column="2">
  1668. <TextBlock
  1669. HorizontalAlignment="Center"
  1670. VerticalAlignment="Center"
  1671. FontSize="{Binding WordSize16}"
  1672. Foreground="#333333"
  1673. Text="科技蓝" />
  1674. </Grid>
  1675. <Grid Grid.Row="1" Grid.Column="3" />
  1676. <Grid Grid.Row="1" Grid.Column="4" />
  1677. </Grid>
  1678. <Label
  1679. Grid.Row="3"
  1680. Height="1"
  1681. VerticalAlignment="Bottom"
  1682. Background="#FFEFEFEF" />
  1683. </Grid>
  1684. <!-- 视频格式 摄像头位置 h200 -->
  1685. <Grid Grid.Row="1" Margin="100,0">
  1686. <Grid>
  1687. <Grid.ColumnDefinitions>
  1688. <ColumnDefinition Width="215*" />
  1689. <ColumnDefinition Width="215*" />
  1690. <ColumnDefinition Width="215*" />
  1691. <ColumnDefinition Width="216*" />
  1692. </Grid.ColumnDefinitions>
  1693. <Grid.RowDefinitions>
  1694. <RowDefinition Height="20*" />
  1695. <RowDefinition Height="60*" />
  1696. <RowDefinition Height="60*" />
  1697. <RowDefinition Height="20*" />
  1698. </Grid.RowDefinitions>
  1699. <Grid Grid.Row="1" Grid.Column="0">
  1700. <TextBlock
  1701. Grid.Row="1"
  1702. Grid.Column="0"
  1703. HorizontalAlignment="Right"
  1704. VerticalAlignment="Center"
  1705. FontSize="{Binding WordSize16}"
  1706. Foreground="#333333"
  1707. Text="视频格式" />
  1708. </Grid>
  1709. <Grid Grid.Row="1" Grid.Column="1">
  1710. <StackPanel
  1711. Margin="15,0,0,0"
  1712. HorizontalAlignment="Left"
  1713. VerticalAlignment="Center"
  1714. Orientation="Horizontal">
  1715. <RadioButton
  1716. x:Name="rbnMP4"
  1717. VerticalAlignment="Top"
  1718. Content=" MP4"
  1719. Cursor="Hand"
  1720. FontSize="{Binding WordSize16}"
  1721. Foreground="#333333"
  1722. IsChecked="True"
  1723. Style="{StaticResource radBase}" />
  1724. <RadioButton
  1725. x:Name="rbnFLV"
  1726. Margin="15,0,0,0"
  1727. VerticalAlignment="Top"
  1728. Content=" FLV"
  1729. Cursor="Hand"
  1730. FontSize="{Binding WordSize16}"
  1731. Foreground="#333333"
  1732. Style="{StaticResource radBase}" />
  1733. <RadioButton
  1734. x:Name="rbnAVI"
  1735. Margin="15,0,0,0"
  1736. Content=" AVI"
  1737. Cursor="Hand"
  1738. FontSize="{Binding WordSize16}"
  1739. Foreground="#333333"
  1740. Style="{StaticResource radBase}"
  1741. Visibility="Collapsed" />
  1742. </StackPanel>
  1743. </Grid>
  1744. <Grid Grid.Row="1" Grid.Column="2">
  1745. <TextBlock
  1746. HorizontalAlignment="Right"
  1747. VerticalAlignment="Center"
  1748. FontSize="{Binding WordSize16}"
  1749. Foreground="#333333"
  1750. Text="摄像头位置" />
  1751. </Grid>
  1752. <Grid Grid.Row="1" Grid.Column="3">
  1753. <!--<Grid.ColumnDefinitions>
  1754. <ColumnDefinition Width="15*" />
  1755. <ColumnDefinition Width="80*" />
  1756. <ColumnDefinition Width="80*" />
  1757. <ColumnDefinition Width="41*" />
  1758. </Grid.ColumnDefinitions>
  1759. <Grid.RowDefinitions>
  1760. <RowDefinition Height="60*" />
  1761. <RowDefinition Height="60*" />
  1762. </Grid.RowDefinitions>-->
  1763. <StackPanel
  1764. Margin="15,0,0,0"
  1765. HorizontalAlignment="Left"
  1766. VerticalAlignment="Center"
  1767. Orientation="Horizontal">
  1768. <RadioButton
  1769. x:Name="rbnRight"
  1770. Margin="0"
  1771. HorizontalAlignment="Left"
  1772. VerticalAlignment="Center"
  1773. Content=" 右上"
  1774. Cursor="Hand"
  1775. FontSize="{Binding WordSize16}"
  1776. Foreground="#333333"
  1777. GroupName="RbtnCamera"
  1778. IsChecked="True"
  1779. Style="{StaticResource radBase}" />
  1780. <RadioButton
  1781. x:Name="rbnRightUnder"
  1782. Margin="15,0"
  1783. HorizontalAlignment="Left"
  1784. VerticalAlignment="Center"
  1785. Content=" 右下"
  1786. Cursor="Hand"
  1787. FontSize="{Binding WordSize16}"
  1788. Foreground="#333333"
  1789. GroupName="RbtnCamera"
  1790. Style="{StaticResource radBase}" />
  1791. </StackPanel>
  1792. </Grid>
  1793. <Grid Grid.Row="2" Grid.Column="3">
  1794. <StackPanel
  1795. Margin="15,0,0,0"
  1796. HorizontalAlignment="Left"
  1797. VerticalAlignment="Center"
  1798. Orientation="Horizontal">
  1799. <RadioButton
  1800. x:Name="rbnLeft"
  1801. Margin="0"
  1802. HorizontalAlignment="Left"
  1803. VerticalAlignment="Center"
  1804. Content=" 左上"
  1805. Cursor="Hand"
  1806. FontSize="{Binding WordSize16}"
  1807. Foreground="#333333"
  1808. GroupName="RbtnCamera"
  1809. Style="{StaticResource radBase}" />
  1810. <RadioButton
  1811. x:Name="rbnLeftUnder"
  1812. Margin="15,0"
  1813. HorizontalAlignment="Left"
  1814. VerticalAlignment="Center"
  1815. Content=" 左下"
  1816. Cursor="Hand"
  1817. FontSize="{Binding WordSize16}"
  1818. Foreground="#333333"
  1819. GroupName="RbtnCamera"
  1820. Style="{StaticResource radBase}" />
  1821. </StackPanel>
  1822. </Grid>
  1823. <Grid Grid.Row="2" Grid.Column="0">
  1824. <TextBlock
  1825. HorizontalAlignment="Right"
  1826. VerticalAlignment="Center"
  1827. FontSize="{Binding WordSize16}"
  1828. Foreground="#333333"
  1829. Text="录屏工具栏" />
  1830. </Grid>
  1831. <Grid Grid.Row="2" Grid.Column="1">
  1832. <StackPanel
  1833. Margin="15,0,0,0"
  1834. HorizontalAlignment="Left"
  1835. VerticalAlignment="Center"
  1836. Orientation="Horizontal">
  1837. <RadioButton
  1838. x:Name="rbnHide"
  1839. VerticalAlignment="Top"
  1840. Content=" 隐藏"
  1841. Cursor="Hand"
  1842. FontSize="{Binding WordSize16}"
  1843. Foreground="#333333"
  1844. IsChecked="True"
  1845. Style="{StaticResource radBase}" />
  1846. <RadioButton
  1847. x:Name="rbnvisi"
  1848. Margin="15,0,0,0"
  1849. VerticalAlignment="Top"
  1850. Content=" 显示"
  1851. Cursor="Hand"
  1852. FontSize="{Binding WordSize16}"
  1853. Foreground="#333333"
  1854. Style="{StaticResource radBase}" />
  1855. </StackPanel>
  1856. </Grid>
  1857. <Grid Grid.Row="2" Grid.Column="2" />
  1858. </Grid>
  1859. <Label
  1860. Height="1"
  1861. VerticalAlignment="Bottom"
  1862. Background="#FFEFEFEF" />
  1863. </Grid>
  1864. <!-- 地址修改 h305 -->
  1865. <Grid Grid.Row="2" Margin="100,0">
  1866. <Grid>
  1867. <Grid.ColumnDefinitions>
  1868. <ColumnDefinition Width="215*" />
  1869. <ColumnDefinition Width="430*" />
  1870. <ColumnDefinition Width="215*" />
  1871. </Grid.ColumnDefinitions>
  1872. <Grid.RowDefinitions>
  1873. <RowDefinition Height="20*" />
  1874. <RowDefinition Height="60*" />
  1875. <RowDefinition Height="20*" />
  1876. </Grid.RowDefinitions>
  1877. <!-- 地址 废弃2021年7月9日赵耀 -->
  1878. <Grid Visibility="Collapsed" />
  1879. <Grid Grid.Row="1" Grid.Column="0">
  1880. <TextBlock
  1881. Padding="0,0,0,0"
  1882. HorizontalAlignment="Right"
  1883. VerticalAlignment="Center"
  1884. FontSize="{Binding WordSize16}"
  1885. Foreground="#333333"
  1886. Text="文件路径" />
  1887. </Grid>
  1888. <Grid Grid.Row="1" Grid.Column="1">
  1889. <Grid Margin="20,17,10,17">
  1890. <Border
  1891. BorderBrush="#FFE3E3E3"
  1892. BorderThickness="1"
  1893. CornerRadius="1">
  1894. <Label
  1895. x:Name="txbStoragePath"
  1896. Margin="10,0"
  1897. Background="#FFFFFF"
  1898. BorderBrush="{x:Null}"
  1899. BorderThickness="0"
  1900. Content="D:\"
  1901. FontSize="{Binding WordSize12}"
  1902. Foreground="#333333" />
  1903. </Border>
  1904. </Grid>
  1905. </Grid>
  1906. <Grid Grid.Row="1" Grid.Column="2">
  1907. <Grid.ColumnDefinitions>
  1908. <ColumnDefinition Width="100*" />
  1909. <ColumnDefinition Width="100*" />
  1910. <ColumnDefinition Width="25*" />
  1911. </Grid.ColumnDefinitions>
  1912. <!-- 浏览按钮 -->
  1913. <Button
  1914. x:Name="btnBrowse"
  1915. Grid.Column="0"
  1916. Margin="10,15"
  1917. HorizontalAlignment="Stretch"
  1918. VerticalAlignment="Stretch"
  1919. Click="BtnBrowse_Click"
  1920. Content="浏览"
  1921. Cursor="Hand"
  1922. FontSize="{Binding WordSize16}"
  1923. Foreground="#FFFFFF"
  1924. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1925. <Button.Template>
  1926. <ControlTemplate TargetType="{x:Type Button}">
  1927. <Border
  1928. BorderBrush="{TemplateBinding BorderBrush}"
  1929. BorderThickness="1"
  1930. CornerRadius="8">
  1931. <Border.Background>
  1932. <Brush>#2D8CF0</Brush>
  1933. </Border.Background>
  1934. <ContentPresenter
  1935. HorizontalAlignment="Center"
  1936. VerticalAlignment="Center"
  1937. Content="{TemplateBinding Content}" />
  1938. </Border>
  1939. </ControlTemplate>
  1940. </Button.Template>
  1941. </Button>
  1942. <!-- 打开按钮 -->
  1943. <Button
  1944. x:Name="btnOpen"
  1945. Grid.Column="1"
  1946. Margin="10,15"
  1947. HorizontalAlignment="Stretch"
  1948. VerticalAlignment="Stretch"
  1949. Click="btnOpen_Click"
  1950. Content="打开"
  1951. Cursor="Hand"
  1952. FontSize="{Binding WordSize16}"
  1953. Foreground="#FFFFFF"
  1954. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1955. <Button.Template>
  1956. <ControlTemplate TargetType="{x:Type Button}">
  1957. <Border
  1958. BorderBrush="{TemplateBinding BorderBrush}"
  1959. BorderThickness="1"
  1960. CornerRadius="8">
  1961. <Border.Background>
  1962. <Brush>#2D8CF0</Brush>
  1963. </Border.Background>
  1964. <ContentPresenter
  1965. HorizontalAlignment="Center"
  1966. VerticalAlignment="Center"
  1967. Content="{TemplateBinding Content}" />
  1968. </Border>
  1969. </ControlTemplate>
  1970. </Button.Template>
  1971. </Button>
  1972. </Grid>
  1973. </Grid>
  1974. <Label
  1975. Height="1"
  1976. VerticalAlignment="Bottom"
  1977. Background="#FFEFEFEF" />
  1978. </Grid>
  1979. <!-- 版权 快捷键 版本号 h200 -->
  1980. <Grid Grid.Row="3" Margin="100,0">
  1981. <Grid.ColumnDefinitions>
  1982. <ColumnDefinition Width="215*" />
  1983. <ColumnDefinition Width="215*" />
  1984. <ColumnDefinition Width="215*" />
  1985. <ColumnDefinition Width="215*" />
  1986. </Grid.ColumnDefinitions>
  1987. <Grid.RowDefinitions>
  1988. <RowDefinition Height="20*" />
  1989. <RowDefinition Height="60*" />
  1990. <RowDefinition Height="60*" />
  1991. <RowDefinition Height="60*" />
  1992. </Grid.RowDefinitions>
  1993. <Grid Grid.Row="1" Grid.Column="0">
  1994. <TextBlock
  1995. Padding="0,0,0,0"
  1996. HorizontalAlignment="Right"
  1997. VerticalAlignment="Center"
  1998. FontSize="{Binding WordSize16}"
  1999. Foreground="#FF666666"
  2000. Text="录屏快捷键" />
  2001. </Grid>
  2002. <Grid
  2003. Grid.Row="1"
  2004. Grid.Column="1"
  2005. Grid.ColumnSpan="3">
  2006. <TextBlock
  2007. Margin="20,0,0,0"
  2008. VerticalAlignment="Center"
  2009. FontSize="{Binding WordSize16}"
  2010. Foreground="#FF666666"
  2011. Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" />
  2012. </Grid>
  2013. <Grid Grid.Row="2" Grid.Column="0">
  2014. <TextBlock
  2015. HorizontalAlignment="Right"
  2016. VerticalAlignment="Center"
  2017. FontSize="{Binding WordSize16}"
  2018. Foreground="#FF666666"
  2019. Text="版权所有" />
  2020. </Grid>
  2021. <Grid
  2022. Grid.Row="2"
  2023. Grid.Column="1"
  2024. Grid.ColumnSpan="3">
  2025. <TextBlock
  2026. Margin="20,0,0,0"
  2027. VerticalAlignment="Center"
  2028. FontSize="{Binding WordSize16}"
  2029. Foreground="#FF666666"
  2030. Text="河南星火燎原软件科技有限公司" />
  2031. </Grid>
  2032. <Grid Grid.Row="3" Grid.Column="0">
  2033. <TextBlock
  2034. x:Name="txbVersion"
  2035. Margin="0,0,0,0"
  2036. HorizontalAlignment="Right"
  2037. VerticalAlignment="Center"
  2038. FontSize="{Binding WordSize16}"
  2039. Foreground="#FF666666"
  2040. Text="正式版:" />
  2041. </Grid>
  2042. <Grid Grid.Row="3" Grid.Column="1">
  2043. <TextBlock
  2044. x:Name="txbv"
  2045. Margin="20,0,0,0"
  2046. VerticalAlignment="Center"
  2047. FontSize="{Binding WordSize16}"
  2048. Foreground="#FF666666"
  2049. Text="V0.0.0" />
  2050. </Grid>
  2051. </Grid>
  2052. <!-- 按钮 h50 -->
  2053. <Grid Grid.Row="4" Margin="100,0">
  2054. <Grid.ColumnDefinitions>
  2055. <ColumnDefinition Width="215*" />
  2056. <ColumnDefinition Width="530*" />
  2057. <ColumnDefinition Width="115*" />
  2058. </Grid.ColumnDefinitions>
  2059. <Grid.RowDefinitions>
  2060. <RowDefinition Height="50*" />
  2061. <RowDefinition Height="40*" />
  2062. </Grid.RowDefinitions>
  2063. <Grid Grid.Column="2">
  2064. <!-- 保存 -->
  2065. <Button
  2066. x:Name="btnSave"
  2067. Margin="5"
  2068. HorizontalAlignment="Stretch"
  2069. VerticalAlignment="Stretch"
  2070. Click="BtnSave_Click"
  2071. Content="保存"
  2072. Cursor="Hand"
  2073. FontSize="{Binding WordSize18}"
  2074. Foreground="#FFFFFF"
  2075. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  2076. <Button.Template>
  2077. <ControlTemplate TargetType="{x:Type Button}">
  2078. <Border
  2079. BorderBrush="{TemplateBinding BorderBrush}"
  2080. BorderThickness="1"
  2081. CornerRadius="10">
  2082. <Border.Background>
  2083. <Brush>#2D8CF0</Brush>
  2084. </Border.Background>
  2085. <ContentPresenter
  2086. HorizontalAlignment="Center"
  2087. VerticalAlignment="Center"
  2088. Content="{TemplateBinding Content}" />
  2089. </Border>
  2090. </ControlTemplate>
  2091. </Button.Template>
  2092. </Button>
  2093. </Grid>
  2094. <Grid
  2095. Grid.Row="0"
  2096. Grid.Column="0"
  2097. Visibility="Collapsed">
  2098. <TextBlock
  2099. Margin="0,30,0,0"
  2100. HorizontalAlignment="Right"
  2101. FontSize="16"
  2102. Foreground="#333333"
  2103. Text="设备"
  2104. Visibility="Hidden" />
  2105. <TextBlock
  2106. x:Name="txbNotConnecteds"
  2107. Margin="30,30,0,0"
  2108. FontSize="14"
  2109. Foreground="#333333"
  2110. Text="未连接"
  2111. Visibility="Hidden" />
  2112. </Grid>
  2113. </Grid>
  2114. </Grid>
  2115. </Grid>
  2116. </ScrollViewer>
  2117. <!-- 上传 废弃 -->
  2118. <Grid x:Name="gridUpload" Visibility="Collapsed">
  2119. <Border Background="#EFF1F8">
  2120. <Grid Margin="0,0,0,0" Background="#FFFFFF">
  2121. <!-- 分4行 -->
  2122. <Grid.RowDefinitions>
  2123. <RowDefinition Height="*" />
  2124. <RowDefinition Height="30" />
  2125. </Grid.RowDefinitions>
  2126. <!-- 第二行 内容 -->
  2127. <Grid Grid.Row="0" Margin="0,0,0,0">
  2128. <Grid.RowDefinitions>
  2129. <RowDefinition Height="45" />
  2130. <RowDefinition Height="*" />
  2131. </Grid.RowDefinitions>
  2132. <UniformGrid
  2133. x:Name="uniStatisticsByTitle"
  2134. Grid.Row="0"
  2135. Margin="0,0,0,0"
  2136. Background="#E6F0FF"
  2137. Columns="5"
  2138. Rows="1">
  2139. <TextBlock
  2140. HorizontalAlignment="Center"
  2141. VerticalAlignment="Center"
  2142. FontSize="16"
  2143. Text="序号" />
  2144. <TextBlock
  2145. HorizontalAlignment="Center"
  2146. VerticalAlignment="Center"
  2147. FontSize="16"
  2148. Text="视频名称" />
  2149. <!--<TextBlock
  2150. HorizontalAlignment="Center"
  2151. VerticalAlignment="Center"
  2152. FontSize="15"
  2153. Text="视频时长" Foreground="White" />-->
  2154. <TextBlock
  2155. HorizontalAlignment="Center"
  2156. VerticalAlignment="Center"
  2157. FontSize="16"
  2158. Text="视频大小" />
  2159. <TextBlock
  2160. HorizontalAlignment="Center"
  2161. VerticalAlignment="Center"
  2162. FontSize="16"
  2163. Text="日期" />
  2164. <TextBlock
  2165. HorizontalAlignment="Center"
  2166. VerticalAlignment="Center"
  2167. FontSize="16"
  2168. Text="操作" />
  2169. </UniformGrid>
  2170. <ListBox
  2171. x:Name="listView1"
  2172. Grid.Row="1"
  2173. Margin="0,0,0,0"
  2174. BorderThickness="0"
  2175. FontSize="20"
  2176. ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
  2177. ItemTemplate="{StaticResource TongjiItem}"
  2178. ItemsSource="{Binding menuList}"
  2179. ScrollViewer.HorizontalScrollBarVisibility="Disabled"
  2180. ScrollViewer.VerticalScrollBarVisibility="Disabled" />
  2181. </Grid>
  2182. <StackPanel
  2183. x:Name="stpUp"
  2184. Grid.Row="3"
  2185. Grid.Column="1"
  2186. Width="180"
  2187. Height="30"
  2188. Margin="0,0,0,0"
  2189. HorizontalAlignment="Center"
  2190. VerticalAlignment="Bottom"
  2191. Background="Transparent"
  2192. Orientation="Horizontal">
  2193. <Button
  2194. x:Name="btnLastPage"
  2195. Width="60"
  2196. Height="20"
  2197. Click="BtnLastPage_Click"
  2198. Cursor="Hand"
  2199. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  2200. <StackPanel>
  2201. <Image
  2202. Width="16"
  2203. Height="12"
  2204. Source=".\Images\class_p1.png" />
  2205. </StackPanel>
  2206. </Button>
  2207. <Grid Width="60" Background="Transparent">
  2208. <Grid.RowDefinitions>
  2209. <RowDefinition Height="311*" />
  2210. <RowDefinition Height="483*" />
  2211. </Grid.RowDefinitions>
  2212. <StackPanel
  2213. Grid.Row="1"
  2214. Margin="0,-12,0,0"
  2215. HorizontalAlignment="Center"
  2216. VerticalAlignment="Center"
  2217. Background="Transparent">
  2218. <StackPanel
  2219. HorizontalAlignment="Center"
  2220. Background="Transparent"
  2221. Orientation="Horizontal">
  2222. <TextBlock
  2223. x:Name="txbCurrpageTwo"
  2224. FontSize="15"
  2225. TextAlignment="Center" />
  2226. <TextBlock
  2227. FontSize="15"
  2228. Text="/"
  2229. TextAlignment="Center" />
  2230. <TextBlock
  2231. x:Name="txbPageNumTwo"
  2232. FontSize="15"
  2233. TextAlignment="Center" />
  2234. </StackPanel>
  2235. </StackPanel>
  2236. </Grid>
  2237. <Button
  2238. x:Name="btnNextPage"
  2239. Width="60"
  2240. Height="20"
  2241. Background="Transparent"
  2242. Click="BtnNextPage_Click"
  2243. Cursor="Hand"
  2244. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  2245. <StackPanel>
  2246. <Image
  2247. Width="16"
  2248. Height="12"
  2249. Source=".\Images\class_p2.png" />
  2250. </StackPanel>
  2251. </Button>
  2252. </StackPanel>
  2253. </Grid>
  2254. </Border>
  2255. </Grid>
  2256. <!-- 我的 -->
  2257. <Grid
  2258. x:Name="GridMyVideo"
  2259. Margin="0"
  2260. Background="White"
  2261. Visibility="Collapsed">
  2262. <Grid.RowDefinitions>
  2263. <RowDefinition Height="905*" />
  2264. <RowDefinition Height="50*" />
  2265. </Grid.RowDefinitions>
  2266. <Label
  2267. x:Name="lblVideoMess"
  2268. Grid.Row="0"
  2269. Margin="0,0,0,100"
  2270. HorizontalAlignment="Center"
  2271. VerticalAlignment="Center"
  2272. Content="暂无微课录制信息,请录制并等待保存完成后重试!"
  2273. FontSize="20"
  2274. Visibility="Hidden" />
  2275. <Button
  2276. x:Name="BtnVideoUpPage"
  2277. Grid.Row="1"
  2278. Width="60"
  2279. Margin="0,0,150,12"
  2280. HorizontalAlignment="Center"
  2281. VerticalAlignment="Bottom"
  2282. Background="{x:Null}"
  2283. BorderBrush="{x:Null}"
  2284. Click="BtnVideoUpPage_Click"
  2285. Content="上一页"
  2286. Cursor="Hand"
  2287. FontSize="16"
  2288. Foreground="#FF333333" />
  2289. <Label
  2290. x:Name="lblVideoPageNum"
  2291. Grid.Row="1"
  2292. Margin="0,0,0,10"
  2293. HorizontalAlignment="Center"
  2294. VerticalAlignment="Bottom"
  2295. Content="100/100"
  2296. FontSize="14"
  2297. Foreground="#FF333333" />
  2298. <Button
  2299. x:Name="BtnVideoDownPage"
  2300. Grid.Row="1"
  2301. Width="60"
  2302. Margin="150,0,0,12"
  2303. HorizontalAlignment="Center"
  2304. VerticalAlignment="Bottom"
  2305. Background="{x:Null}"
  2306. BorderBrush="{x:Null}"
  2307. Click="BtnVideoDownPage_Click"
  2308. Content="下一页"
  2309. Cursor="Hand"
  2310. FontSize="16"
  2311. Foreground="#FF333333" />
  2312. </Grid>
  2313. <!-- 打印 -->
  2314. <Grid
  2315. x:Name="GridPrintContent"
  2316. Background="White"
  2317. Visibility="Collapsed">
  2318. <Grid.RowDefinitions>
  2319. <RowDefinition Height="905*" />
  2320. <RowDefinition Height="50*" />
  2321. </Grid.RowDefinitions>
  2322. <Grid Grid.Row="0">
  2323. <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
  2324. <ScrollViewer VerticalScrollBarVisibility="Visible">
  2325. <Image x:Name="imgPri" />
  2326. </ScrollViewer>
  2327. </Border>
  2328. </Grid>
  2329. </Grid>
  2330. </Grid>
  2331. </Grid>
  2332. </Grid>
  2333. <Grid
  2334. x:Name="GridPrintMask"
  2335. Background="#4C000000"
  2336. Visibility="Collapsed">
  2337. <Grid.ColumnDefinitions>
  2338. <ColumnDefinition Width="15*" />
  2339. <ColumnDefinition Width="70*" />
  2340. <ColumnDefinition Width="15*" />
  2341. </Grid.ColumnDefinitions>
  2342. <Grid.RowDefinitions>
  2343. <RowDefinition Height="35*" />
  2344. <RowDefinition Height="100" />
  2345. <RowDefinition Height="45*" />
  2346. </Grid.RowDefinitions>
  2347. <Grid Grid.Row="1" Grid.Column="1">
  2348. <Label
  2349. x:Name="LabPrintMessage"
  2350. Height="35"
  2351. Margin="0,10,0,0"
  2352. HorizontalAlignment="Center"
  2353. VerticalAlignment="Top"
  2354. Content="打印中..."
  2355. FontSize="22"
  2356. Foreground="#FFF9F7F7" />
  2357. <ProgressBar
  2358. x:Name="pgbProcess"
  2359. Grid.Row="0"
  2360. Height="20"
  2361. Margin="50,20,50,0"
  2362. BorderBrush="#4597FF"
  2363. Foreground="#4597FF"
  2364. Visibility="Visible" />
  2365. <Label
  2366. x:Name="lbProcess"
  2367. Grid.Row="0"
  2368. Width="60"
  2369. Height="30"
  2370. Margin="0,20,0,0"
  2371. HorizontalAlignment="Center"
  2372. Content=""
  2373. FontSize="16"
  2374. Foreground="White"
  2375. Visibility="Visible" />
  2376. </Grid>
  2377. </Grid>
  2378. </Grid>
  2379. </Window>