星火微课系统客户端
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

XHMicroLessonSystemWindow.xaml 116KB

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