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

XHMicroLessonSystemWindow.xaml 98KB

4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
4 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176
  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. <!--内容区 上:标题栏 下:工具栏和录制区域 -->
  244. <Grid x:Name="GridContent" Height="1030" Width="1276" Grid.RowSpan="2" Background="#FFF1F2F8">
  245. <Grid.RowDefinitions>
  246. <RowDefinition Height="60*"/>
  247. <RowDefinition Height="15*"/>
  248. <RowDefinition Height="955*"/>
  249. </Grid.RowDefinitions>
  250. <!--标题栏 左:logo 右:可变工具栏-->
  251. <Grid Grid.Row="0" x:Name="GridTitle" MouseLeftButtonDown="Window_MouseLeftButtonDown" Background="White">
  252. <Grid Grid.Background="{DynamicResource BackTitle}">
  253. <!--<Grid.Background >
  254. <ImageBrush ImageSource=""/>
  255. </Grid.Background>-->
  256. <Grid.ColumnDefinitions>
  257. <ColumnDefinition Width="200*"/>
  258. <ColumnDefinition Width="926*"/>
  259. <ColumnDefinition Width="150*"/>
  260. </Grid.ColumnDefinitions>
  261. <!--LOGO-->
  262. <Grid Grid.Column="0">
  263. <StackPanel Orientation="Horizontal" Margin="10,0" HorizontalAlignment="Left">
  264. <Image Source="./Images/APP.png" VerticalAlignment="Center" Margin="10" />
  265. <TextBlock x:Name="TxbTitleName" Text="星火微课" FontSize="{Binding WordSize20}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" FontWeight="Bold" Style="{DynamicResource LogoColor}"/>
  266. </StackPanel>
  267. </Grid>
  268. <!--录制相关Title 926-->
  269. <Grid x:Name="GridRecordingTitle" Grid.Column="1" Visibility="Visible">
  270. <Grid.ColumnDefinitions>
  271. <ColumnDefinition Width="200*"/>
  272. <ColumnDefinition Width="476*"/>
  273. <ColumnDefinition Width="125*"/>
  274. <ColumnDefinition Width="125*"/>
  275. </Grid.ColumnDefinitions>
  276. <!--智能笔连接状态-->
  277. <Grid Grid.Column="0">
  278. <!--<TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0"/>-->
  279. <StackPanel Orientation="Horizontal" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center">
  280. <Image x:Name="ImgPenState" Width="20" Style="{DynamicResource TitlePenState}" />
  281. <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="{Binding WordSize16}" Padding="0" FontWeight="Bold" Margin="5,0,0,0" Background="{x:Null}" Style="{DynamicResource PenStateColor}" VerticalAlignment="Center"/>
  282. </StackPanel>
  283. </Grid>
  284. <!--倒计时-->
  285. <Grid Grid.Column="1">
  286. <Label Background="#FFE5E5E5" HorizontalAlignment="Left" Margin="0,15" Width="2"/>
  287. <StackPanel Orientation="Horizontal" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center">
  288. <Image x:Name="ImgLZImg" Style="{DynamicResource TitleLZTimeImg}" Width="20" />
  289. <TextBlock x:Name="TxbTime" FontSize="{Binding WordSize20}" Foreground="#FFFF0000" Text="00:00" Margin="10,0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  290. <TextBlock x:Name="TxbType" FontSize="{Binding WordSize20}" Text="准备就绪" Margin="10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Style="{DynamicResource TxbMesColor}"/>
  291. </StackPanel>
  292. <Label Background="#FFE5E5E5" HorizontalAlignment="Right" Margin="0,15" Width="2"/>
  293. </Grid>
  294. <!--录屏按钮-->
  295. <Grid Grid.Column="2">
  296. <StackPanel Orientation="Horizontal"></StackPanel>
  297. <Button Button.Template="{DynamicResource SkinBtnRecord}" FontSize="{Binding WordSize16}" Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnRecord_Click" HorizontalAlignment="Stretch" Margin="5,0" VerticalAlignment="Center" />
  298. <Button Button.Template="{DynamicResource SkinBtnRecordSuspend}" FontSize="{Binding WordSize16}" Cursor="Hand" x:Name="BtnRecordSuspend" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnRecord_Click" HorizontalAlignment="Stretch" Margin="5,0" VerticalAlignment="Center" Visibility="Collapsed" />
  299. </Grid>
  300. <Grid Grid.Column="3">
  301. <Button Button.Template="{DynamicResource SkinBtnRecordStop}" FontSize="{Binding WordSize16}" Cursor="Hand" x:Name="BtnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" HorizontalAlignment="Stretch" Margin="5,0" VerticalAlignment="Center" />
  302. </Grid>
  303. </Grid>
  304. <!--打印相关Title 926-->
  305. <Grid x:Name="GridPrintingTitle" Grid.Column="1" Visibility="Collapsed">
  306. <Grid.ColumnDefinitions>
  307. <ColumnDefinition Width="90*"/>
  308. <ColumnDefinition Width="176*"/>
  309. <ColumnDefinition Width="85*"/>
  310. <ColumnDefinition Width="110*"/>
  311. <ColumnDefinition Width="75*"/>
  312. <ColumnDefinition Width="130*"/>
  313. <ColumnDefinition Width="130*"/>
  314. <ColumnDefinition Width="130*"/>
  315. </Grid.ColumnDefinitions>
  316. <Grid Grid.Column="0" MouseLeftButtonDown="Window_MouseLeftButtonDown">
  317. <TextBlock Text="打印机:" FontSize="{Binding WordSize20}" Style="{DynamicResource TxbMesColor}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
  318. <TextBlock Text="类型:" FontSize="{Binding WordSize20}" Padding="50,5,0,0" Margin="523,0,273,10" Visibility="Hidden" />
  319. <ComboBox Cursor="Hand" x:Name="CbxType" Padding="30,0,10,0" VerticalContentAlignment="Center" BorderThickness="0" DisplayMemberPath="Value" FontSize="{Binding WordSize14}" SelectedValuePath="Key" Margin="626,0,64,10" Visibility="Hidden" />
  320. </Grid>
  321. <Grid Grid.Column="1">
  322. <ComboBox Text="请选择" Cursor="Hand" x:Name="cmbClass" Padding="10,0" Style="{StaticResource stlComboBox}" BorderThickness="0" DisplayMemberPath="Value" FontSize="{Binding WordSize14}" SelectedValuePath="Key" Background="White" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" HorizontalAlignment="Stretch" Height="Auto" Margin="0,12" />
  323. </Grid>
  324. <Grid Grid.Column="2">
  325. <TextBlock Text="份数:" FontSize="{Binding WordSize20}" Style="{DynamicResource TxbMesColor}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
  326. </Grid>
  327. <Grid Grid.Column="3">
  328. <Border BorderBrush="#FFDCDCDC" BorderThickness="1" CornerRadius="3" Margin="0,12" Padding="0">
  329. <Grid>
  330. <Grid.ColumnDefinitions>
  331. <ColumnDefinition Width="89*"/>
  332. <ColumnDefinition Width="21*"/>
  333. </Grid.ColumnDefinitions>
  334. <Label Grid.Column="0" x:Name="txbNumberOfCopies" Content="1" FontSize="{Binding WordSize14}" Margin="0" Padding="0" Background="White" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
  335. <Grid Grid.Column="1" Margin="0">
  336. <Grid.RowDefinitions>
  337. <RowDefinition Height="10*"/>
  338. <RowDefinition Height="10*"/>
  339. </Grid.RowDefinitions>
  340. <Button Grid.Row="0" Cursor="Hand" BorderBrush="#FFDCDCDC" Content="+" x:Name="btnPrintAdd" FontSize="{Binding WordSize14}" Click="BtnPrintAdd_Click" Background="White" Padding="0,-2" Margin="0"/>
  341. <Button Grid.Row="1" Cursor="Hand" BorderBrush="#FFDCDCDC" Content="-" x:Name="btnPrintLess" FontSize="{Binding WordSize14}" Click="BtnPrintLess_Click" Background="White" Padding="0,-3" Margin="0"/>
  342. </Grid>
  343. </Grid>
  344. </Border>
  345. </Grid>
  346. <Grid Grid.Column="4">
  347. <TextBlock Text="DPI:" FontSize="{Binding WordSize20}" Style="{DynamicResource TxbMesColor}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
  348. </Grid>
  349. <Grid Grid.Column="5">
  350. <ComboBox Text="600" Cursor="Hand" x:Name="CbxDpi" Padding="20,0,10,0" VerticalContentAlignment="Center" Style="{StaticResource stlComboBox}" BorderThickness="0" DisplayMemberPath="Value" FontSize="{Binding WordSize14}" SelectedValuePath="Key" Height="Auto" HorizontalAlignment="Stretch" Margin="0,12,20,12"/>
  351. </Grid>
  352. <Grid Grid.Column="6">
  353. <StackPanel Orientation="Horizontal"></StackPanel>
  354. <Button x:Name="btnPrint_Print" Click="BtnPrint_Print_Click" Content="打印" Foreground="White" FontSize="{Binding WordSize16}" IsDefault="True" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,11" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
  355. <Button.Template>
  356. <ControlTemplate TargetType="{x:Type Button}">
  357. <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="8">
  358. <Border.Background>#2E8CF0</Border.Background>
  359. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding ContentControl.Content}" />
  360. </Border>
  361. </ControlTemplate>
  362. </Button.Template>
  363. </Button>
  364. </Grid>
  365. <Grid Grid.Column="7">
  366. <Button x:Name="btnPrintExplain" Content="打印说明" Foreground="White" FontSize="{Binding WordSize16}" IsDefault="True" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" HorizontalAlignment="Stretch" Click="btnPrintExplain_Click" Margin="8,11" VerticalAlignment="Stretch">
  367. <Button.Template>
  368. <ControlTemplate TargetType="{x:Type Button}">
  369. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="8">
  370. <Border.Background>
  371. <Brush>#2E8CF0</Brush>
  372. </Border.Background>
  373. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
  374. </Border>
  375. </ControlTemplate>
  376. </Button.Template>
  377. </Button>
  378. </Grid>
  379. </Grid>
  380. <!--关闭-->
  381. <Grid Grid.Column="2">
  382. <Label Background="#FFE5E5E5" HorizontalAlignment="Left" Margin="0,15" Width="2"/>
  383. <Button Button.Template="{DynamicResource SkinBtnClose}" FontSize="{Binding WordSize16}" Cursor="Hand" x:Name="BtnClose" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnClose_Click" HorizontalAlignment="Stretch" Margin="20,0,10,0" VerticalAlignment="Center" />
  384. <!--<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" >
  385. <Image Source="/BlackImages/HM_Min.png" />
  386. </Button>-->
  387. </Grid>
  388. <!--测试-->
  389. <Grid Grid.Column="2" Visibility="Collapsed" >
  390. <Label Background="#FFE5E5E5" HorizontalAlignment="Left" Margin="0,15" Width="2"/>
  391. <Button Cursor="Hand" FontSize="16" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnClose_Click" HorizontalAlignment="Stretch" Margin="35,0,15,0" VerticalAlignment="Center" >
  392. <Button.Template>
  393. <ControlTemplate TargetType="{x:Type Button}">
  394. <Grid>
  395. <Grid.ColumnDefinitions>
  396. <ColumnDefinition Width="23*"/>
  397. <ColumnDefinition Width="72*"/>
  398. </Grid.ColumnDefinitions>
  399. <Image Grid.ColumnSpan="2" x:Name="ImgSetUp" Source="/SkinImages/White/Toolbar_LZ_N.png"/>
  400. <Label Grid.Column="1" x:Name="Word" Content="关闭程序" FontSize="{TemplateBinding FontSize}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FFEFEFEF"/>
  401. </Grid>
  402. <ControlTemplate.Triggers>
  403. <Trigger Property="IsMouseOver" Value="True">
  404. <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png"/>
  405. <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF"/>
  406. </Trigger>
  407. </ControlTemplate.Triggers>
  408. </ControlTemplate>
  409. </Button.Template>
  410. </Button>
  411. </Grid>
  412. </Grid>
  413. </Grid>
  414. <Grid Grid.Row="1"></Grid>
  415. <!--工具栏和录制区域 H965-->
  416. <Grid Grid.Row="2">
  417. <Grid.ColumnDefinitions>
  418. <ColumnDefinition Width="200*"/>
  419. <ColumnDefinition Width="15*"/>
  420. <ColumnDefinition Width="1061*"/>
  421. </Grid.ColumnDefinitions>
  422. <!--工具栏 W200 H955-->
  423. <Grid x:Name="GridToolbars" Grid.Column="0" Background="White">
  424. <Grid Grid.Background="{DynamicResource BackTool}">
  425. <Grid.RowDefinitions>
  426. <RowDefinition Height="160*"/>
  427. <RowDefinition Height="85*"/>
  428. <RowDefinition Height="85*"/>
  429. <RowDefinition Height="85*"/>
  430. <RowDefinition Height="85*"/>
  431. <RowDefinition Height="85*"/>
  432. <RowDefinition Height="85*"/>
  433. <RowDefinition Height="85*"/>
  434. <RowDefinition Height="85*"/>
  435. <RowDefinition Height="115*"/>
  436. </Grid.RowDefinitions>
  437. <!--头像-->
  438. <Grid Grid.Row="0">
  439. <!--登录状态 -->
  440. <Button Cursor="Hand" x:Name="BtnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnLoginType_Click" HorizontalAlignment="Center" VerticalAlignment="Center">
  441. <StackPanel>
  442. <Border x:Name="ImgHeadImgN" CornerRadius="50" Width="70" Height="70" >
  443. <Border.Background>
  444. <ImageBrush ImageSource="/BlackImages/HM_HeadImg_N.png" />
  445. </Border.Background>
  446. </Border>
  447. <Border x:Name="ImgHeadImg" CornerRadius="50" Width="70" Height="70" Visibility="Collapsed">
  448. <Border.Background>
  449. <ImageBrush x:Name="ImgHead" ImageSource="/BlackImages/HM_HeadImg.png"/>
  450. </Border.Background>
  451. </Border>
  452. <TextBlock x:Name="TxbLoginType" Text="未登录" FontSize="{Binding WordSize14}" HorizontalAlignment="Center" Margin="0,10,0,0" Style="{DynamicResource LoginTypeColor}"/>
  453. </StackPanel>
  454. </Button>
  455. </Grid>
  456. <!--录屏-->
  457. <Grid Grid.Row="1">
  458. <Button Button.Template="{DynamicResource SkinBtnScreenRecording}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Padding="0" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/>
  459. </Grid>
  460. <!--截图-->
  461. <Grid Grid.Row="2">
  462. <Button Button.Template="{DynamicResource SkinBtnScreenshot}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenshot_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Padding="0"/>
  463. </Grid>
  464. <!--导入-->
  465. <Grid Grid.Row="3">
  466. <Button Button.Template="{DynamicResource SkinBtnImport}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
  467. </Grid>
  468. <!--加页-->
  469. <Grid Grid.Row="4">
  470. <Button Button.Template="{DynamicResource SkinBtnAdd}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
  471. </Grid>
  472. <!--打印-->
  473. <Grid Grid.Row="5">
  474. <Button Button.Template="{DynamicResource SkinBtnPrint}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnPrint_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
  475. </Grid>
  476. <!--我的-->
  477. <Grid Grid.Row="6">
  478. <Button Button.Template="{DynamicResource SkinBtnMy}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
  479. </Grid>
  480. <!--检测-->
  481. <Grid Grid.Row="7">
  482. <Button Button.Template="{DynamicResource SkinBtnDevice}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnDevice" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDevice_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
  483. </Grid>
  484. <!--设置-->
  485. <Grid Grid.Row="8">
  486. <Button Button.Template="{DynamicResource SkinBtnSetUp}" FontSize="{Binding WordSize18}" Cursor="Hand" x:Name="BtnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnSetUp_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
  487. </Grid>
  488. <!--测试-->
  489. <Grid Grid.Row="9" Height="85" VerticalAlignment="Top" Visibility="Collapsed">
  490. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnSetUp_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="18">
  491. <Button.Template>
  492. <ControlTemplate TargetType="{x:Type Button}">
  493. <Grid>
  494. <Grid.ColumnDefinitions>
  495. <ColumnDefinition Width="100*"/>
  496. <ColumnDefinition Width="60*"/>
  497. <ColumnDefinition Width="40*"/>
  498. </Grid.ColumnDefinitions>
  499. <Image Grid.ColumnSpan="3" x:Name="ImgScreenRecording" Source="/SkinImages/White/Toolbar_SZ.png" />
  500. <Label Grid.Column="1" x:Name="WordScreenRecording" Content="设置" FontSize="{TemplateBinding FontSize}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF333333"/>
  501. </Grid>
  502. <ControlTemplate.Triggers>
  503. <Trigger Property="IsMouseOver" Value="True">
  504. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_MI.png"/>
  505. </Trigger>
  506. <Trigger Property="IsPressed" Value="True">
  507. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_CL.png"/>
  508. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFFFFFFF"/>
  509. </Trigger>
  510. <Trigger Property="IsEnabled" Value="False">
  511. <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_N.png"/>
  512. <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFC3C3C3"/>
  513. </Trigger>
  514. </ControlTemplate.Triggers>
  515. </ControlTemplate>
  516. </Button.Template>
  517. </Button>
  518. </Grid>
  519. </Grid>
  520. </Grid>
  521. <Grid Grid.Column="1"></Grid>
  522. <!--主显示区域-->
  523. <Grid Grid.Column="2">
  524. <!--录制区域-->
  525. <Grid x:Name="GridRecordingArea" Visibility="Visible">
  526. <Grid.RowDefinitions>
  527. <RowDefinition Height="905*"/>
  528. <RowDefinition Height="3*"/>
  529. <RowDefinition Height="47*"/>
  530. </Grid.RowDefinitions>
  531. <!--录制区域-->
  532. <Grid Grid.Row="0">
  533. <!--录制区-->
  534. <Border>
  535. <Grid x:Name="GridMain" Visibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  536. <ScrollViewer x:Name="ScroMain" VerticalScrollBarVisibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  537. <Grid x:Name="GridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Width="auto" Height="1780" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  538. <Grid>
  539. <Border CornerRadius="5">
  540. <Grid x:Name="IMG" Margin="0,0,0,0">
  541. <Grid.Resources>
  542. <TransformGroup x:Key="Imageview">
  543. <ScaleTransform/>
  544. <TranslateTransform/>
  545. </TransformGroup>
  546. </Grid.Resources>
  547. <!--图片表框 -->
  548. <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"/>
  549. <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"/>
  550. <!--四个点 -->
  551. <Canvas>
  552. <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"/>
  553. <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"/>
  554. <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"/>
  555. <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"/>
  556. </Canvas>
  557. </Grid>
  558. </Border>
  559. </Grid>
  560. <Image x:Name="imgDocumentation" Visibility="Visible" Stretch="Fill" Grid.RowSpan="2" />
  561. <Image x:Name="imgPPT" Visibility="Visible" VerticalAlignment="Top"/>
  562. <!--导入图片-->
  563. <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
  564. <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.RowSpan="2" />
  565. <!--摄像头-->
  566. </Grid>
  567. </ScrollViewer>
  568. <Image x:Name="imgPlayerLeft" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed" RenderTransformOrigin="0.5,0.5">
  569. <Image.RenderTransform>
  570. <ScaleTransform ScaleX="-1"/>
  571. </Image.RenderTransform>
  572. </Image>
  573. <Image x:Name="imgPlayerRight" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed" RenderTransformOrigin="0.5,0.5">
  574. <Image.RenderTransform>
  575. <ScaleTransform ScaleX="-1"/>
  576. </Image.RenderTransform>
  577. </Image>
  578. <Image x:Name="imgPlayerLeftUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Bottom" Visibility="Collapsed" RenderTransformOrigin="0.5,0.5">
  579. <Image.RenderTransform>
  580. <ScaleTransform ScaleX="-1"/>
  581. </Image.RenderTransform>
  582. </Image>
  583. <Image x:Name="imgPlayerRightUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Bottom" Visibility="Collapsed" RenderTransformOrigin="0.5,0.5">
  584. <Image.RenderTransform>
  585. <ScaleTransform ScaleX="-1"/>
  586. </Image.RenderTransform>
  587. </Image>
  588. <!--<Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
  589. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
  590. <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
  591. <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>-->
  592. </Grid>
  593. </Border>
  594. </Grid>
  595. <Grid Grid.Row="1"></Grid>
  596. <!--底部工具栏 -->
  597. <Grid x:Name="GridBottomToolbars" Grid.Row="2" Visibility="Visible" Background="#FFFFFFFF" >
  598. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  599. <!--页码-->
  600. <Grid Grid.Row="1" x:Name="GridPage" Visibility="Collapsed" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center">
  601. <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="220" HorizontalAlignment="Center" Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
  602. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" x:Name="last_button" Width="28" Height="20" Click="last_button_Click">
  603. <StackPanel>
  604. <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
  605. </StackPanel>
  606. </Button>
  607. <Grid Width="60" Background="Transparent" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
  608. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
  609. <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="{Binding WordSize16}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0"/>
  610. <TextBlock Text="/" TextAlignment="Center" FontSize="{Binding WordSize16}" HorizontalAlignment="Center" VerticalAlignment="Center" />
  611. <TextBlock x:Name="txbTotalpage" Text="{Binding pagenum}" TextAlignment="Center" FontSize="{Binding WordSize16}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  612. </StackPanel>
  613. </Grid>
  614. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" x:Name="next_btn" Background="Transparent" Width="28" Height="20" Click="next_btn_Click">
  615. <StackPanel>
  616. <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
  617. </StackPanel>
  618. </Button>
  619. <TextBlock Text="转" Margin="0,0,3,0" FontSize="{Binding WordSize16}" VerticalAlignment="Center"/>
  620. <!--<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"/>-->
  621. <!--<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">
  622. <Button.Resources>
  623. <Style TargetType="{x:Type Border}">
  624. <Setter Property="CornerRadius" Value="0"/>
  625. <Setter Property="BorderBrush" Value="#3492F4"/>
  626. </Style>
  627. </Button.Resources>
  628. <Image Source="/星火微课;component/Images/VideoList_OK.png" Margin="2,2,2,2"></Image>
  629. </Button>-->
  630. <ComboBox Cursor="Hand" Width="55" Height="24" x:Name="CbxPageList" VerticalContentAlignment="Center" BorderThickness="1" FontSize="{Binding WordSize16}" SelectedIndex="-1"
  631. DisplayMemberPath="PageName" SelectedValuePath="PageCode" SelectionChanged="CbxPageList_SelectionChanged" VerticalAlignment="Center" HorizontalAlignment="Center">
  632. <ComboBox.Background>
  633. <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
  634. <GradientStop Color="#FFF0F0F0" Offset="0"/>
  635. <GradientStop Color="#FFE5E5E5" Offset="1"/>
  636. </LinearGradientBrush>
  637. </ComboBox.Background>
  638. </ComboBox>
  639. <TextBlock Text="页" Margin="3,0,0,0" FontSize="{Binding WordSize16}" VerticalAlignment="Center"></TextBlock>
  640. </StackPanel>
  641. </Grid>
  642. <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Right">
  643. <TextBlock Text="颜色: " FontSize="{Binding WordSize14}" Padding="0,0,0,0" Margin="5,0,0,0" VerticalAlignment="Center"/>
  644. <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
  645. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  646. <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}">
  647. <Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
  648. </Button>
  649. </Border>
  650. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  651. <Button Cursor="Hand" x:Name="btnGray" Background="#333333" Width="20" Height="20" Margin="1,1,1,1" Click="BtnGray_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  652. <Image x:Name="imgGray" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  653. </Button>
  654. </Border>
  655. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  656. <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="1,1,1,1" Click="BtnCyanBlue_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  657. <Image x:Name="imgCyanBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  658. </Button>
  659. </Border>
  660. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  661. <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="1,1,1,1" Click="BtnYellow_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  662. <Image x:Name="imgYellow" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  663. </Button>
  664. </Border>
  665. <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
  666. <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="1,1,1,1" Click="BtnBlue_Click" Style="{StaticResource NoMouseOverButtonStyle}">
  667. <Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
  668. </Button>
  669. </Border>
  670. <TextBlock Text="粗细: " FontSize="{Binding WordSize14}" Padding="0,0,0,0" Margin="5,0,0,0" VerticalAlignment="Center"/>
  671. <RadioButton Cursor="Hand" x:Name="rbnFine" Content=" 细" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="0" IsChecked="True" Click="RbnFine_Click" VerticalAlignment="Center"/>
  672. <RadioButton Cursor="Hand" x:Name="rbnIn" Content=" 中" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="5,0,0,0" Click="RbnIn_Click" VerticalAlignment="Center"/>
  673. <RadioButton Cursor="Hand" x:Name="rbnCrude" Content=" 粗" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="5,0,0,0" Click="RbnCrude_Click" VerticalAlignment="Center"/>
  674. </StackPanel>
  675. <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="5" VerticalAlignment="Center">
  676. <TextBlock Text="摄像头: " FontSize="{Binding WordSize14}" Padding="5,0,0,0" VerticalAlignment="Center"/>
  677. <RadioButton Cursor="Hand" x:Name="rbnOpen" Content=" 开" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="0,0,0,0" Click="RbnOpen_Click" VerticalAlignment="Center"/>
  678. <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content=" 关" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="5,0,10,0" IsChecked="True" Click="RbnTurnOff_Click" VerticalAlignment="Center"/>
  679. </StackPanel>
  680. </StackPanel>
  681. </Grid>
  682. </Grid>
  683. <!--设置 955-->
  684. <ScrollViewer x:Name="gridSetUp" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
  685. <Grid>
  686. <Grid Background="#FFFFFF">
  687. <Grid.RowDefinitions>
  688. <RowDefinition Height="200*"/>
  689. <RowDefinition Height="160*"/>
  690. <RowDefinition Height="305*"/>
  691. <RowDefinition Height="200*"/>
  692. <RowDefinition Height="90*"/>
  693. </Grid.RowDefinitions>
  694. <!--更换皮肤 h200-->
  695. <Grid Grid.Row="0" Margin="100,0">
  696. <Grid.RowDefinitions>
  697. <RowDefinition Height="20*"/>
  698. <RowDefinition Height="20*"/>
  699. <RowDefinition Height="140*"/>
  700. <RowDefinition Height="20*"/>
  701. </Grid.RowDefinitions>
  702. <Grid Grid.Row="1" Grid.Column="0">
  703. <Grid.ColumnDefinitions>
  704. <ColumnDefinition Width="215*"/>
  705. <ColumnDefinition Width="646*"/>
  706. </Grid.ColumnDefinitions>
  707. <TextBlock Grid.Column="0" Text="更换皮肤" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
  708. </Grid>
  709. <Grid Grid.Row="2">
  710. <Grid.ColumnDefinitions>
  711. <ColumnDefinition Width="120*"/>
  712. <ColumnDefinition Width="207*"/>
  713. <ColumnDefinition Width="207*"/>
  714. <ColumnDefinition Width="207*"/>
  715. <ColumnDefinition Width="120*"/>
  716. </Grid.ColumnDefinitions>
  717. <Grid.RowDefinitions>
  718. <RowDefinition Height="100*"/>
  719. <RowDefinition Height="36*"/>
  720. </Grid.RowDefinitions>
  721. <Grid Grid.Row="0" Grid.Column="1" Margin="5,0">
  722. <Button x:Name="BtnSkinWhite" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Click="BtnSkinWhite_Click">
  723. <Button.Template>
  724. <ControlTemplate TargetType="{x:Type Button}">
  725. <StackPanel>
  726. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_White.png" />
  727. </StackPanel>
  728. <ControlTemplate.Triggers>
  729. <Trigger Property="IsMouseOver" Value="True">
  730. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_White_MI.png"/>
  731. </Trigger>
  732. </ControlTemplate.Triggers>
  733. </ControlTemplate>
  734. </Button.Template>
  735. </Button>
  736. <Image x:Name="SkinSelectWhite" Source="/SkinImages/Skin/Skin_Select.png" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="140,0,15,15" />
  737. </Grid>
  738. <Grid Grid.Row="0" Grid.Column="2" Margin="5,0">
  739. <Button x:Name="BtnSkinTechnologyBlue" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Click="BtnSkinTechnologyBlue_Click">
  740. <Button.Template>
  741. <ControlTemplate TargetType="{x:Type Button}">
  742. <StackPanel>
  743. <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
  744. </StackPanel>
  745. <ControlTemplate.Triggers>
  746. <Trigger Property="IsMouseOver" Value="True">
  747. <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png"/>
  748. </Trigger>
  749. </ControlTemplate.Triggers>
  750. </ControlTemplate>
  751. </Button.Template>
  752. </Button>
  753. <Image x:Name="SkinSelectTechnologyBlue" Source="/SkinImages/Skin/Skin_Select.png" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="140,0,15,15" Visibility="Hidden" />
  754. </Grid>
  755. <Grid Grid.Row="0" Grid.Column="3"></Grid>
  756. <Grid Grid.Row="0" Grid.Column="4"></Grid>
  757. <Grid Grid.Row="1" Grid.Column="1">
  758. <TextBlock Text="经典白" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  759. </Grid>
  760. <Grid Grid.Row="1" Grid.Column="2">
  761. <TextBlock Text="科技蓝" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  762. </Grid>
  763. <Grid Grid.Row="1" Grid.Column="3"></Grid>
  764. <Grid Grid.Row="1" Grid.Column="4"></Grid>
  765. </Grid>
  766. <Label Grid.Row="3" Background="#FFEFEFEF" Height="1" VerticalAlignment="Bottom" />
  767. </Grid>
  768. <!--视频格式 摄像头位置 h200-->
  769. <Grid Grid.Row="1" Margin="100,0">
  770. <Grid>
  771. <Grid.ColumnDefinitions>
  772. <ColumnDefinition Width="215*"/>
  773. <ColumnDefinition Width="215*"/>
  774. <ColumnDefinition Width="215*"/>
  775. <ColumnDefinition Width="216*"/>
  776. </Grid.ColumnDefinitions>
  777. <Grid.RowDefinitions>
  778. <RowDefinition Height="20*"/>
  779. <RowDefinition Height="60*"/>
  780. <RowDefinition Height="60*"/>
  781. <RowDefinition Height="20*"/>
  782. </Grid.RowDefinitions>
  783. <Grid Grid.Row="1" Grid.Column="0">
  784. <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
  785. </Grid>
  786. <Grid Grid.Row="1" Grid.Column="1">
  787. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
  788. <RadioButton x:Name="rbnMP4" Cursor="Hand" Style="{StaticResource radBase}" Content=" MP4" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
  789. <RadioButton x:Name="rbnFLV" Cursor="Hand" Style="{StaticResource radBase}" Content=" FLV" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" Margin="15,0,0,0"/>
  790. <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="{Binding WordSize18}" Foreground="#333333" Margin="15,0,0,0" Visibility="Collapsed"/>
  791. </StackPanel>
  792. </Grid>
  793. <Grid Grid.Row="1" Grid.Column="2">
  794. <TextBlock Text="摄像头位置" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
  795. </Grid>
  796. <Grid Grid.Row="1" Grid.Column="3">
  797. <!--<Grid.ColumnDefinitions>
  798. <ColumnDefinition Width="15*"/>
  799. <ColumnDefinition Width="80*"/>
  800. <ColumnDefinition Width="80*"/>
  801. <ColumnDefinition Width="41*"/>
  802. </Grid.ColumnDefinitions>
  803. <Grid.RowDefinitions>
  804. <RowDefinition Height="60*"/>
  805. <RowDefinition Height="60*"/>
  806. </Grid.RowDefinitions>-->
  807. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
  808. <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnRight" Style="{StaticResource radBase}" Content=" 右上" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="0" IsChecked="True" HorizontalAlignment="Left"/>
  809. <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="15,0" HorizontalAlignment="Left"/>
  810. </StackPanel>
  811. </Grid>
  812. <Grid Grid.Row="2" Grid.Column="3">
  813. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
  814. <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnLeft" Style="{StaticResource radBase}" Content=" 左上" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="0" HorizontalAlignment="Left"/>
  815. <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnLeftUnder" Style="{StaticResource radBase}" Content=" 左下" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="15,0" HorizontalAlignment="Left"/>
  816. </StackPanel>
  817. </Grid>
  818. <Grid Grid.Row="2" Grid.Column="0">
  819. <TextBlock Text="录屏工具栏" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
  820. </Grid>
  821. <Grid Grid.Row="2" Grid.Column="1">
  822. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
  823. <RadioButton x:Name="rbnHide" Cursor="Hand" Style="{StaticResource radBase}" Content=" 隐藏" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
  824. <RadioButton x:Name="rbnvisi" Cursor="Hand" Style="{StaticResource radBase}" Content=" 显示" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" Margin="15,0,0,0"/>
  825. </StackPanel>
  826. </Grid>
  827. <Grid Grid.Row="2" Grid.Column="2"></Grid>
  828. </Grid>
  829. <Label Background="#FFEFEFEF" Height="1" VerticalAlignment="Bottom" />
  830. </Grid>
  831. <!--地址修改 h305-->
  832. <Grid Grid.Row="2" Margin="100,0">
  833. <Grid>
  834. <Grid.ColumnDefinitions>
  835. <ColumnDefinition Width="215*"/>
  836. <ColumnDefinition Width="430*"/>
  837. <ColumnDefinition Width="215*"/>
  838. </Grid.ColumnDefinitions>
  839. <Grid.RowDefinitions>
  840. <RowDefinition Height="20*"/>
  841. <RowDefinition Height="60*"/>
  842. <RowDefinition Height="60*"/>
  843. <RowDefinition Height="60*"/>
  844. <RowDefinition Height="60*"/>
  845. <RowDefinition Height="20*"/>
  846. </Grid.RowDefinitions>
  847. <Grid Grid.Row="1" Grid.Column="0">
  848. <!--接口地址-->
  849. <TextBlock Text="接口地址" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
  850. </Grid>
  851. <Grid Grid.Row="1" Grid.Column="1">
  852. <Grid.ColumnDefinitions>
  853. <ColumnDefinition Width="90*"/>
  854. <ColumnDefinition Width="341*"/>
  855. </Grid.ColumnDefinitions>
  856. <TextBlock Grid.Column="0" Text="http://" FontSize="{Binding WordSize18}" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Left"/>
  857. <TextBox Grid.Column="1" x:Name="txbInterfaceAddress" FontSize="{Binding WordSize18}" Margin="0,20" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
  858. </Grid>
  859. <Grid Grid.Row="2" Grid.Column="0">
  860. <!--上传地址-->
  861. <TextBlock Text="上传地址" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
  862. </Grid>
  863. <Grid Grid.Row="2" Grid.Column="1">
  864. <Grid.ColumnDefinitions>
  865. <ColumnDefinition Width="90*"/>
  866. <ColumnDefinition Width="341*"/>
  867. </Grid.ColumnDefinitions>
  868. <TextBlock Grid.Column="0" Text="http://" FontSize="{Binding WordSize18}" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Left"/>
  869. <TextBox Grid.Column="1" x:Name="txbImageUploadAddress" FontSize="{Binding WordSize18}" Margin="0,20" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
  870. </Grid>
  871. <Grid Grid.Row="3" Grid.Column="0">
  872. <!--下载地址-->
  873. <TextBlock Text="下载地址" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
  874. </Grid>
  875. <Grid Grid.Row="3" Grid.Column="1">
  876. <Grid.ColumnDefinitions>
  877. <ColumnDefinition Width="90*"/>
  878. <ColumnDefinition Width="341*"/>
  879. </Grid.ColumnDefinitions>
  880. <TextBlock Grid.Column="0" Text="http://" FontSize="{Binding WordSize18}" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Left"/>
  881. <TextBox Grid.Column="1" x:Name="txbPictureShowsAddress" FontSize="{Binding WordSize18}" Margin="0,20" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
  882. </Grid>
  883. <Grid Grid.Row="4" Grid.Column="0">
  884. <TextBlock Text="文件路径" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
  885. </Grid>
  886. <Grid Grid.Row="4" Grid.Column="1">
  887. <Grid Margin="20,17,10,17">
  888. <Border CornerRadius="1" BorderThickness="1" BorderBrush="#FFE3E3E3" >
  889. <Label x:Name="txbStoragePath" Background="#FFFFFF" Margin="10,0" Content="D:\" FontSize="{Binding WordSize14}" Foreground="#333333" BorderBrush="{x:Null}" BorderThickness="0"/>
  890. </Border>
  891. </Grid>
  892. </Grid>
  893. <Grid Grid.Row="4" Grid.Column="2">
  894. <Grid.ColumnDefinitions>
  895. <ColumnDefinition Width="100*"/>
  896. <ColumnDefinition Width="100*"/>
  897. <ColumnDefinition Width="25*"/>
  898. </Grid.ColumnDefinitions>
  899. <!--浏览按钮-->
  900. <Button Grid.Column="0" Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="{Binding WordSize18}" Margin="10,15" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnBrowse_Click" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
  901. <Button.Template>
  902. <ControlTemplate TargetType="{x:Type Button}">
  903. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="8">
  904. <Border.Background>
  905. <Brush>#2D8CF0</Brush>
  906. </Border.Background>
  907. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
  908. </Border>
  909. </ControlTemplate>
  910. </Button.Template>
  911. </Button>
  912. <!--打开按钮-->
  913. <Button Grid.Column="1" Cursor="Hand" x:Name="btnOpen" Content="打开" FontSize="{Binding WordSize18}" Margin="10,15" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="btnOpen_Click" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
  914. <Button.Template>
  915. <ControlTemplate TargetType="{x:Type Button}">
  916. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="8">
  917. <Border.Background>
  918. <Brush>#2D8CF0</Brush>
  919. </Border.Background>
  920. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
  921. </Border>
  922. </ControlTemplate>
  923. </Button.Template>
  924. </Button>
  925. </Grid>
  926. </Grid>
  927. <Label Background="#FFEFEFEF" Height="1" VerticalAlignment="Bottom" />
  928. </Grid>
  929. <!--版权 快捷键 版本号 h200-->
  930. <Grid Grid.Row="3" Margin="100,0">
  931. <Grid.ColumnDefinitions>
  932. <ColumnDefinition Width="215*"/>
  933. <ColumnDefinition Width="215*"/>
  934. <ColumnDefinition Width="215*"/>
  935. <ColumnDefinition Width="215*"/>
  936. </Grid.ColumnDefinitions>
  937. <Grid.RowDefinitions>
  938. <RowDefinition Height="20*"/>
  939. <RowDefinition Height="60*"/>
  940. <RowDefinition Height="60*"/>
  941. <RowDefinition Height="60*"/>
  942. </Grid.RowDefinitions>
  943. <Grid Grid.Row="1" Grid.Column="0">
  944. <TextBlock Text="录屏快捷键" FontSize="{Binding WordSize18}" Foreground="#FF666666" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
  945. </Grid>
  946. <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3">
  947. <TextBlock FontSize="{Binding WordSize18}" Foreground="#FF666666" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="20,0,0,0" VerticalAlignment="Center"/>
  948. </Grid>
  949. <Grid Grid.Row="2" Grid.Column="0">
  950. <TextBlock Text="版权所有" FontSize="{Binding WordSize18}" HorizontalAlignment="Right" Foreground="#FF666666" VerticalAlignment="Center"/>
  951. </Grid>
  952. <Grid Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3">
  953. <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="{Binding WordSize18}" Foreground="#FF666666" VerticalAlignment="Center" Margin="20,0,0,0"/>
  954. </Grid>
  955. <Grid Grid.Row="3" Grid.Column="0">
  956. <TextBlock x:Name="txbVersion" Text="正式版:" FontSize="{Binding WordSize18}" HorizontalAlignment="Right" Foreground="#FF666666" Margin="0,0,0,0" VerticalAlignment="Center"/>
  957. </Grid>
  958. <Grid Grid.Row="3" Grid.Column="1">
  959. <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="{Binding WordSize18}" Foreground="#FF666666" VerticalAlignment="Center" Margin="20,0,0,0"/>
  960. </Grid>
  961. </Grid>
  962. <!--按钮 h50-->
  963. <Grid Grid.Row="4" Margin="100,0">
  964. <Grid.ColumnDefinitions>
  965. <ColumnDefinition Width="215*"/>
  966. <ColumnDefinition Width="530*"/>
  967. <ColumnDefinition Width="115*"/>
  968. </Grid.ColumnDefinitions>
  969. <Grid.RowDefinitions>
  970. <RowDefinition Height="50*"/>
  971. <RowDefinition Height="40*"/>
  972. </Grid.RowDefinitions>
  973. <Grid Grid.Column="2">
  974. <!--保存-->
  975. <Button Cursor="Hand" x:Name="btnSave" Content="保存" FontSize="{Binding WordSize20}" Foreground="#FFFFFF" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="5" Click="BtnSave_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  976. <Button.Template>
  977. <ControlTemplate TargetType="{x:Type Button}">
  978. <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="10">
  979. <Border.Background>
  980. <Brush>#2D8CF0</Brush>
  981. </Border.Background>
  982. <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
  983. </Border>
  984. </ControlTemplate>
  985. </Button.Template>
  986. </Button>
  987. </Grid>
  988. <Grid Visibility="Collapsed" Grid.Row="0" Grid.Column="0">
  989. <TextBlock Text="设备" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Margin="0,30,0,0" Visibility="Hidden"/>
  990. <TextBlock x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0" Visibility="Hidden"/>
  991. <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Hidden">
  992. <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
  993. <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
  994. <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
  995. </StackPanel>-->
  996. </Grid>
  997. </Grid>
  998. </Grid>
  999. </Grid>
  1000. </ScrollViewer>
  1001. <!--上传 废弃 -->
  1002. <Grid x:Name="gridUpload" Visibility="Collapsed">
  1003. <Border Background="#EFF1F8">
  1004. <Grid Background="#FFFFFF" Margin="0,0,0,0">
  1005. <!--分4行-->
  1006. <Grid.RowDefinitions>
  1007. <RowDefinition Height="*"/>
  1008. <RowDefinition Height="30"/>
  1009. </Grid.RowDefinitions>
  1010. <!--第二行 内容-->
  1011. <Grid Grid.Row="0" Margin="0,0,0,0">
  1012. <Grid.RowDefinitions>
  1013. <RowDefinition Height="45"/>
  1014. <RowDefinition Height="*"/>
  1015. </Grid.RowDefinitions>
  1016. <UniformGrid x:Name="uniStatisticsByTitle"
  1017. Grid.Row="0"
  1018. Margin="0,0,0,0"
  1019. Background="#E6F0FF"
  1020. Columns="5"
  1021. Rows="1">
  1022. <TextBlock
  1023. HorizontalAlignment="Center"
  1024. VerticalAlignment="Center"
  1025. FontSize="16"
  1026. Text="序号" />
  1027. <TextBlock
  1028. HorizontalAlignment="Center"
  1029. VerticalAlignment="Center"
  1030. FontSize="16"
  1031. Text="视频名称"/>
  1032. <!--<TextBlock
  1033. HorizontalAlignment="Center"
  1034. VerticalAlignment="Center"
  1035. FontSize="15"
  1036. Text="视频时长" Foreground="White" />-->
  1037. <TextBlock
  1038. HorizontalAlignment="Center"
  1039. VerticalAlignment="Center"
  1040. FontSize="16"
  1041. Text="视频大小"/>
  1042. <TextBlock
  1043. HorizontalAlignment="Center"
  1044. VerticalAlignment="Center"
  1045. FontSize="16"
  1046. Text="日期"/>
  1047. <TextBlock
  1048. HorizontalAlignment="Center"
  1049. VerticalAlignment="Center"
  1050. FontSize="16"
  1051. Text="操作"/>
  1052. </UniformGrid>
  1053. <ListBox Grid.Row="1" Margin="0,0,0,0"
  1054. x:Name="listView1"
  1055. BorderThickness="0"
  1056. FontSize="20"
  1057. ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
  1058. ItemTemplate="{StaticResource TongjiItem}"
  1059. ItemsSource="{Binding menuList}"
  1060. ScrollViewer.HorizontalScrollBarVisibility="Disabled"
  1061. ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
  1062. </Grid>
  1063. <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
  1064. Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
  1065. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  1066. x:Name="btnLastPage"
  1067. Width="60" Height="20"
  1068. Click="BtnLastPage_Click">
  1069. <StackPanel>
  1070. <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
  1071. </StackPanel>
  1072. </Button>
  1073. <Grid Width="60" Background="Transparent">
  1074. <Grid.RowDefinitions>
  1075. <RowDefinition Height="311*"/>
  1076. <RowDefinition Height="483*"/>
  1077. </Grid.RowDefinitions>
  1078. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
  1079. <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
  1080. <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
  1081. <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
  1082. <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
  1083. </StackPanel>
  1084. </StackPanel>
  1085. </Grid>
  1086. <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
  1087. x:Name="btnNextPage" Background="Transparent"
  1088. Width="60" Height="20"
  1089. Click="BtnNextPage_Click">
  1090. <StackPanel>
  1091. <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
  1092. </StackPanel>
  1093. </Button>
  1094. </StackPanel>
  1095. </Grid>
  1096. </Border>
  1097. </Grid>
  1098. <!--我的-->
  1099. <Grid x:Name="GridMyVideo" Margin="0" Background="White" Visibility="Collapsed">
  1100. <Grid.RowDefinitions>
  1101. <RowDefinition Height="905*"/>
  1102. <RowDefinition Height="50*"/>
  1103. </Grid.RowDefinitions>
  1104. <Label x:Name="lblVideoMess" Grid.Row="0" Content="暂无微课录制信息,请录制并等待保存完成后重试!" HorizontalAlignment="Center" Margin="0,0,0,100" VerticalAlignment="Center" FontSize="20" Visibility="Hidden"/>
  1105. <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"/>
  1106. <Label x:Name="lblVideoPageNum" Grid.Row="1" FontSize="14" Content="100/100" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10" Foreground="#FF333333" />
  1107. <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"/>
  1108. </Grid>
  1109. <!--打印-->
  1110. <Grid x:Name="GridPrintContent" Background="White" Visibility="Collapsed">
  1111. <Grid.RowDefinitions>
  1112. <RowDefinition Height="905*"/>
  1113. <RowDefinition Height="50*"/>
  1114. </Grid.RowDefinitions>
  1115. <!--<Views:ZJClippingBorder Grid.Row="0" x:Name="tip_outer" Margin="0" Background="#FFE6EAF0" CornerRadius="4" Visibility="Collapsed">
  1116. <Grid>
  1117. <Label Content="打印中..." HorizontalAlignment="Center" Margin="0,20,0,0" Height="35" VerticalAlignment="Top" FontSize="20"></Label>
  1118. <ProgressBar BorderBrush="#4597FF" Foreground="#4597FF" Grid.Row="0" x:Name="pgbProcess" Height="20" Margin="50,20,50,0" Visibility="Visible" />
  1119. <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" />
  1120. </Grid>
  1121. </Views:ZJClippingBorder>-->
  1122. <Grid Grid.Row="0">
  1123. <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
  1124. <ScrollViewer VerticalScrollBarVisibility="Visible">
  1125. <Image x:Name="imgPri"/>
  1126. </ScrollViewer>
  1127. </Border>
  1128. </Grid>
  1129. </Grid>
  1130. </Grid>
  1131. </Grid>
  1132. </Grid>
  1133. <Grid x:Name="GridPrintMask" Background="#4C000000" Visibility="Collapsed" Grid.RowSpan="2">
  1134. <Grid.ColumnDefinitions>
  1135. <ColumnDefinition Width="15*"/>
  1136. <ColumnDefinition Width="70*"/>
  1137. <ColumnDefinition Width="15*"/>
  1138. </Grid.ColumnDefinitions>
  1139. <Grid.RowDefinitions>
  1140. <RowDefinition Height="35*"/>
  1141. <RowDefinition Height="100"/>
  1142. <RowDefinition Height="45*"/>
  1143. </Grid.RowDefinitions>
  1144. <Grid Grid.Row="1" Grid.Column="1">
  1145. <Label x:Name="LabPrintMessage" Content="打印中..." HorizontalAlignment="Center" Margin="0,10,0,0" Height="35" VerticalAlignment="Top" FontSize="22" Foreground="#FFF9F7F7"></Label>
  1146. <ProgressBar BorderBrush="#4597FF" Foreground="#4597FF" Grid.Row="0" x:Name="pgbProcess" Height="20" Margin="50,20,50,0" Visibility="Visible" />
  1147. <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" />
  1148. </Grid>
  1149. </Grid>
  1150. </Grid>
  1151. </Viewbox>
  1152. </Window>