星火微课系统客户端
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

XHMicroLessonSystemWindow.xaml 105KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264
  1. <Window x:Class="XHWK.WKTool.XHMicroLessonSystemWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore"
  7. xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
  8. xmlns:aforge ="clr-namespace:AForge.Controls;assembly=AForge.Controls"
  9. xmlns:gifLib="http://wpfanimatedgif.codeplex.com"
  10. xmlns:local="clr-namespace:XHWK.WKTool"
  11. xmlns:Views="clr-namespace:XHWK.WKTool.Helpers"
  12. mc:Ignorable="d"
  13. Title="星火微课系统" Height="1036" Width="1290"
  14. WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="7" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" Loaded="Window_Loaded">
  15. <Window.Effect>
  16. <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
  17. </Window.Effect>
  18. <!--<Grid>
  19. <Border CornerRadius="0,0,0,0"
  20. Background="White"
  21. BorderBrush="Gray"
  22. BorderThickness="1"
  23. Margin="10,10,10,10">
  24. <Border.Effect>
  25. <DropShadowEffect Color="Gray" BlurRadius="10" ShadowDepth="0" Opacity="0.8" />
  26. </Border.Effect>
  27. </Border>
  28. </Grid>-->
  29. <Window.Resources>
  30. <Style x:Key="radBase" TargetType="RadioButton">
  31. <Setter Property="IsChecked" Value="False"/>
  32. <Setter Property="Background" Value="Transparent"/>
  33. <Setter Property="Foreground" Value="#555"/>
  34. <Setter Property="Template">
  35. <Setter.Value>
  36. <ControlTemplate TargetType="RadioButton">
  37. <DockPanel Background="{TemplateBinding Background}" ToolTip="{TemplateBinding Content}" LastChildFill="False" Width="{TemplateBinding Width}">
  38. <Image Margin="2 0 0 0" DockPanel.Dock="Left" x:Name="_img" Stretch="None" Source="./Images/rdo_no.png"/>
  39. <TextBlock DockPanel.Dock="Left" Margin="3 0 0 0" VerticalAlignment="Center" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}" />
  40. </DockPanel>
  41. <ControlTemplate.Triggers>
  42. <Trigger Property="IsChecked" Value="true">
  43. <Setter TargetName="_img" Property="Source" Value="./Images/rdo_yes.png"/>
  44. </Trigger>
  45. </ControlTemplate.Triggers>
  46. </ControlTemplate>
  47. </Setter.Value>
  48. </Setter>
  49. </Style>
  50. <Style x:Key="NoMouseOverButtonStyle" TargetType="{x:Type Button}">
  51. <Setter Property="BorderThickness" Value="1"/>
  52. <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
  53. <Setter Property="HorizontalContentAlignment" Value="Center"/>
  54. <Setter Property="VerticalContentAlignment" Value="Center"/>
  55. <Setter Property="Padding" Value="1"/>
  56. <Setter Property="Template">
  57. <Setter.Value>
  58. <ControlTemplate TargetType="{x:Type Button}">
  59. <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
  60. <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  61. </Border>
  62. </ControlTemplate>
  63. </Setter.Value>
  64. </Setter>
  65. </Style>
  66. <!-- ListBox容器样式 -->
  67. <Style x:Key="ListBoxItemContainerStyle" TargetType="{x:Type ListBoxItem}">
  68. <Setter Property="HorizontalContentAlignment" Value="Stretch" />
  69. <Setter Property="HorizontalAlignment" Value="Stretch" />
  70. <Setter Property="Template">
  71. <Setter.Value>
  72. <ControlTemplate TargetType="{x:Type ListBoxItem}">
  73. <Border
  74. x:Name="itemBox"
  75. Background="Transparent"
  76. BorderBrush="Transparent"
  77. BorderThickness="0">
  78. <ContentPresenter />
  79. </Border>
  80. <ControlTemplate.Triggers />
  81. </ControlTemplate>
  82. </Setter.Value>
  83. </Setter>
  84. </Style>
  85. <DataTemplate x:Key="TongjiItem">
  86. <UniformGrid
  87. Height="50"
  88. Margin="0,0,0,0"
  89. Background="{Binding Colour}"
  90. Columns="5"
  91. Rows="1">
  92. <!--题号-->
  93. <TextBlock
  94. HorizontalAlignment="Center"
  95. VerticalAlignment="Center"
  96. FontSize="16"
  97. Text="{Binding SerialNumber}" />
  98. <Grid>
  99. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
  100. VerticalAlignment="Center">
  101. <TextBox IsEnabled="{Binding IsEnabled,Mode=TwoWay}"
  102. HorizontalAlignment="Center"
  103. VerticalAlignment="Center"
  104. FontSize="16" Height="30" Padding="0,5,0,0"
  105. Text="{Binding VideoName,Mode=TwoWay}" Width="150"/>
  106. <Button x:Name="btnModify" Background="Transparent"
  107. Cursor="Hand"
  108. BorderThickness="0" Click="BtnModify_Click">
  109. <Grid>
  110. <Image Source="./Images/fileDirectory3.png" Margin="6,6,6,6" Height="20"/>
  111. <Image Source="./Images/fileDirectory4.png" Margin="6,6,6,6" Height="20"/>
  112. </Grid>
  113. </Button>
  114. </StackPanel>
  115. </Grid>
  116. <!--分值-->
  117. <!--
  118. <TextBlock
  119. HorizontalAlignment="Center"
  120. VerticalAlignment="Center"
  121. FontSize="15"
  122. Text="{Binding VideoDuration}" />-->
  123. <!--平均时长-->
  124. <TextBlock
  125. HorizontalAlignment="Center"
  126. VerticalAlignment="Center"
  127. FontSize="16"
  128. Text="{Binding VideoSize}" />
  129. <!--最短时长-->
  130. <TextBlock
  131. HorizontalAlignment="Center"
  132. VerticalAlignment="Center"
  133. FontSize="16"
  134. Text="{Binding VideoTime}" />
  135. <Grid>
  136. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
  137. VerticalAlignment="Center">
  138. <Button x:Name="btnPlay" Background="Transparent"
  139. Cursor="Hand"
  140. BorderThickness="0" Click="BtnPlay_Click">
  141. <Grid>
  142. <Image Source="./Images/fileDirectory1.png" Margin="10" Height="20"/>
  143. <Image Source="./Images/fileDirectory2.png" Margin="10" Height="20"/>
  144. </Grid>
  145. </Button>
  146. <Button x:Name="btnUpload" Background="Transparent"
  147. Cursor="Hand"
  148. BorderThickness="0" Click="BtnUploads_Click">
  149. <Grid>
  150. <Image Source="./Images/fileDirectory7.png" Margin="6,6,6,6" Height="20" Visibility="{Binding Visi}"/>
  151. <Image Source="./Images/fileDirectory8.png" Margin="6,6,6,6" Height="20" Visibility="{Binding Coll}"/>
  152. </Grid>
  153. </Button>
  154. <Button x:Name="btnDelete" Background="Transparent"
  155. Cursor="Hand"
  156. BorderThickness="0" Click="BtnDelete_Click">
  157. <Grid>
  158. <Image Source="./Images/fileDirectory5.png" Margin="6,6,6,6" Height="20"/>
  159. <Image Source="./Images/fileDirectory6.png" Margin="6,6,6,6" Height="20"/>
  160. </Grid>
  161. </Button>
  162. </StackPanel>
  163. </Grid>
  164. </UniformGrid>
  165. </DataTemplate>
  166. <!--摄像头样式-->
  167. <Style TargetType="ToggleButton" x:Key="stlToggleButton">
  168. <Setter Property="Foreground" Value="White"></Setter>
  169. <Setter Property="Template">
  170. <Setter.Value>
  171. <ControlTemplate>
  172. <Border x:Name="Back" Background="#FFFFFFFF" BorderThickness="0" BorderBrush="Transparent">
  173. <Path Name="PathFill" Fill="Black" Width="8" Height="6" StrokeThickness="0" Data="M5,0 L10,10 L0,10 z" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
  174. <Path.RenderTransform>
  175. <TransformGroup>
  176. <ScaleTransform/>
  177. <SkewTransform/>
  178. <RotateTransform Angle="180"/>
  179. <TranslateTransform/>
  180. </TransformGroup>
  181. </Path.RenderTransform>
  182. </Path>
  183. </Border>
  184. <ControlTemplate.Triggers>
  185. <Trigger Property="IsMouseOver" Value="True">
  186. <Setter TargetName="PathFill" Property="Fill" Value="White"></Setter>
  187. <Setter TargetName="Back" Property="Background" Value="#FFDCDCDC"></Setter>
  188. <Setter TargetName="Back" Property="BorderBrush" Value="#FFDCDCDC"></Setter>
  189. </Trigger>
  190. </ControlTemplate.Triggers>
  191. </ControlTemplate>
  192. </Setter.Value>
  193. </Setter>
  194. </Style>
  195. <Style TargetType="ComboBox" x:Key="stlComboBox">
  196. <Setter Property="SnapsToDevicePixels" Value="True"/>
  197. <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
  198. <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
  199. <Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
  200. <Setter Property="HorizontalAlignment" Value="Left"></Setter>
  201. <Setter Property="Foreground" Value="Black"></Setter>
  202. <Setter Property="Height" Value="30"></Setter>
  203. <Setter Property="Margin" Value="0,0,0,0"></Setter>
  204. <Setter Property="Template">
  205. <Setter.Value>
  206. <ControlTemplate TargetType="ComboBox">
  207. <Grid Background="#F7FDF7">
  208. <Grid.ColumnDefinitions>
  209. <ColumnDefinition Width="0.8*"/>
  210. <ColumnDefinition Width="0.2*" MaxWidth="20"/>
  211. </Grid.ColumnDefinitions>
  212. <TextBox Grid.Column="0" IsReadOnly="True" VerticalContentAlignment="Center" Text="{TemplateBinding Text}"></TextBox>
  213. <Border Grid.Column="0" BorderThickness="1,1,1,1" BorderBrush="#FFDCDCDC" CornerRadius="1,0,0,1">
  214. </Border>
  215. <Border Grid.Column="1" BorderThickness="0,1,1,1" BorderBrush="#FFDCDCDC" CornerRadius="0,1,1,0">
  216. <ToggleButton Style="{StaticResource stlToggleButton}" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"></ToggleButton>
  217. </Border>
  218. <Popup IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
  219. <Border CornerRadius="1" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
  220. <Border.Effect>
  221. <DropShadowEffect Color="Black" BlurRadius="2" ShadowDepth="0" Opacity="0.5"/>
  222. </Border.Effect>
  223. <ScrollViewer Margin="4,6,4,6" Style="{DynamicResource ScrollViewerStyle}" MaxHeight="{TemplateBinding MaxDropDownHeight}" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">
  224. <!-- StackPanel 用于显示子级,方法是将 IsItemsHost 设置为 True -->
  225. <StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" Background="White"/>
  226. </ScrollViewer>
  227. </Border>
  228. </Popup>
  229. </Grid>
  230. </ControlTemplate>
  231. </Setter.Value>
  232. </Setter>
  233. </Style>
  234. </Window.Resources>
  235. <Window.BorderBrush>
  236. <RadialGradientBrush>
  237. <GradientStop Offset="0.997" Color="#001B1919"/>
  238. <GradientStop Color="Black"/>
  239. </RadialGradientBrush>
  240. </Window.BorderBrush>
  241. <Viewbox>
  242. <Grid>
  243. <Grid x:Name="GridContent" Height="1030" Width="1276">
  244. <Grid.ColumnDefinitions>
  245. <ColumnDefinition x:Name="Colum1" Width="auto"/>
  246. <ColumnDefinition Width="*"/>
  247. </Grid.ColumnDefinitions>
  248. <!--工具栏 黑-->
  249. <Grid x:Name="GridToolbars_Black" Visibility="Visible" Grid.Column="0" Background="#262633" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0" Width="65" MouseDown="Grid_MouseDown" >
  250. <!--分6行-->
  251. <Grid.RowDefinitions>
  252. <RowDefinition Height="auto"/>
  253. <RowDefinition Height="auto"/>
  254. <RowDefinition Height="auto"/>
  255. <RowDefinition Height="auto"/>
  256. <RowDefinition Height="auto"/>
  257. <RowDefinition Height="auto"/>
  258. </Grid.RowDefinitions>
  259. <!--登录状态 -->
  260. <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0,5" HorizontalAlignment="Center">
  261. <Button Cursor="Hand" x:Name="btnLoginType_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnLoginType_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  262. <StackPanel>
  263. <Image x:Name="ImgHeadImgN" Source="/BlackImages/HM_HeadImg_N.png" Width="30" Height="30"/>
  264. <Image x:Name="ImgHeadImg" Source="/BlackImages/HM_HeadImg.png" Width="30" Height="30" Visibility="Collapsed"/>
  265. <!--<TextBlock x:Name="txbLoginType_Black" Text="未登录" FontSize="12" Foreground="#FFC5C5C5"/>-->
  266. </StackPanel>
  267. </Button>
  268. </StackPanel>
  269. <!--按钮-->
  270. <StackPanel Grid.Row="1" Margin="5">
  271. <Button Cursor="Hand" x:Name="btnScreenRecording_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  272. <Button.Template>
  273. <ControlTemplate TargetType="{x:Type Button}">
  274. <StackPanel>
  275. <Image x:Name="ImgScreenRecording_Black" Source="/BlackImages/Toolbar_LP.png" Margin="6,0"/>
  276. <TextBlock x:Name="TxbRecordScreenWord_Black" Foreground="#FFC5C5C5" Text="录屏" Padding="0,2,0,0" FontSize="12" HorizontalAlignment="Center"/>
  277. </StackPanel>
  278. <ControlTemplate.Triggers>
  279. <Trigger Property="IsMouseOver" Value="True">
  280. <Setter TargetName="ImgScreenRecording_Black" Property="Source" Value="/BlackImages/Toolbar_LP_MI.png"/>
  281. <Setter TargetName="TxbRecordScreenWord_Black" Property="Foreground" Value="#FF38ADFF"/>
  282. </Trigger>
  283. <Trigger Property="IsPressed" Value="True">
  284. <Setter TargetName="ImgScreenRecording_Black" Property="Source" Value="/BlackImages/Toolbar_LP_MI.png"/>
  285. <Setter TargetName="TxbRecordScreenWord_Black" Property="Foreground" Value="#FF38ADFF"/>
  286. </Trigger>
  287. <Trigger Property="IsEnabled" Value="False">
  288. <Setter TargetName="ImgScreenRecording_Black" Property="Source" Value="/BlackImages/Toolbar_LP_N.png"/>
  289. <Setter TargetName="TxbRecordScreenWord_Black" Property="Foreground" Value="#FF60606D"/>
  290. </Trigger>
  291. </ControlTemplate.Triggers>
  292. </ControlTemplate>
  293. </Button.Template>
  294. </Button>
  295. <Button Cursor="Hand" x:Name="btnScreenshot_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenshot_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  296. <Button.Template>
  297. <ControlTemplate TargetType="{x:Type Button}">
  298. <StackPanel Orientation="Vertical">
  299. <Image x:Name="ImgScreenshot_Black" Source="/BlackImages/Toolbar_JT.png" Margin="6,0"/>
  300. <TextBlock x:Name="TxbScreenshot_Black" Text="截图" Padding="0,2,0,0" FontSize="12" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  301. </StackPanel>
  302. <ControlTemplate.Triggers>
  303. <Trigger Property="IsMouseOver" Value="True">
  304. <Setter TargetName="ImgScreenshot_Black" Property="Source" Value="/BlackImages/Toolbar_JT_MI.png"/>
  305. <Setter TargetName="TxbScreenshot_Black" Property="Foreground" Value="#FF38ADFF"/>
  306. </Trigger>
  307. <Trigger Property="IsPressed" Value="True">
  308. <Setter TargetName="ImgScreenshot_Black" Property="Source" Value="/BlackImages/Toolbar_JT_MI.png"/>
  309. <Setter TargetName="TxbScreenshot_Black" Property="Foreground" Value="#FF38ADFF"/>
  310. </Trigger>
  311. <Trigger Property="IsEnabled" Value="False">
  312. <Setter TargetName="ImgScreenshot_Black" Property="Source" Value="/BlackImages/Toolbar_JT_N.png"/>
  313. <Setter TargetName="TxbScreenshot_Black" Property="Foreground" Value="#FF60606D"/>
  314. </Trigger>
  315. </ControlTemplate.Triggers>
  316. </ControlTemplate>
  317. </Button.Template>
  318. </Button>
  319. <Button Cursor="Hand" x:Name="btnImport_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  320. <Button.Template>
  321. <ControlTemplate TargetType="{x:Type Button}">
  322. <StackPanel Orientation="Vertical">
  323. <Image x:Name="ImgImport_Black" Source="/BlackImages/Toolbar_DR.png" Margin="6,0"/>
  324. <TextBlock x:Name="TbxImport_Black" Text="导入" Padding="0,2,0,0" FontSize="12" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  325. </StackPanel>
  326. <ControlTemplate.Triggers>
  327. <Trigger Property="IsMouseOver" Value="True">
  328. <Setter TargetName="ImgImport_Black" Property="Source" Value="/BlackImages/Toolbar_DR_MI.png"/>
  329. <Setter TargetName="TbxImport_Black" Property="Foreground" Value="#FF38ADFF"/>
  330. </Trigger>
  331. <Trigger Property="IsPressed" Value="True">
  332. <Setter TargetName="ImgImport_Black" Property="Source" Value="/BlackImages/Toolbar_DR_MI.png"/>
  333. <Setter TargetName="TbxImport_Black" Property="Foreground" Value="#FF38ADFF"/>
  334. </Trigger>
  335. <Trigger Property="IsEnabled" Value="False">
  336. <Setter TargetName="ImgImport_Black" Property="Source" Value="/BlackImages/Toolbar_DR_N.png"/>
  337. <Setter TargetName="TbxImport_Black" Property="Foreground" Value="#FF60606D"/>
  338. </Trigger>
  339. </ControlTemplate.Triggers>
  340. </ControlTemplate>
  341. </Button.Template>
  342. </Button>
  343. </StackPanel>
  344. <Image Grid.Row="1" Source="/BlackImages/Toolbar_Line.png" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="16,0" />
  345. <StackPanel Grid.Row="2" Margin="5">
  346. <Button Cursor="Hand" x:Name="BtnRecord_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnRecord_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  347. <Button.Template>
  348. <ControlTemplate TargetType="{x:Type Button}">
  349. <StackPanel Orientation="Vertical">
  350. <Image x:Name="ImgRecord_Black" Source="/BlackImages/Toolbar_LZ.png" Margin="6,0"/>
  351. <TextBlock x:Name="TxbRecord_Black" Text="录制" Padding="0,2,0,0" FontSize="12" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  352. </StackPanel>
  353. <ControlTemplate.Triggers>
  354. <Trigger Property="IsMouseOver" Value="True">
  355. <Setter TargetName="ImgRecord_Black" Property="Source" Value="/BlackImages/Toolbar_LZ_MI.png"/>
  356. <Setter TargetName="TxbRecord_Black" Property="Foreground" Value="#FF38ADFF"/>
  357. </Trigger>
  358. <Trigger Property="IsPressed" Value="True">
  359. <Setter TargetName="ImgRecord_Black" Property="Source" Value="/BlackImages/Toolbar_LZ_MI.png"/>
  360. <Setter TargetName="TxbRecord_Black" Property="Foreground" Value="#FF38ADFF"/>
  361. </Trigger>
  362. <Trigger Property="IsEnabled" Value="False">
  363. <Setter TargetName="ImgRecord_Black" Property="Source" Value="/BlackImages/Toolbar_LZ_N.png"/>
  364. <Setter TargetName="TxbRecord_Black" Property="Foreground" Value="#FF60606D"/>
  365. </Trigger>
  366. </ControlTemplate.Triggers>
  367. </ControlTemplate>
  368. </Button.Template>
  369. </Button>
  370. <Button Cursor="Hand" x:Name="BtnRecordSuspend_Black" Visibility="Collapsed" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnRecord_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  371. <Button.Template>
  372. <ControlTemplate TargetType="{x:Type Button}">
  373. <StackPanel Orientation="Vertical">
  374. <Image x:Name="ImgRecordSuspend_Black" Source="/BlackImages/Toolbar_LZZT.png" Margin="6,0"/>
  375. <TextBlock x:Name="TxbRecordSuspend_Black" Text="暂停" Padding="0,2,0,0" FontSize="12" Foreground="#FF38ADFF" HorizontalAlignment="Center"/>
  376. </StackPanel>
  377. <ControlTemplate.Triggers>
  378. <Trigger Property="IsMouseOver" Value="True">
  379. <Setter TargetName="ImgRecordSuspend_Black" Property="Source" Value="/BlackImages/Toolbar_LZZT_MI.png"/>
  380. <Setter TargetName="TxbRecordSuspend_Black" Property="Foreground" Value="#FFC5C5C5"/>
  381. </Trigger>
  382. <Trigger Property="IsPressed" Value="True">
  383. <Setter TargetName="ImgRecordSuspend_Black" Property="Source" Value="/BlackImages/Toolbar_LZZT_MI.png"/>
  384. <Setter TargetName="TxbRecordSuspend_Black" Property="Foreground" Value="#FFC5C5C5"/>
  385. </Trigger>
  386. <Trigger Property="IsEnabled" Value="False">
  387. <Setter TargetName="ImgRecordSuspend_Black" Property="Source" Value="/BlackImages/Toolbar_LZZT_N.png"/>
  388. <Setter TargetName="TxbRecordSuspend_Black" Property="Foreground" Value="#FF60606D"/>
  389. </Trigger>
  390. </ControlTemplate.Triggers>
  391. </ControlTemplate>
  392. </Button.Template>
  393. </Button>
  394. <Button Cursor="Hand" x:Name="btnStop_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  395. <Button.Template>
  396. <ControlTemplate TargetType="{x:Type Button}">
  397. <StackPanel Orientation="Vertical">
  398. <Image x:Name="ImgStop_Black" Source="/BlackImages/Toolbar_Save.png" Margin="6,0"/>
  399. <TextBlock x:Name="TxbStop_Black" Text="保存" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  400. </StackPanel>
  401. <ControlTemplate.Triggers>
  402. <Trigger Property="IsMouseOver" Value="True">
  403. <Setter TargetName="ImgStop_Black" Property="Source" Value="/BlackImages/Toolbar_Save_MI.png"/>
  404. <Setter TargetName="TxbStop_Black" Property="Foreground" Value="#FF38ADFF"/>
  405. </Trigger>
  406. <Trigger Property="IsPressed" Value="True">
  407. <Setter TargetName="ImgStop_Black" Property="Source" Value="/BlackImages/Toolbar_Save_MI.png"/>
  408. <Setter TargetName="TxbStop_Black" Property="Foreground" Value="#FF38ADFF"/>
  409. </Trigger>
  410. <Trigger Property="IsEnabled" Value="False">
  411. <Setter TargetName="ImgStop_Black" Property="Source" Value="/BlackImages/Toolbar_Save_N.png"/>
  412. <Setter TargetName="TxbStop_Black" Property="Foreground" Value="#FF60606D"/>
  413. </Trigger>
  414. </ControlTemplate.Triggers>
  415. </ControlTemplate>
  416. </Button.Template>
  417. </Button>
  418. </StackPanel>
  419. <Image Grid.Row="2" Source="/BlackImages/Toolbar_Line.png" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="16,0" />
  420. <StackPanel Grid.Row="3" Margin="5">
  421. <Button Cursor="Hand" x:Name="btnAdd_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  422. <Button.Template>
  423. <ControlTemplate TargetType="{x:Type Button}">
  424. <StackPanel Orientation="Vertical">
  425. <Image x:Name="ImgAdd_Black" Source="/BlackImages/Toolbar_JY.png" Visibility="Visible" Margin="6,0"/>
  426. <TextBlock x:Name="TxbAdd_Black" Text="加页" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  427. </StackPanel>
  428. <ControlTemplate.Triggers>
  429. <Trigger Property="IsMouseOver" Value="True">
  430. <Setter TargetName="ImgAdd_Black" Property="Source" Value="/BlackImages/Toolbar_JY_MI.png"/>
  431. <Setter TargetName="TxbAdd_Black" Property="Foreground" Value="#FF38ADFF"/>
  432. </Trigger>
  433. <Trigger Property="IsPressed" Value="True">
  434. <Setter TargetName="ImgAdd_Black" Property="Source" Value="/BlackImages/Toolbar_JY_MI.png"/>
  435. <Setter TargetName="TxbAdd_Black" Property="Foreground" Value="#FF38ADFF"/>
  436. </Trigger>
  437. <Trigger Property="IsEnabled" Value="False">
  438. <Setter TargetName="ImgAdd_Black" Property="Source" Value="/BlackImages/Toolbar_JY_N.png"/>
  439. <Setter TargetName="TxbAdd_Black" Property="Foreground" Value="#FF60606D"/>
  440. </Trigger>
  441. </ControlTemplate.Triggers>
  442. </ControlTemplate>
  443. </Button.Template>
  444. </Button>
  445. <Button Cursor="Hand" x:Name="btnPrint_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" Click="BtnPrint_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  446. <Button.Template>
  447. <ControlTemplate TargetType="{x:Type Button}">
  448. <StackPanel Orientation="Vertical">
  449. <Image x:Name="ImgPrint_Black" Source="/BlackImages/Toolbar_DY.png" Margin="6,0"/>
  450. <TextBlock x:Name="TxbPrint_Black" Text="打印" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  451. </StackPanel>
  452. <ControlTemplate.Triggers>
  453. <Trigger Property="IsMouseOver" Value="True">
  454. <Setter TargetName="ImgPrint_Black" Property="Source" Value="/BlackImages/Toolbar_DY_MI.png"/>
  455. <Setter TargetName="TxbPrint_Black" Property="Foreground" Value="#FF38ADFF"/>
  456. </Trigger>
  457. <Trigger Property="IsPressed" Value="True">
  458. <Setter TargetName="ImgPrint_Black" Property="Source" Value="/BlackImages/Toolbar_DY_MI.png"/>
  459. <Setter TargetName="TxbPrint_Black" Property="Foreground" Value="#FF38ADFF"/>
  460. </Trigger>
  461. <Trigger Property="IsEnabled" Value="False">
  462. <Setter TargetName="ImgPrint_Black" Property="Source" Value="/BlackImages/Toolbar_DY_N.png"/>
  463. <Setter TargetName="TxbPrint_Black" Property="Foreground" Value="#FF60606D"/>
  464. </Trigger>
  465. </ControlTemplate.Triggers>
  466. </ControlTemplate>
  467. </Button.Template>
  468. </Button>
  469. <Button Cursor="Hand" x:Name="btnUpload_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" Click="BtnUpload_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  470. <Button.Template>
  471. <ControlTemplate TargetType="{x:Type Button}">
  472. <StackPanel Orientation="Vertical">
  473. <Image x:Name="ImgUpload_Black" Source="/BlackImages/Toolbar_MY.png" Margin="6,0"/>
  474. <TextBlock x:Name="TxbUpload_Black" Text="我的" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  475. </StackPanel>
  476. <ControlTemplate.Triggers>
  477. <Trigger Property="IsMouseOver" Value="True">
  478. <Setter TargetName="ImgUpload_Black" Property="Source" Value="/BlackImages/Toolbar_MY_MI.png"/>
  479. <Setter TargetName="TxbUpload_Black" Property="Foreground" Value="#FF38ADFF"/>
  480. </Trigger>
  481. <Trigger Property="IsPressed" Value="True">
  482. <Setter TargetName="ImgUpload_Black" Property="Source" Value="/BlackImages/Toolbar_MY_MI.png"/>
  483. <Setter TargetName="TxbUpload_Black" Property="Foreground" Value="#FF38ADFF"/>
  484. </Trigger>
  485. <Trigger Property="IsEnabled" Value="False">
  486. <Setter TargetName="ImgUpload_Black" Property="Source" Value="/BlackImages/Toolbar_MY_N.png"/>
  487. <Setter TargetName="TxbUpload_Black" Property="Foreground" Value="#FF60606D"/>
  488. </Trigger>
  489. </ControlTemplate.Triggers>
  490. </ControlTemplate>
  491. </Button.Template>
  492. </Button>
  493. <Button Cursor="Hand" x:Name="btnDevice_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Click="btnDevice_Black_Click">
  494. <Button.Template>
  495. <ControlTemplate TargetType="{x:Type Button}">
  496. <StackPanel Orientation="Vertical">
  497. <Image x:Name="ImgDevice_Black" Source="/BlackImages/Toolbar_JC.png" Margin="6,0"/>
  498. <TextBlock x:Name="TxbDevice_Black" Text="检测" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  499. </StackPanel>
  500. <ControlTemplate.Triggers>
  501. <Trigger Property="IsMouseOver" Value="True">
  502. <Setter TargetName="ImgDevice_Black" Property="Source" Value="/BlackImages/Toolbar_JC_MI.png"/>
  503. <Setter TargetName="TxbDevice_Black" Property="Foreground" Value="#FF38ADFF"/>
  504. </Trigger>
  505. <Trigger Property="IsPressed" Value="True">
  506. <Setter TargetName="ImgDevice_Black" Property="Source" Value="/BlackImages/Toolbar_JC_MI.png"/>
  507. <Setter TargetName="TxbDevice_Black" Property="Foreground" Value="#FF38ADFF"/>
  508. </Trigger>
  509. <Trigger Property="IsEnabled" Value="False">
  510. <Setter TargetName="ImgDevice_Black" Property="Source" Value="/BlackImages/Toolbar_JC_N.png"/>
  511. <Setter TargetName="TxbDevice_Black" Property="Foreground" Value="#FF60606D"/>
  512. </Trigger>
  513. </ControlTemplate.Triggers>
  514. </ControlTemplate>
  515. </Button.Template>
  516. </Button>
  517. <Button Cursor="Hand" x:Name="btnSetUp_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" Click="BtnSetUp_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  518. <Button.Template>
  519. <ControlTemplate TargetType="{x:Type Button}">
  520. <StackPanel Orientation="Vertical">
  521. <Image x:Name="ImgSetUp_Black" Source="/BlackImages/Toolbar_SZ.png" Margin="6,0"/>
  522. <TextBlock x:Name="TxbSetUp_Black" Text="设置" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
  523. </StackPanel>
  524. <ControlTemplate.Triggers>
  525. <Trigger Property="IsMouseOver" Value="True">
  526. <Setter TargetName="ImgSetUp_Black" Property="Source" Value="/BlackImages/Toolbar_SZ_MI.png"/>
  527. <Setter TargetName="TxbSetUp_Black" Property="Foreground" Value="#FF38ADFF"/>
  528. </Trigger>
  529. <Trigger Property="IsPressed" Value="True">
  530. <Setter TargetName="ImgSetUp_Black" Property="Source" Value="/BlackImages/Toolbar_SZ_MI.png"/>
  531. <Setter TargetName="TxbSetUp_Black" Property="Foreground" Value="#FF38ADFF"/>
  532. </Trigger>
  533. <Trigger Property="IsEnabled" Value="False">
  534. <Setter TargetName="ImgSetUp_Black" Property="Source" Value="/BlackImages/Toolbar_SZ_N.png"/>
  535. <Setter TargetName="TxbSetUp_Black" Property="Foreground" Value="#FF60606D"/>
  536. </Trigger>
  537. </ControlTemplate.Triggers>
  538. </ControlTemplate>
  539. </Button.Template>
  540. </Button>
  541. </StackPanel>
  542. </Grid>
  543. <!--主内容-->
  544. <Grid Grid.Column="1">
  545. <!--分3行-->
  546. <Grid.RowDefinitions>
  547. <RowDefinition Height="auto"/>
  548. <RowDefinition Height="*"/>
  549. <RowDefinition Height="auto"/>
  550. </Grid.RowDefinitions>
  551. <!--标题栏 黑-->
  552. <Grid x:Name="GridTitle_Black" Visibility="Visible" Grid.Row="0" Height="40">
  553. <!--分3行-->
  554. <Grid.RowDefinitions>
  555. <RowDefinition Height="auto"/>
  556. <RowDefinition Height="*"/>
  557. </Grid.RowDefinitions>
  558. <!--第一行-->
  559. <Grid Grid.Row="0" Background="#FFE9E9E9" Height="40" MouseLeftButtonDown="Window_MouseLeftButtonDown">
  560. <StackPanel Orientation="Horizontal" Margin="10,0" HorizontalAlignment="Left">
  561. <!--<Image Source="./Images/microLessonSystem_0.png" VerticalAlignment="Center"/>-->
  562. <TextBlock Text="星火微课系统" FontSize="12" Foreground="#FF333333" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
  563. </StackPanel>
  564. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0">
  565. <TextBlock x:Name="txbType_Black" FontSize="20" Foreground="#FF333333" Text="" Margin="10,0" HorizontalAlignment="Center"/>
  566. <TextBlock x:Name="txbTime_Black" FontSize="20" Foreground="#FFFF0000" Text="" Margin="10,0" HorizontalAlignment="Center"/>
  567. </StackPanel>
  568. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0">
  569. <Button Cursor="Hand" x:Name="btnShrink_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="5,0" Width="20" Height="20" HorizontalAlignment="Left" >
  570. <Image Source="/BlackImages/HM_Min.png" />
  571. </Button>
  572. <Button Cursor="Hand" x:Name="btnDown_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" HorizontalAlignment="Right" Width="20" Height="20" Margin="5,0" >
  573. <Image Source="/BlackImages/HM_Close.png" />
  574. </Button>
  575. </StackPanel>
  576. </Grid>
  577. <Border Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2">
  578. <Grid x:Name="GridMain_Black" Visibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  579. <ScrollViewer x:Name="scroMain_Black" VerticalScrollBarVisibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  580. <Grid x:Name="gridM_Black" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Width="auto" Height="1780" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  581. <Grid>
  582. <Border Grid.Row="1" CornerRadius="5">
  583. <Grid x:Name="IMG_Black" Margin="0,0,0,0">
  584. <Grid.Resources>
  585. <TransformGroup x:Key="Imageview">
  586. <ScaleTransform/>
  587. <TranslateTransform/>
  588. </TransformGroup>
  589. </Grid.Resources>
  590. <!--图片表框 -->
  591. <Rectangle x:Name="RectImgBorder_Black" Cursor="SizeAll" Fill="#00000000" HorizontalAlignment="Left" Stroke="#2D8CF0" VerticalAlignment="Top" Width="300" Height="300" Visibility="Hidden" Margin="373,175,0,0" StrokeThickness="4" StrokeDashArray="4 4" SnapsToDevicePixels="True"/>
  592. <Image x:Name="imgCanvas_Black" Height="0" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Fill" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown" Focusable="True" MouseMove="imgCanvas_MouseMove" MouseUp="imgCanvas_MouseUp"/>
  593. <!--四个点 -->
  594. <Canvas>
  595. <Thumb x:Name="RectLeftUp_Black" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  596. <Thumb x:Name="RectRightUp_Black" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  597. <Thumb x:Name="RectLeftDown_Black" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  598. <Thumb x:Name="RectRightDown_Black" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  599. </Canvas>
  600. </Grid>
  601. </Border>
  602. </Grid>
  603. <Image x:Name="imgDocumentation_Black" Visibility="Visible" Stretch="Fill"/>
  604. <Image x:Name="imgPPT_Black" Visibility="Visible" VerticalAlignment="Top"/>
  605. <!--导入图片-->
  606. <InkCanvas Grid.Row="0" x:Name="blackboard_canvas_Black" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
  607. <!--摄像头-->
  608. </Grid>
  609. </ScrollViewer>
  610. <Image x:Name="imgPlayerLeft_Black" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed"/>
  611. <Image x:Name="imgPlayerRight_Black" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed"/>
  612. <Image x:Name="imgPlayerLeftUnder_Black" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
  613. <Image x:Name="imgPlayerRightUnder_Black" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
  614. <Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
  615. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
  616. <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
  617. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>
  618. </Grid>
  619. </Border>
  620. </Grid>
  621. <!--标题工具栏 蓝-->
  622. <Grid x:Name="GridToolbars_Blue" Grid.Row="0" Visibility="Collapsed" Background="#2D8CF0" MouseLeftButtonDown="Window_MouseLeftButtonDown" Margin="0,0,0,0" MinHeight="100px" MouseDown="Grid_MouseDown">
  623. <Grid.RowDefinitions>
  624. <RowDefinition Height="auto"/>
  625. <RowDefinition Height="auto"/>
  626. </Grid.RowDefinitions>
  627. <!--第一行-->
  628. <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
  629. <Image Source="./Images/microLessonSystem_0.png"/>
  630. <TextBlock Text="星火微课系统" FontSize="14" Padding="5,2,0,0" Foreground="#FFFFFF"/>
  631. </StackPanel>
  632. <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,20,0">
  633. <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
  634. <StackPanel Orientation="Horizontal">
  635. <Image Source="./Images/microLessonSystem_9.png"/>
  636. <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"
  637. />
  638. </StackPanel>
  639. </Button>
  640. <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
  641. <Image Source="./Images/microLessonSystem_19.png"/>
  642. </Button>
  643. <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
  644. <Image Source="./Images/microLessonSystem_8.png"/>
  645. </Button>-->
  646. <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
  647. <Image Source="./Images/microLessonSystem_10.png"/>
  648. </Button>
  649. </StackPanel>
  650. <!--第二行-->
  651. <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0,0,0" HorizontalAlignment="Left">
  652. <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
  653. <StackPanel Orientation="Vertical">
  654. <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
  655. <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
  656. <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  657. </StackPanel>
  658. </Button>
  659. <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
  660. <StackPanel Orientation="Vertical">
  661. <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
  662. <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
  663. <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  664. </StackPanel>
  665. </Button>
  666. <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
  667. <StackPanel Orientation="Vertical">
  668. <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
  669. <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
  670. <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  671. </StackPanel>
  672. </Button>
  673. <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
  674. <StackPanel Orientation="Vertical">
  675. <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
  676. <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
  677. <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  678. </StackPanel>
  679. </Button>
  680. <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
  681. <StackPanel Orientation="Vertical">
  682. <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
  683. <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
  684. <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  685. </StackPanel>
  686. </Button>
  687. <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
  688. </StackPanel>
  689. <StackPanel Grid.Row="1" HorizontalAlignment="Center">
  690. <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="60,25,0,0"/>
  691. </StackPanel>
  692. <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,5">
  693. <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
  694. <StackPanel Orientation="Vertical">
  695. <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
  696. <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
  697. <TextBlock Text="加页" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  698. </StackPanel>
  699. </Button>
  700. <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
  701. <StackPanel Orientation="Vertical">
  702. <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
  703. <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
  704. <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  705. </StackPanel>
  706. </Button>
  707. <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
  708. <StackPanel Orientation="Vertical">
  709. <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
  710. <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_16.png" Visibility="Visible"/>
  711. <TextBlock Text="上传" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  712. </StackPanel>
  713. </Button>-->
  714. <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
  715. <StackPanel Orientation="Vertical">
  716. <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Visible"/>
  717. <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Collapsed"/>
  718. <TextBlock Text="我的" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  719. </StackPanel>
  720. </Button>
  721. <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
  722. <StackPanel Orientation="Vertical">
  723. <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
  724. <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
  725. <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
  726. </StackPanel>
  727. </Button>
  728. </StackPanel>
  729. </Grid>
  730. <!--录制区-->
  731. <Border Grid.Row="1">
  732. <Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  733. <ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  734. <Grid x:Name="gridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Width="auto" Height="1780" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  735. <Grid>
  736. <Border Grid.Row="1" CornerRadius="5">
  737. <Grid x:Name="IMG" Margin="0,0,0,0">
  738. <Grid.Resources>
  739. <TransformGroup x:Key="Imageview">
  740. <ScaleTransform/>
  741. <TranslateTransform/>
  742. </TransformGroup>
  743. </Grid.Resources>
  744. <!--<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Cursor="SizeAll"
  745. Margin="0,0,0,0" Focusable="False" x:Name="BackFrame">
  746. <ContentControl MouseLeftButtonDown="IMG1_MouseLeftButtonDown"
  747. MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
  748. MouseMove="IMG1_MouseMove"
  749. MouseWheel="IMG1_MouseWheel" >
  750. </ContentControl>
  751. </ScrollViewer>-->
  752. <!--图片表框 -->
  753. <Rectangle x:Name="RectImgBorder" Cursor="SizeAll" Fill="#00000000" HorizontalAlignment="Left" Stroke="#2D8CF0" VerticalAlignment="Top" Width="300" Height="300" Visibility="Hidden" Margin="373,175,0,0" StrokeThickness="4" StrokeDashArray="4 4" SnapsToDevicePixels="True"/>
  754. <Image x:Name="imgCanvas" Height="0" VerticalAlignment="Top" HorizontalAlignment="Left" Stretch="Fill" MouseDown="PicEMap_MouseDown" RenderTransform="{StaticResource Imageview}" MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown" Focusable="True" MouseMove="imgCanvas_MouseMove" MouseUp="imgCanvas_MouseUp"/>
  755. <!--四个点 -->
  756. <Canvas>
  757. <Thumb x:Name="RectLeftUp" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  758. <Thumb x:Name="RectRightUp" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="157" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  759. <Thumb x:Name="RectLeftDown" Cursor="SizeNESW" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="314" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  760. <Thumb x:Name="RectRightDown" Cursor="SizeNWSE" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="20" Visibility="Hidden" Canvas.Left="775" Canvas.Top="508" Background="White" BorderBrush="#2D8CF0" BorderThickness="2" DragDelta="RectRightUp_DragDelta" DragStarted="RectRightUp_DragStarted" DragCompleted="RectRightUp_DragCompleted"/>
  761. </Canvas>
  762. </Grid>
  763. </Border>
  764. </Grid>
  765. <Image x:Name="imgDocumentation" Visibility="Visible" Stretch="Fill"/>
  766. <!--<Grid Width="auto" Height="auto" HorizontalAlignment="Center" VerticalAlignment="Center">
  767. <Border BorderBrush="#FF171515" BorderThickness="2">
  768. <Image x:Name="imgDocumentation" Visibility="Visible" Stretch="Fill"/>
  769. </Border>
  770. </Grid>-->
  771. <Image x:Name="imgPPT" Visibility="Visible" VerticalAlignment="Top"/>
  772. <!--导入图片-->
  773. <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
  774. <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
  775. <!--摄像头-->
  776. <!--<wfi:WindowsFormsHost Grid.Row="0" Grid.Column="1" x:Name="wfhCamera" Height="124" Width="172" HorizontalAlignment="Right" Margin="0,10,30.10,0" VerticalAlignment="Top">
  777. <aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
  778. </wfi:WindowsFormsHost>-->
  779. <!--<Image x:Name="imgLoad"
  780. Width="300"
  781. Height="300"
  782. gifLib:ImageBehavior.AnimatedSource="./Images/img_load.gif" VerticalAlignment="Top" Margin="0,200,0,0" Visibility="Visible"/>-->
  783. </Grid>
  784. </ScrollViewer>
  785. <Image x:Name="imgPlayerLeft" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed"/>
  786. <Image x:Name="imgPlayerRight" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed"/>
  787. <Image x:Name="imgPlayerLeftUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
  788. <Image x:Name="imgPlayerRightUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
  789. <!--<Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
  790. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
  791. <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
  792. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>-->
  793. </Grid>
  794. </Border>
  795. <!--设置-->
  796. <ScrollViewer x:Name="gridSetUp" Grid.Row="1" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
  797. <Grid Grid.Row="1" Background="#FFFFFF" >
  798. <Grid.RowDefinitions>
  799. <RowDefinition Height="80"/>
  800. <RowDefinition Height="50"/>
  801. <RowDefinition Height="50"/>
  802. <RowDefinition Height="50"/>
  803. <RowDefinition Height="50"/>
  804. <RowDefinition Height="50"/>
  805. <RowDefinition Height="50"/>
  806. <RowDefinition Height="50"/>
  807. <RowDefinition Height="50"/>
  808. <RowDefinition Height="50"/>
  809. <RowDefinition Height="50"/>
  810. <RowDefinition Height="50"/>
  811. <RowDefinition Height="*"/>
  812. </Grid.RowDefinitions>
  813. <Grid.ColumnDefinitions>
  814. <ColumnDefinition Width="100"/>
  815. <ColumnDefinition Width="*"/>
  816. </Grid.ColumnDefinitions>
  817. <TextBlock Grid.Row="0" Grid.Column="0" Text="设备" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Margin="0,30,0,0"/>
  818. <TextBlock Grid.Row="0" Grid.Column="1" x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0"/>
  819. <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
  820. <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  821. <RadioButton x:Name="rbnMP4" Cursor="Hand" Style="{StaticResource radBase}" Content=" MP4" FontSize="14" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
  822. <RadioButton x:Name="rbnFLV" Cursor="Hand" Style="{StaticResource radBase}" Content=" FLV" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
  823. <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="14" Foreground="#333333" Margin="20,-26,0,0" Visibility="Collapsed"/>
  824. </StackPanel>
  825. <TextBlock Grid.Row="2" Grid.Column="0" Text="录屏工具栏" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
  826. <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  827. <RadioButton x:Name="rbnHide" Cursor="Hand" Style="{StaticResource radBase}" Content=" 隐藏" FontSize="14" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
  828. <RadioButton x:Name="rbnvisi" Cursor="Hand" Style="{StaticResource radBase}" Content=" 显示" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
  829. </StackPanel>
  830. <TextBlock Grid.Row="3" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
  831. <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  832. <RadioButton Cursor="Hand" x:Name="rbnRight" Style="{StaticResource radBase}" Content=" 右上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="0,0,0,0" IsChecked="True"/>
  833. <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
  834. <RadioButton Cursor="Hand" x:Name="rbnLeft" Style="{StaticResource radBase}" Content=" 左上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0" />
  835. <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Style="{StaticResource radBase}" Content=" 左下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
  836. </StackPanel>
  837. <TextBlock Grid.Row="4" Grid.Column="0" Text="皮肤" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
  838. <StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  839. <RadioButton Cursor="Hand" x:Name="rbnBlue" Style="{StaticResource radBase}" Content=" 蓝色" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="0,0,0,0" IsChecked="True"/>
  840. <RadioButton Cursor="Hand" x:Name="rbnBlack" Style="{StaticResource radBase}" Content=" 黑色" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
  841. </StackPanel>
  842. <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
  843. <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
  844. <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
  845. <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  846. </StackPanel>
  847. <!--接口地址-->
  848. <TextBlock Grid.Row="5" Grid.Column="0" Text="接口地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
  849. <StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
  850. <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
  851. <TextBox x:Name="txbInterfaceAddress" FontSize="14" Width="467" Height="30" Margin="0,-30,0,0" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
  852. </StackPanel>
  853. <!--上传地址-->
  854. <TextBlock Grid.Row="6" Grid.Column="0" Text="上传地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
  855. <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
  856. <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
  857. <TextBox x:Name="txbImageUploadAddress" FontSize="14" Margin="0,-30,0,0" Width="467" Height="30" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
  858. </StackPanel>
  859. <!--下载地址-->
  860. <TextBlock Grid.Row="7" Grid.Column="0" Text="下载地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
  861. <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
  862. <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
  863. <TextBox x:Name="txbPictureShowsAddress" FontSize="14" Margin="0,-30,0,0" Width="467" Height="30" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
  864. </StackPanel>
  865. <TextBlock Grid.Row="8" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Padding="0,0,0,0" />
  866. <StackPanel Grid.Row="8" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  867. <Border Background="#CDD6E0" Width="515" Height="30" CornerRadius="3" Margin="0,-30,0,0">
  868. <Label x:Name="txbStoragePath" Background="#FFFFFF" Margin="0,0,0,0" Content="D:\" FontSize="14" Foreground="#333333" Padding="10,7,2,2" Width="513" Height="28" BorderBrush="{x:Null}" BorderThickness="0"/>
  869. </Border>
  870. <!--浏览按钮-->
  871. <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="14" Width="80" Height="30" Margin="18,-30,0,0" Click="BtnBrowse_Click">
  872. <Button.Template>
  873. <ControlTemplate TargetType="{x:Type Button}">
  874. <Border
  875. BorderBrush="{TemplateBinding BorderBrush}"
  876. BorderThickness="1"
  877. CornerRadius="2">
  878. <Border.Background>
  879. <Brush>#EBEFF3</Brush>
  880. </Border.Background>
  881. <ContentPresenter
  882. HorizontalAlignment="Center"
  883. VerticalAlignment="Center"
  884. Content="{TemplateBinding Content}" />
  885. </Border>
  886. </ControlTemplate>
  887. </Button.Template>
  888. </Button>
  889. <!--打开按钮-->
  890. <Button Cursor="Hand" x:Name="btnOpen" Content="打开文件位置" FontSize="14" Width="100" Height="30" Margin="18,-30,0,0" Click="btnOpen_Click">
  891. <Button.Template>
  892. <ControlTemplate TargetType="{x:Type Button}">
  893. <Border
  894. BorderBrush="{TemplateBinding BorderBrush}"
  895. BorderThickness="1"
  896. CornerRadius="2">
  897. <Border.Background>
  898. <Brush>#EBEFF3</Brush>
  899. </Border.Background>
  900. <ContentPresenter
  901. HorizontalAlignment="Center"
  902. VerticalAlignment="Center"
  903. Content="{TemplateBinding Content}" />
  904. </Border>
  905. </ControlTemplate>
  906. </Button.Template>
  907. </Button>
  908. </StackPanel>
  909. <TextBlock Grid.Row="9" Grid.Column="0" Text="录屏快捷键" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
  910. <StackPanel Grid.Row="9" Grid.Column="1">
  911. <TextBlock FontSize="14" Foreground="#333333" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="30,0,0,0"/>
  912. </StackPanel>
  913. <TextBlock Grid.Row="10" Grid.Column="0" Text="版权所有" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
  914. <StackPanel Grid.Row="10" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  915. <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333"/>
  916. </StackPanel>
  917. <TextBlock Grid.Row="11" Grid.Column="0" x:Name="txbVersion" Text="正式版:" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
  918. <StackPanel Grid.Row="11" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
  919. <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333"/>
  920. </StackPanel>
  921. <!--第四行 开始按钮-->
  922. <Button Cursor="Hand" Grid.Row="12" Grid.ColumnSpan="2" x:Name="btnSave" Content="保存" FontSize="18" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Width="115" Height="45" Margin="10,10,10,10" Click="BtnSave_Click">
  923. <Button.Template>
  924. <ControlTemplate TargetType="{x:Type Button}">
  925. <Border
  926. BorderBrush="{TemplateBinding BorderBrush}"
  927. BorderThickness="1"
  928. CornerRadius="2">
  929. <Border.Background>
  930. <Brush>#2D8CF0</Brush>
  931. </Border.Background>
  932. <ContentPresenter
  933. HorizontalAlignment="Center"
  934. VerticalAlignment="Center"
  935. Content="{TemplateBinding Content}" />
  936. </Border>
  937. </ControlTemplate>
  938. </Button.Template>
  939. </Button>
  940. </Grid>
  941. </ScrollViewer>
  942. <!--上传-->
  943. <Grid Grid.Row="1" x:Name="gridUpload" Visibility="Collapsed">
  944. <Border Background="#EFF1F8">
  945. <Grid Background="#FFFFFF" Margin="0,0,0,0">
  946. <!--分4行-->
  947. <Grid.RowDefinitions>
  948. <RowDefinition Height="*"/>
  949. <RowDefinition Height="30"/>
  950. </Grid.RowDefinitions>
  951. <!--第二行 内容-->
  952. <Grid Grid.Row="0" Margin="0,0,0,0">
  953. <Grid.RowDefinitions>
  954. <RowDefinition Height="45"/>
  955. <RowDefinition Height="*"/>
  956. </Grid.RowDefinitions>
  957. <UniformGrid x:Name="uniStatisticsByTitle"
  958. Grid.Row="0"
  959. Margin="0,0,0,0"
  960. Background="#E6F0FF"
  961. Columns="5"
  962. Rows="1">
  963. <TextBlock
  964. HorizontalAlignment="Center"
  965. VerticalAlignment="Center"
  966. FontSize="16"
  967. Text="序号" />
  968. <TextBlock
  969. HorizontalAlignment="Center"
  970. VerticalAlignment="Center"
  971. FontSize="16"
  972. Text="视频名称"/>
  973. <!--<TextBlock
  974. HorizontalAlignment="Center"
  975. VerticalAlignment="Center"
  976. FontSize="15"
  977. Text="视频时长" Foreground="White" />-->
  978. <TextBlock
  979. HorizontalAlignment="Center"
  980. VerticalAlignment="Center"
  981. FontSize="16"
  982. Text="视频大小"/>
  983. <TextBlock
  984. HorizontalAlignment="Center"
  985. VerticalAlignment="Center"
  986. FontSize="16"
  987. Text="日期"/>
  988. <TextBlock
  989. HorizontalAlignment="Center"
  990. VerticalAlignment="Center"
  991. FontSize="16"
  992. Text="操作"/>
  993. </UniformGrid>
  994. <ListBox Grid.Row="1" Margin="0,0,0,0"
  995. x:Name="listView1"
  996. BorderThickness="0"
  997. FontSize="20"
  998. ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
  999. ItemTemplate="{StaticResource TongjiItem}"
  1000. ItemsSource="{Binding menuList}"
  1001. ScrollViewer.HorizontalScrollBarVisibility="Disabled"
  1002. ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
  1003. </Grid>
  1004. <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
  1005. Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
  1006. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  1007. x:Name="btnLastPage"
  1008. Width="60" Height="20"
  1009. Click="BtnLastPage_Click">
  1010. <StackPanel>
  1011. <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
  1012. </StackPanel>
  1013. </Button>
  1014. <Grid Width="60" Background="Transparent">
  1015. <Grid.RowDefinitions>
  1016. <RowDefinition Height="311*"/>
  1017. <RowDefinition Height="483*"/>
  1018. </Grid.RowDefinitions>
  1019. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
  1020. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
  1021. <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
  1022. <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
  1023. <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
  1024. </StackPanel>
  1025. </StackPanel>
  1026. </Grid>
  1027. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  1028. x:Name="btnNextPage" Background="Transparent"
  1029. Width="60" Height="20"
  1030. Click="BtnNextPage_Click">
  1031. <StackPanel>
  1032. <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
  1033. </StackPanel>
  1034. </Button>
  1035. </StackPanel>
  1036. </Grid>
  1037. </Border>
  1038. </Grid>
  1039. <!--我的-->
  1040. <Grid x:Name="GridMyVideo" Grid.Row="1" Margin="0" Background="White" Visibility="Collapsed">
  1041. <Grid.RowDefinitions>
  1042. <RowDefinition Height="*"/>
  1043. <RowDefinition Height="50"/>
  1044. </Grid.RowDefinitions>
  1045. <Label x:Name="lblVideoMess" Grid.Row="0" Content="暂无微课录制信息,请录制并等待保存完成后重试!" HorizontalAlignment="Center" Margin="0,0,0,100" VerticalAlignment="Center" FontSize="20" Visibility="Hidden"/>
  1046. <Button x:Name="BtnVideoUpPage" Content="上一页" Cursor="Hand" HorizontalAlignment="Center" Margin="0,0,150,12" Grid.Row="1" VerticalAlignment="Bottom" Width="60" Background="{x:Null}" BorderBrush="{x:Null}" FontSize="16" Foreground="#FF333333" Click="BtnVideoUpPage_Click"/>
  1047. <Label x:Name="lblVideoPageNum" Grid.Row="1" FontSize="14" Content="100/100" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10" Foreground="#FF333333" />
  1048. <Button x:Name="BtnVideoDownPage" Content="下一页" Cursor="Hand" HorizontalAlignment="Center" Margin="150,0,0,12" Grid.Row="1" VerticalAlignment="Bottom" Width="60" Background="{x:Null}" BorderBrush="{x:Null}" FontSize="16" Foreground="#FF333333" Click="BtnVideoDownPage_Click"/>
  1049. </Grid>
  1050. <!--打印-->
  1051. <Grid Grid.Row="1" x:Name="GridPrintContent" Background="White" Visibility="Collapsed">
  1052. <Grid.RowDefinitions>
  1053. <RowDefinition Height="50"/>
  1054. <RowDefinition Height="*"/>
  1055. <RowDefinition Height="50"/>
  1056. </Grid.RowDefinitions>
  1057. <Grid Grid.Row="0" Background="#FFFFFFFF" MouseLeftButtonDown="Window_MouseLeftButtonDown">
  1058. <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Margin="10,2,0,0" Height="40">
  1059. <TextBlock Text="打印机:" FontSize="20" Padding="0,5,0,0"/>
  1060. <ComboBox Text="请选择" Cursor="Hand" Width="210" x:Name="cmbClass" Padding="30,0,10,0" Style="{StaticResource stlComboBox}" BorderThickness="0" DisplayMemberPath="Value" FontSize="14" SelectedValuePath="Key" Background="White" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" HorizontalAlignment="Left" />
  1061. <TextBlock Text="份数:" FontSize="20" Margin="50,0,0,0" Padding="0,5,0,0" HorizontalAlignment="Right"/>
  1062. <Border BorderBrush="#FFDCDCDC" BorderThickness="1" CornerRadius="3">
  1063. <Grid>
  1064. <StackPanel Orientation="Horizontal">
  1065. <TextBlock x:Name="txbNumberOfCopies" Width="100" Text="1" FontSize="16" Padding="50,10,0,0" Background="White" />
  1066. <StackPanel HorizontalAlignment="Right">
  1067. <Button Cursor="Hand" Grid.Row="0" x:Name="btnPrintAdd" Content="+" Click="BtnPrintAdd_Click" Background="White" BorderBrush="#FFDCDCDC"/>
  1068. <Button Cursor="Hand" Grid.Row="1" x:Name="btnPrintLess" Content="-" Click="BtnPrintLess_Click" Background="White" BorderBrush="#FFDCDCDC"/>
  1069. </StackPanel>
  1070. </StackPanel>
  1071. </Grid>
  1072. </Border>
  1073. <TextBlock Text="DPI:" FontSize="20" Padding="50,5,0,0"/>
  1074. <ComboBox Text="600" Cursor="Hand" Width="210" x:Name="CbxDpi" Padding="30,0,10,0" VerticalContentAlignment="Center" Style="{StaticResource stlComboBox}" BorderThickness="0" DisplayMemberPath="Value" FontSize="14" SelectedValuePath="Key"/>
  1075. </StackPanel>
  1076. <TextBlock Text="类型:" FontSize="20" Padding="50,5,0,0" Margin="523,0,273,10" Visibility="Hidden" />
  1077. <ComboBox Cursor="Hand" x:Name="CbxType" Padding="30,0,10,0" VerticalContentAlignment="Center" BorderThickness="0" DisplayMemberPath="Value" FontSize="14" SelectedValuePath="Key" Margin="626,0,64,10" Visibility="Hidden" />
  1078. </Grid>
  1079. <!--<Views:ZJClippingBorder Grid.Row="0" x:Name="tip_outer" Margin="0" Background="#FFE6EAF0" CornerRadius="4" Visibility="Collapsed">
  1080. <Grid>
  1081. <Label Content="打印中..." HorizontalAlignment="Center" Margin="0,20,0,0" Height="35" VerticalAlignment="Top" FontSize="20"></Label>
  1082. <ProgressBar BorderBrush="#4597FF" Foreground="#4597FF" Grid.Row="0" x:Name="pgbProcess" Height="20" Margin="50,20,50,0" Visibility="Visible" />
  1083. <Label Grid.Row="0" HorizontalAlignment="Center" Width="60" x:Name="lbProcess" Height="30" Margin="0,20,0,0" FontSize="16" Content="" Foreground="White" Visibility="Visible" />
  1084. </Grid>
  1085. </Views:ZJClippingBorder>-->
  1086. <Grid Grid.Row="1">
  1087. <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
  1088. <ScrollViewer VerticalScrollBarVisibility="Visible">
  1089. <Image x:Name="imgPri"/>
  1090. </ScrollViewer>
  1091. </Border>
  1092. </Grid>
  1093. <Button x:Name="btnPrint_Print" Grid.Row="2" Width="115" Height="46" Click="BtnPrint_Print_Click" Content="打印" Foreground="White" FontSize="17" IsDefault="True" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,150,0">
  1094. <Button.Template>
  1095. <ControlTemplate TargetType="{x:Type Button}">
  1096. <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="7">
  1097. <Border.Background>#2E8CF0</Border.Background>
  1098. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding ContentControl.Content}" />
  1099. </Border>
  1100. </ControlTemplate>
  1101. </Button.Template>
  1102. </Button>
  1103. <Button x:Name="btnPrintExplain" Grid.Row="2" Width="116" Height="46" Content="打印说明" Foreground="White" FontSize="17" IsDefault="True" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="150,0,0,0" HorizontalAlignment="Center" Click="btnPrintExplain_Click">
  1104. <Button.Template>
  1105. <ControlTemplate TargetType="{x:Type Button}">
  1106. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7">
  1107. <Border.Background>
  1108. <Brush>#2E8CF0</Brush>
  1109. </Border.Background>
  1110. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
  1111. </Border>
  1112. </ControlTemplate>
  1113. </Button.Template>
  1114. </Button>
  1115. </Grid>
  1116. <!--底部工具栏 -->
  1117. <Grid x:Name="GridBottomToolbars_Blue" Visibility="Visible" Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
  1118. <StackPanel Orientation="Horizontal" Margin="0,5,0,5">
  1119. <TextBlock Text="颜色: " FontSize="14" Padding="0,0,0,0" Margin="5,4,0,0"/>
  1120. <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
  1121. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  1122. <Button Cursor="Hand" x:Name="btnRed" Width="20" Height="20" Background="#FF0000" Margin="1,1,1,1" HorizontalAlignment="Center" Click="BtnRed_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  1123. <Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
  1124. </Button>
  1125. </Border>
  1126. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  1127. <Button Cursor="Hand" x:Name="btnGray" Background="#333333" Width="20" Height="20" Margin="1,1,1,1" Click="BtnGray_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  1128. <Image x:Name="imgGray" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  1129. </Button>
  1130. </Border>
  1131. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  1132. <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="1,1,1,1" Click="BtnCyanBlue_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  1133. <Image x:Name="imgCyanBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  1134. </Button>
  1135. </Border>
  1136. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  1137. <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="1,1,1,1" Click="BtnYellow_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  1138. <Image x:Name="imgYellow" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  1139. </Button>
  1140. </Border>
  1141. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  1142. <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="1,1,1,1" Click="BtnBlue_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  1143. <Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  1144. </Button>
  1145. </Border>
  1146. <TextBlock Text="粗细: " FontSize="14" Padding="0,0,0,0" Margin="5,4,0,0"/>
  1147. <RadioButton Cursor="Hand" x:Name="rbnFine" Content=" 细" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" IsChecked="True" Click="RbnFine_Click"/>
  1148. <RadioButton Cursor="Hand" x:Name="rbnIn" Content=" 中" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnIn_Click"/>
  1149. <RadioButton Cursor="Hand" x:Name="rbnCrude" Content=" 粗" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnCrude_Click"/>
  1150. </StackPanel>
  1151. <!--页码-->
  1152. <Grid Grid.Row="1" x:Name="gridPage" Visibility="Hidden" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" HorizontalAlignment="Center" Margin="95,0,0,0">
  1153. <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="220" HorizontalAlignment="Center" Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
  1154. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  1155. x:Name="last_button"
  1156. Width="28" Height="20"
  1157. Click="last_button_Click">
  1158. <StackPanel>
  1159. <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
  1160. </StackPanel>
  1161. </Button>
  1162. <Grid Width="60" Background="Transparent" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  1163. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
  1164. <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0"/>
  1165. <TextBlock Text="/" TextAlignment="Center" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  1166. <TextBlock x:Name="txbTotalpage" Text="{Binding pagenum}" TextAlignment="Center" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  1167. </StackPanel>
  1168. </Grid>
  1169. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  1170. x:Name="next_btn" Background="Transparent"
  1171. Width="28" Height="20"
  1172. Click="next_btn_Click">
  1173. <StackPanel>
  1174. <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
  1175. </StackPanel>
  1176. </Button>
  1177. <TextBlock Text="转" Height="22" Margin="0,5,3,0" FontSize="15"></TextBlock>
  1178. <!--<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"/>-->
  1179. <!--<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">
  1180. <Button.Resources>
  1181. <Style TargetType="{x:Type Border}">
  1182. <Setter Property="CornerRadius" Value="0"/>
  1183. <Setter Property="BorderBrush" Value="#3492F4"/>
  1184. </Style>
  1185. </Button.Resources>
  1186. <Image Source="/星火微课;component/Images/VideoList_OK.png" Margin="2,2,2,2"></Image>
  1187. </Button>-->
  1188. <ComboBox Cursor="Hand" Width="55" Height="24" x:Name="CbxPageList" VerticalContentAlignment="Center" BorderThickness="1" FontSize="15" SelectedIndex="-1"
  1189. DisplayMemberPath="PageName" SelectedValuePath="PageCode" SelectionChanged="CbxPageList_SelectionChanged" VerticalAlignment="Center" HorizontalAlignment="Center">
  1190. <ComboBox.Background>
  1191. <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
  1192. <GradientStop Color="#FFF0F0F0" Offset="0"/>
  1193. <GradientStop Color="#FFE5E5E5" Offset="1"/>
  1194. </LinearGradientBrush>
  1195. </ComboBox.Background>
  1196. </ComboBox>
  1197. <TextBlock Text="页" Height="22" Margin="3,5,0,0" FontSize="15"></TextBlock>
  1198. </StackPanel>
  1199. </Grid>
  1200. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,5,5">
  1201. <TextBlock Text="摄像头: " FontSize="14" Padding="5,4,0,0"/>
  1202. <RadioButton Cursor="Hand" x:Name="rbnOpen" Content=" 开" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" Click="RbnOpen_Click"/>
  1203. <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content=" 关" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,10,0" IsChecked="True" Click="RbnTurnOff_Click"/>
  1204. <TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0"/>
  1205. <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,4,5,0"/>
  1206. </StackPanel>
  1207. </Grid>
  1208. </Grid>
  1209. </Grid>
  1210. <Grid x:Name="GridPrintMask" Background="#4C000000" Visibility="Collapsed">
  1211. <Grid.ColumnDefinitions>
  1212. <ColumnDefinition Width="15*"/>
  1213. <ColumnDefinition Width="70*"/>
  1214. <ColumnDefinition Width="15*"/>
  1215. </Grid.ColumnDefinitions>
  1216. <Grid.RowDefinitions>
  1217. <RowDefinition Height="35*"/>
  1218. <RowDefinition Height="100"/>
  1219. <RowDefinition Height="45*"/>
  1220. </Grid.RowDefinitions>
  1221. <Grid Grid.Row="1" Grid.Column="1">
  1222. <Label x:Name="LabPrintMessage" Content="打印中..." HorizontalAlignment="Center" Margin="0,10,0,0" Height="35" VerticalAlignment="Top" FontSize="22" Foreground="#FFF9F7F7"></Label>
  1223. <ProgressBar BorderBrush="#4597FF" Foreground="#4597FF" Grid.Row="0" x:Name="pgbProcess" Height="20" Margin="50,20,50,0" Visibility="Visible" />
  1224. <Label Grid.Row="0" HorizontalAlignment="Center" Width="60" x:Name="lbProcess" Height="30" Margin="0,20,0,0" FontSize="16" Content="" Foreground="White" Visibility="Visible" />
  1225. </Grid>
  1226. </Grid>
  1227. </Grid>
  1228. </Viewbox>
  1229. </Window>