星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

XHMicroLessonSystemWindow.xaml 130KB

4 anni fa
4 anni fa
4 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256
  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="#3f6fff"
  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="#3f6fff"
  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="#3f6fff"
  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="#3f6fff"
  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="#3f6fff"
  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="#3f6fff" 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 Height="650">
  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>
  1679. <Border
  1680. Height="30"
  1681. Margin="10,0,0,0"
  1682. BorderBrush="#FFE3E3E3"
  1683. BorderThickness="1"
  1684. CornerRadius="1">
  1685. <Label
  1686. x:Name="txbStoragePath"
  1687. Margin="10,0"
  1688. Background="#FFFFFF"
  1689. BorderBrush="{x:Null}"
  1690. BorderThickness="0"
  1691. Content="D:\"
  1692. FontSize="{Binding WordSize12}"
  1693. Foreground="#333333" />
  1694. </Border>
  1695. </Grid>
  1696. </Grid>
  1697. <Grid Grid.Row="1" Grid.Column="2">
  1698. <Grid.ColumnDefinitions>
  1699. <ColumnDefinition Width="76" />
  1700. <ColumnDefinition Width="76" />
  1701. </Grid.ColumnDefinitions>
  1702. <!-- 浏览按钮 -->
  1703. <Button
  1704. x:Name="btnBrowse"
  1705. Grid.Column="0"
  1706. Width="66"
  1707. Height="30"
  1708. HorizontalAlignment="Stretch"
  1709. VerticalAlignment="Stretch"
  1710. Background="#3f6fff"
  1711. Click="BtnBrowse_Click"
  1712. Content="浏览"
  1713. Cursor="Hand"
  1714. FontSize="14"
  1715. Foreground="#FFFFFF" />
  1716. <!-- 打开按钮 -->
  1717. <Button
  1718. x:Name="btnOpen"
  1719. Grid.Column="1"
  1720. Width="66"
  1721. Height="30"
  1722. HorizontalAlignment="Stretch"
  1723. VerticalAlignment="Stretch"
  1724. Background="#3f6fff"
  1725. Click="btnOpen_Click"
  1726. Content="打开"
  1727. Cursor="Hand"
  1728. FontSize="14"
  1729. Foreground="#FFFFFF" />
  1730. </Grid>
  1731. </Grid>
  1732. <Label
  1733. Height="1"
  1734. VerticalAlignment="Bottom"
  1735. Background="#FFEFEFEF" />
  1736. </Grid>
  1737. <!-- 版权 快捷键 版本号 h200 -->
  1738. <Grid Grid.Row="3" Margin="100,0">
  1739. <Grid.ColumnDefinitions>
  1740. <ColumnDefinition Width="215*" />
  1741. <ColumnDefinition Width="215*" />
  1742. <ColumnDefinition Width="215*" />
  1743. <ColumnDefinition Width="215*" />
  1744. </Grid.ColumnDefinitions>
  1745. <Grid.RowDefinitions>
  1746. <RowDefinition Height="20*" />
  1747. <RowDefinition Height="60*" />
  1748. <RowDefinition Height="60*" />
  1749. <RowDefinition Height="60*" />
  1750. </Grid.RowDefinitions>
  1751. <Grid Grid.Row="1" Grid.Column="0">
  1752. <TextBlock
  1753. Padding="0,0,0,0"
  1754. HorizontalAlignment="Right"
  1755. VerticalAlignment="Center"
  1756. FontSize="{Binding WordSize16}"
  1757. Foreground="#FF666666"
  1758. Text="录屏快捷键" />
  1759. </Grid>
  1760. <Grid
  1761. Grid.Row="1"
  1762. Grid.Column="1"
  1763. Grid.ColumnSpan="3">
  1764. <TextBlock
  1765. Margin="20,0,0,0"
  1766. VerticalAlignment="Center"
  1767. FontSize="{Binding WordSize16}"
  1768. Foreground="#FF666666"
  1769. Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" />
  1770. </Grid>
  1771. <Grid Grid.Row="2" Grid.Column="0">
  1772. <TextBlock
  1773. HorizontalAlignment="Right"
  1774. VerticalAlignment="Center"
  1775. FontSize="{Binding WordSize16}"
  1776. Foreground="#FF666666"
  1777. Text="版权所有" />
  1778. </Grid>
  1779. <Grid
  1780. Grid.Row="2"
  1781. Grid.Column="1"
  1782. Grid.ColumnSpan="3">
  1783. <TextBlock
  1784. Margin="20,0,0,0"
  1785. VerticalAlignment="Center"
  1786. FontSize="{Binding WordSize16}"
  1787. Foreground="#FF666666"
  1788. Text="河南星火燎原软件科技有限公司" />
  1789. </Grid>
  1790. <Grid Grid.Row="3" Grid.Column="0">
  1791. <TextBlock
  1792. x:Name="txbVersion"
  1793. Margin="0,0,0,0"
  1794. HorizontalAlignment="Right"
  1795. VerticalAlignment="Center"
  1796. FontSize="{Binding WordSize16}"
  1797. Foreground="#FF666666"
  1798. Text="正式版:" />
  1799. </Grid>
  1800. <Grid Grid.Row="3" Grid.Column="1">
  1801. <TextBlock
  1802. x:Name="txbv"
  1803. Margin="20,0,0,0"
  1804. VerticalAlignment="Center"
  1805. FontSize="{Binding WordSize16}"
  1806. Foreground="#FF666666"
  1807. Text="V0.0.0" />
  1808. </Grid>
  1809. </Grid>
  1810. <!-- 按钮 h50 -->
  1811. <Grid Grid.Row="4" Margin="100,0">
  1812. <Grid.ColumnDefinitions>
  1813. <ColumnDefinition Width="215*" />
  1814. <ColumnDefinition Width="530*" />
  1815. <ColumnDefinition Width="115*" />
  1816. </Grid.ColumnDefinitions>
  1817. <Grid.RowDefinitions>
  1818. <RowDefinition Height="50*" />
  1819. <RowDefinition Height="40*" />
  1820. </Grid.RowDefinitions>
  1821. <Grid Grid.Column="2">
  1822. <!-- 保存 -->
  1823. <Button
  1824. x:Name="btnSave"
  1825. Width="76"
  1826. Height="30"
  1827. HorizontalAlignment="Stretch"
  1828. VerticalAlignment="Stretch"
  1829. Background="#3f6fff"
  1830. Click="BtnSave_Click"
  1831. Content="保存"
  1832. Cursor="Hand"
  1833. FontSize="14"
  1834. Foreground="#FFFFFF" />
  1835. </Grid>
  1836. <Grid
  1837. Grid.Row="0"
  1838. Grid.Column="0"
  1839. Visibility="Collapsed">
  1840. <TextBlock
  1841. Margin="0,30,0,0"
  1842. HorizontalAlignment="Right"
  1843. FontSize="16"
  1844. Foreground="#333333"
  1845. Text="设备"
  1846. Visibility="Hidden" />
  1847. <TextBlock
  1848. x:Name="txbNotConnecteds"
  1849. Margin="30,30,0,0"
  1850. FontSize="14"
  1851. Foreground="#333333"
  1852. Text="未连接"
  1853. Visibility="Hidden" />
  1854. </Grid>
  1855. </Grid>
  1856. </Grid>
  1857. </Grid>
  1858. </ScrollViewer>
  1859. <!-- 上传 废弃 -->
  1860. <Grid x:Name="gridUpload" Visibility="Collapsed">
  1861. <Border Background="#EFF1F8">
  1862. <Grid Margin="0,0,0,0" Background="#FFFFFF">
  1863. <!-- 分4行 -->
  1864. <Grid.RowDefinitions>
  1865. <RowDefinition Height="*" />
  1866. <RowDefinition Height="30" />
  1867. </Grid.RowDefinitions>
  1868. <!-- 第二行 内容 -->
  1869. <Grid Grid.Row="0" Margin="0,0,0,0">
  1870. <Grid.RowDefinitions>
  1871. <RowDefinition Height="45" />
  1872. <RowDefinition Height="*" />
  1873. </Grid.RowDefinitions>
  1874. <UniformGrid
  1875. x:Name="uniStatisticsByTitle"
  1876. Grid.Row="0"
  1877. Margin="0,0,0,0"
  1878. Background="#E6F0FF"
  1879. Columns="5"
  1880. Rows="1">
  1881. <TextBlock
  1882. HorizontalAlignment="Center"
  1883. VerticalAlignment="Center"
  1884. FontSize="16"
  1885. Text="序号" />
  1886. <TextBlock
  1887. HorizontalAlignment="Center"
  1888. VerticalAlignment="Center"
  1889. FontSize="16"
  1890. Text="视频名称" />
  1891. <TextBlock
  1892. HorizontalAlignment="Center"
  1893. VerticalAlignment="Center"
  1894. FontSize="16"
  1895. Text="视频大小" />
  1896. <TextBlock
  1897. HorizontalAlignment="Center"
  1898. VerticalAlignment="Center"
  1899. FontSize="16"
  1900. Text="日期" />
  1901. <TextBlock
  1902. HorizontalAlignment="Center"
  1903. VerticalAlignment="Center"
  1904. FontSize="16"
  1905. Text="操作" />
  1906. </UniformGrid>
  1907. <ListBox
  1908. x:Name="listView1"
  1909. Grid.Row="1"
  1910. Margin="0,0,0,0"
  1911. BorderThickness="0"
  1912. FontSize="20"
  1913. ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
  1914. ItemTemplate="{StaticResource TongjiItem}"
  1915. ItemsSource="{Binding menuList}"
  1916. ScrollViewer.HorizontalScrollBarVisibility="Disabled"
  1917. ScrollViewer.VerticalScrollBarVisibility="Disabled" />
  1918. </Grid>
  1919. <StackPanel
  1920. x:Name="stpUp"
  1921. Grid.Row="3"
  1922. Grid.Column="1"
  1923. Width="180"
  1924. Height="30"
  1925. Margin="0,0,0,0"
  1926. HorizontalAlignment="Center"
  1927. VerticalAlignment="Bottom"
  1928. Background="Transparent"
  1929. Orientation="Horizontal">
  1930. <Button
  1931. x:Name="btnLastPage"
  1932. Width="60"
  1933. Height="20"
  1934. Click="BtnLastPage_Click"
  1935. Cursor="Hand"
  1936. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1937. <StackPanel>
  1938. <Image
  1939. Width="16"
  1940. Height="12"
  1941. Source=".\Images\class_p1.png" />
  1942. </StackPanel>
  1943. </Button>
  1944. <Grid Width="60" Background="Transparent">
  1945. <Grid.RowDefinitions>
  1946. <RowDefinition Height="311*" />
  1947. <RowDefinition Height="483*" />
  1948. </Grid.RowDefinitions>
  1949. <StackPanel
  1950. Grid.Row="1"
  1951. Margin="0,-12,0,0"
  1952. HorizontalAlignment="Center"
  1953. VerticalAlignment="Center"
  1954. Background="Transparent">
  1955. <StackPanel
  1956. HorizontalAlignment="Center"
  1957. Background="Transparent"
  1958. Orientation="Horizontal">
  1959. <TextBlock
  1960. x:Name="txbCurrpageTwo"
  1961. FontSize="15"
  1962. TextAlignment="Center" />
  1963. <TextBlock
  1964. FontSize="15"
  1965. Text="/"
  1966. TextAlignment="Center" />
  1967. <TextBlock
  1968. x:Name="txbPageNumTwo"
  1969. FontSize="15"
  1970. TextAlignment="Center" />
  1971. </StackPanel>
  1972. </StackPanel>
  1973. </Grid>
  1974. <Button
  1975. x:Name="btnNextPage"
  1976. Width="60"
  1977. Height="20"
  1978. Background="Transparent"
  1979. Click="BtnNextPage_Click"
  1980. Cursor="Hand"
  1981. Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
  1982. <StackPanel>
  1983. <Image
  1984. Width="16"
  1985. Height="12"
  1986. Source=".\Images\class_p2.png" />
  1987. </StackPanel>
  1988. </Button>
  1989. </StackPanel>
  1990. </Grid>
  1991. </Border>
  1992. </Grid>
  1993. <!-- 我的 -->
  1994. <Grid
  1995. x:Name="GridMyVideo"
  1996. Margin="0"
  1997. Background="White"
  1998. Visibility="Collapsed">
  1999. <Grid.RowDefinitions>
  2000. <RowDefinition Height="905*" />
  2001. <RowDefinition Height="50*" />
  2002. </Grid.RowDefinitions>
  2003. <Label
  2004. x:Name="lblVideoMess"
  2005. Grid.Row="0"
  2006. Margin="0,0,0,100"
  2007. HorizontalAlignment="Center"
  2008. VerticalAlignment="Center"
  2009. Content="暂无微课录制信息,请录制并等待保存完成后重试!"
  2010. FontSize="20"
  2011. Visibility="Hidden" />
  2012. <Button
  2013. x:Name="BtnVideoUpPage"
  2014. Grid.Row="1"
  2015. Width="60"
  2016. Margin="0,0,150,12"
  2017. HorizontalAlignment="Center"
  2018. VerticalAlignment="Bottom"
  2019. Background="{x:Null}"
  2020. BorderBrush="{x:Null}"
  2021. Click="BtnVideoUpPage_Click"
  2022. Content="上一页"
  2023. Cursor="Hand"
  2024. FontSize="16"
  2025. Foreground="#FF333333" />
  2026. <Label
  2027. x:Name="lblVideoPageNum"
  2028. Grid.Row="1"
  2029. Margin="0,0,0,10"
  2030. HorizontalAlignment="Center"
  2031. VerticalAlignment="Bottom"
  2032. Content="100/100"
  2033. FontSize="14"
  2034. Foreground="#FF333333" />
  2035. <Button
  2036. x:Name="BtnVideoDownPage"
  2037. Grid.Row="1"
  2038. Width="60"
  2039. Margin="150,0,0,12"
  2040. HorizontalAlignment="Center"
  2041. VerticalAlignment="Bottom"
  2042. Background="{x:Null}"
  2043. BorderBrush="{x:Null}"
  2044. Click="BtnVideoDownPage_Click"
  2045. Content="下一页"
  2046. Cursor="Hand"
  2047. FontSize="16"
  2048. Foreground="#FF333333" />
  2049. </Grid>
  2050. <!-- 打印 -->
  2051. <Grid
  2052. x:Name="GridPrintContent"
  2053. Background="White"
  2054. Visibility="Collapsed">
  2055. <Grid.RowDefinitions>
  2056. <RowDefinition Height="905*" />
  2057. <RowDefinition Height="50*" />
  2058. </Grid.RowDefinitions>
  2059. <Grid Grid.Row="0">
  2060. <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
  2061. <ScrollViewer VerticalScrollBarVisibility="Visible">
  2062. <Image x:Name="imgPri" />
  2063. </ScrollViewer>
  2064. </Border>
  2065. </Grid>
  2066. </Grid>
  2067. </Grid>
  2068. </Grid>
  2069. </Grid>
  2070. <!-- 打印相关 -->
  2071. <Border
  2072. x:Name="GridPrintingTitle"
  2073. Grid.Column="1"
  2074. Width="446"
  2075. Height="188"
  2076. BorderBrush="#eeeeee"
  2077. BorderThickness="1"
  2078. Visibility="Collapsed">
  2079. <Grid Background="#ffffff">
  2080. <Grid.RowDefinitions>
  2081. <RowDefinition Height="42" />
  2082. <RowDefinition Height="*" />
  2083. <RowDefinition Height="64" />
  2084. </Grid.RowDefinitions>
  2085. <Grid Grid.Row="0" Background="#3F6FFF">
  2086. <TextBlock
  2087. Margin="10,0,0,0"
  2088. VerticalAlignment="Center"
  2089. FontSize="16"
  2090. Foreground="White"
  2091. Text="打印机" />
  2092. <Button
  2093. Grid.Row="0"
  2094. Width="46"
  2095. HorizontalAlignment="Right"
  2096. VerticalAlignment="Stretch"
  2097. Click="BtnPrintCloseClick"
  2098. Content="×"
  2099. Cursor="Hand"
  2100. FontSize="30"
  2101. Foreground="White" />
  2102. </Grid>
  2103. <Grid Grid.Row="1" Height="46">
  2104. <Grid.ColumnDefinitions>
  2105. <ColumnDefinition Width="Auto" />
  2106. <ColumnDefinition Width="*" />
  2107. </Grid.ColumnDefinitions>
  2108. <TextBlock
  2109. Grid.Column="0"
  2110. Margin="10,0,0,0"
  2111. HorizontalAlignment="Left"
  2112. VerticalAlignment="Center"
  2113. FontSize="16"
  2114. Style="{DynamicResource TxbMesColor}"
  2115. Text="打印机" />
  2116. <ComboBox
  2117. x:Name="cmbClass"
  2118. Grid.Column="1"
  2119. Height="36"
  2120. Margin="10,0,10,0"
  2121. HorizontalAlignment="Stretch"
  2122. HorizontalContentAlignment="Center"
  2123. VerticalContentAlignment="Center"
  2124. Background="White"
  2125. BorderThickness="0"
  2126. Cursor="Hand"
  2127. DisplayMemberPath="Value"
  2128. FontSize="16"
  2129. SelectedValuePath="Key"
  2130. Style="{StaticResource stlComboBox}"
  2131. Text="请选择" />
  2132. </Grid>
  2133. <Grid Grid.Row="2">
  2134. <Grid.ColumnDefinitions>
  2135. <ColumnDefinition Width="30" />
  2136. <ColumnDefinition Width="Auto" />
  2137. <ColumnDefinition Width="*" />
  2138. <ColumnDefinition Width="86" />
  2139. </Grid.ColumnDefinitions>
  2140. <Image
  2141. Grid.Column="0"
  2142. Width="20"
  2143. Height="20"
  2144. Margin="10,0,0,0"
  2145. HorizontalAlignment="Center"
  2146. VerticalAlignment="Center"
  2147. Source="./Images/shuoming.png" />
  2148. <Button
  2149. x:Name="btnPrintExplain"
  2150. Grid.Column="1"
  2151. Height="36"
  2152. Margin="6,0,0,0"
  2153. HorizontalAlignment="Stretch"
  2154. VerticalAlignment="Stretch"
  2155. Click="btnPrintExplain_Click"
  2156. Content="打印说明"
  2157. Cursor="Hand"
  2158. FontSize="{Binding WordSize14}"
  2159. Foreground="#3F6FFF"
  2160. IsDefault="True" />
  2161. <Button
  2162. x:Name="btnPrint_Print"
  2163. Grid.Column="3"
  2164. Width="76"
  2165. Height="30"
  2166. Margin="0,0,10,0"
  2167. HorizontalAlignment="Stretch"
  2168. VerticalAlignment="Stretch"
  2169. Background="#3F6FFF"
  2170. Click="BtnPrint_Print_Click"
  2171. Content="打印"
  2172. Cursor="Hand"
  2173. FontSize="{Binding WordSize14}"
  2174. Foreground="White"
  2175. IsDefault="True" />
  2176. </Grid>
  2177. </Grid>
  2178. </Border>
  2179. <Grid
  2180. x:Name="GridPrintMask"
  2181. Background="#4C000000"
  2182. Visibility="Collapsed">
  2183. <Grid.ColumnDefinitions>
  2184. <ColumnDefinition Width="15*" />
  2185. <ColumnDefinition Width="70*" />
  2186. <ColumnDefinition Width="15*" />
  2187. </Grid.ColumnDefinitions>
  2188. <Grid.RowDefinitions>
  2189. <RowDefinition Height="35*" />
  2190. <RowDefinition Height="100" />
  2191. <RowDefinition Height="45*" />
  2192. </Grid.RowDefinitions>
  2193. <Grid Grid.Row="1" Grid.Column="1">
  2194. <Label
  2195. x:Name="LabPrintMessage"
  2196. Height="35"
  2197. Margin="0,10,0,0"
  2198. HorizontalAlignment="Center"
  2199. VerticalAlignment="Top"
  2200. Content="打印中..."
  2201. FontSize="22"
  2202. Foreground="#FFF9F7F7" />
  2203. <ProgressBar
  2204. x:Name="pgbProcess"
  2205. Grid.Row="0"
  2206. Height="20"
  2207. Margin="50,20,50,0"
  2208. BorderBrush="#4597FF"
  2209. Foreground="#4597FF"
  2210. Visibility="Visible" />
  2211. <Label
  2212. x:Name="lbProcess"
  2213. Grid.Row="0"
  2214. Width="60"
  2215. Height="30"
  2216. Margin="0,20,0,0"
  2217. HorizontalAlignment="Center"
  2218. Content=""
  2219. FontSize="16"
  2220. Foreground="White"
  2221. Visibility="Visible" />
  2222. </Grid>
  2223. </Grid>
  2224. </Grid>
  2225. </Window>