1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264 |
- <Window x:Class="XHWK.WKTool.XHMicroLessonSystemWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore"
- xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
- xmlns:aforge ="clr-namespace:AForge.Controls;assembly=AForge.Controls"
- xmlns:gifLib="http://wpfanimatedgif.codeplex.com"
- xmlns:local="clr-namespace:XHWK.WKTool"
- xmlns:Views="clr-namespace:XHWK.WKTool.Helpers"
- mc:Ignorable="d"
- Title="星火微课系统" Height="1036" Width="1290"
- WindowStyle="None" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="Transparent" ShowInTaskbar="True" ResizeMode="CanMinimize" BorderThickness="7" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" Loaded="Window_Loaded">
- <Window.Effect>
- <DropShadowEffect BlurRadius="10" Color="#bababa" Direction="80" ShadowDepth="0"/>
- </Window.Effect>
- <!--<Grid>
- <Border CornerRadius="0,0,0,0"
- Background="White"
- BorderBrush="Gray"
- BorderThickness="1"
- Margin="10,10,10,10">
- <Border.Effect>
- <DropShadowEffect Color="Gray" BlurRadius="10" ShadowDepth="0" Opacity="0.8" />
- </Border.Effect>
- </Border>
- </Grid>-->
- <Window.Resources>
- <Style x:Key="radBase" TargetType="RadioButton">
- <Setter Property="IsChecked" Value="False"/>
- <Setter Property="Background" Value="Transparent"/>
- <Setter Property="Foreground" Value="#555"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="RadioButton">
- <DockPanel Background="{TemplateBinding Background}" ToolTip="{TemplateBinding Content}" LastChildFill="False" Width="{TemplateBinding Width}">
- <Image Margin="2 0 0 0" DockPanel.Dock="Left" x:Name="_img" Stretch="None" Source="./Images/rdo_no.png"/>
- <TextBlock DockPanel.Dock="Left" Margin="3 0 0 0" VerticalAlignment="Center" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}" />
- </DockPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsChecked" Value="true">
- <Setter TargetName="_img" Property="Source" Value="./Images/rdo_yes.png"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style x:Key="NoMouseOverButtonStyle" TargetType="{x:Type Button}">
- <Setter Property="BorderThickness" Value="1"/>
- <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <Setter Property="VerticalContentAlignment" Value="Center"/>
- <Setter Property="Padding" Value="1"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
- <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <!-- ListBox容器样式 -->
- <Style x:Key="ListBoxItemContainerStyle" TargetType="{x:Type ListBoxItem}">
- <Setter Property="HorizontalContentAlignment" Value="Stretch" />
- <Setter Property="HorizontalAlignment" Value="Stretch" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ListBoxItem}">
- <Border
- x:Name="itemBox"
- Background="Transparent"
- BorderBrush="Transparent"
- BorderThickness="0">
- <ContentPresenter />
- </Border>
- <ControlTemplate.Triggers />
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <DataTemplate x:Key="TongjiItem">
- <UniformGrid
- Height="50"
- Margin="0,0,0,0"
- Background="{Binding Colour}"
- Columns="5"
- Rows="1">
- <!--题号-->
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="{Binding SerialNumber}" />
- <Grid>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <TextBox IsEnabled="{Binding IsEnabled,Mode=TwoWay}"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16" Height="30" Padding="0,5,0,0"
- Text="{Binding VideoName,Mode=TwoWay}" Width="150"/>
- <Button x:Name="btnModify" Background="Transparent"
- Cursor="Hand"
- BorderThickness="0" Click="BtnModify_Click">
- <Grid>
- <Image Source="./Images/fileDirectory3.png" Margin="6,6,6,6" Height="20"/>
- <Image Source="./Images/fileDirectory4.png" Margin="6,6,6,6" Height="20"/>
- </Grid>
- </Button>
- </StackPanel>
- </Grid>
-
-
- <!--分值-->
- <!--
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="15"
- Text="{Binding VideoDuration}" />-->
-
- <!--平均时长-->
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="{Binding VideoSize}" />
- <!--最短时长-->
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="{Binding VideoTime}" />
-
- <Grid>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center"
- VerticalAlignment="Center">
- <Button x:Name="btnPlay" Background="Transparent"
- Cursor="Hand"
- BorderThickness="0" Click="BtnPlay_Click">
- <Grid>
- <Image Source="./Images/fileDirectory1.png" Margin="10" Height="20"/>
- <Image Source="./Images/fileDirectory2.png" Margin="10" Height="20"/>
- </Grid>
- </Button>
- <Button x:Name="btnUpload" Background="Transparent"
- Cursor="Hand"
- BorderThickness="0" Click="BtnUploads_Click">
- <Grid>
- <Image Source="./Images/fileDirectory7.png" Margin="6,6,6,6" Height="20" Visibility="{Binding Visi}"/>
- <Image Source="./Images/fileDirectory8.png" Margin="6,6,6,6" Height="20" Visibility="{Binding Coll}"/>
- </Grid>
- </Button>
- <Button x:Name="btnDelete" Background="Transparent"
- Cursor="Hand"
- BorderThickness="0" Click="BtnDelete_Click">
- <Grid>
- <Image Source="./Images/fileDirectory5.png" Margin="6,6,6,6" Height="20"/>
- <Image Source="./Images/fileDirectory6.png" Margin="6,6,6,6" Height="20"/>
- </Grid>
- </Button>
- </StackPanel>
- </Grid>
-
-
- </UniformGrid>
- </DataTemplate>
- <!--摄像头样式-->
- <Style TargetType="ToggleButton" x:Key="stlToggleButton">
- <Setter Property="Foreground" Value="White"></Setter>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate>
- <Border x:Name="Back" Background="#FFFFFFFF" BorderThickness="0" BorderBrush="Transparent">
- <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">
- <Path.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="180"/>
- <TranslateTransform/>
- </TransformGroup>
- </Path.RenderTransform>
- </Path>
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="PathFill" Property="Fill" Value="White"></Setter>
- <Setter TargetName="Back" Property="Background" Value="#FFDCDCDC"></Setter>
- <Setter TargetName="Back" Property="BorderBrush" Value="#FFDCDCDC"></Setter>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style TargetType="ComboBox" x:Key="stlComboBox">
- <Setter Property="SnapsToDevicePixels" Value="True"/>
- <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
- <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
- <Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
- <Setter Property="HorizontalAlignment" Value="Left"></Setter>
- <Setter Property="Foreground" Value="Black"></Setter>
- <Setter Property="Height" Value="30"></Setter>
- <Setter Property="Margin" Value="0,0,0,0"></Setter>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="ComboBox">
- <Grid Background="#F7FDF7">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="0.8*"/>
- <ColumnDefinition Width="0.2*" MaxWidth="20"/>
- </Grid.ColumnDefinitions>
- <TextBox Grid.Column="0" IsReadOnly="True" VerticalContentAlignment="Center" Text="{TemplateBinding Text}"></TextBox>
- <Border Grid.Column="0" BorderThickness="1,1,1,1" BorderBrush="#FFDCDCDC" CornerRadius="1,0,0,1">
- </Border>
- <Border Grid.Column="1" BorderThickness="0,1,1,1" BorderBrush="#FFDCDCDC" CornerRadius="0,1,1,0">
- <ToggleButton Style="{StaticResource stlToggleButton}" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press"></ToggleButton>
- </Border>
- <Popup IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
- <Border CornerRadius="1" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
- <Border.Effect>
- <DropShadowEffect Color="Black" BlurRadius="2" ShadowDepth="0" Opacity="0.5"/>
- </Border.Effect>
- <ScrollViewer Margin="4,6,4,6" Style="{DynamicResource ScrollViewerStyle}" MaxHeight="{TemplateBinding MaxDropDownHeight}" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True">
- <!-- StackPanel 用于显示子级,方法是将 IsItemsHost 设置为 True -->
- <StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" Background="White"/>
- </ScrollViewer>
- </Border>
- </Popup>
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </Window.Resources>
- <Window.BorderBrush>
- <RadialGradientBrush>
- <GradientStop Offset="0.997" Color="#001B1919"/>
- <GradientStop Color="Black"/>
- </RadialGradientBrush>
- </Window.BorderBrush>
-
- <Viewbox>
- <Grid>
- <Grid x:Name="GridContent" Height="1030" Width="1276">
- <Grid.ColumnDefinitions>
- <ColumnDefinition x:Name="Colum1" Width="auto"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <!--工具栏 黑-->
- <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" >
- <!--分6行-->
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <!--登录状态 -->
- <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0,5" HorizontalAlignment="Center">
- <Button Cursor="Hand" x:Name="btnLoginType_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnLoginType_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <StackPanel>
- <Image x:Name="ImgHeadImgN" Source="/BlackImages/HM_HeadImg_N.png" Width="30" Height="30"/>
- <Image x:Name="ImgHeadImg" Source="/BlackImages/HM_HeadImg.png" Width="30" Height="30" Visibility="Collapsed"/>
- <!--<TextBlock x:Name="txbLoginType_Black" Text="未登录" FontSize="12" Foreground="#FFC5C5C5"/>-->
- </StackPanel>
- </Button>
- </StackPanel>
- <!--按钮-->
- <StackPanel Grid.Row="1" Margin="5">
- <Button Cursor="Hand" x:Name="btnScreenRecording_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel>
- <Image x:Name="ImgScreenRecording_Black" Source="/BlackImages/Toolbar_LP.png" Margin="6,0"/>
- <TextBlock x:Name="TxbRecordScreenWord_Black" Foreground="#FFC5C5C5" Text="录屏" Padding="0,2,0,0" FontSize="12" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgScreenRecording_Black" Property="Source" Value="/BlackImages/Toolbar_LP_MI.png"/>
- <Setter TargetName="TxbRecordScreenWord_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgScreenRecording_Black" Property="Source" Value="/BlackImages/Toolbar_LP_MI.png"/>
- <Setter TargetName="TxbRecordScreenWord_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgScreenRecording_Black" Property="Source" Value="/BlackImages/Toolbar_LP_N.png"/>
- <Setter TargetName="TxbRecordScreenWord_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnScreenshot_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenshot_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgScreenshot_Black" Source="/BlackImages/Toolbar_JT.png" Margin="6,0"/>
- <TextBlock x:Name="TxbScreenshot_Black" Text="截图" Padding="0,2,0,0" FontSize="12" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgScreenshot_Black" Property="Source" Value="/BlackImages/Toolbar_JT_MI.png"/>
- <Setter TargetName="TxbScreenshot_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgScreenshot_Black" Property="Source" Value="/BlackImages/Toolbar_JT_MI.png"/>
- <Setter TargetName="TxbScreenshot_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgScreenshot_Black" Property="Source" Value="/BlackImages/Toolbar_JT_N.png"/>
- <Setter TargetName="TxbScreenshot_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnImport_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgImport_Black" Source="/BlackImages/Toolbar_DR.png" Margin="6,0"/>
- <TextBlock x:Name="TbxImport_Black" Text="导入" Padding="0,2,0,0" FontSize="12" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgImport_Black" Property="Source" Value="/BlackImages/Toolbar_DR_MI.png"/>
- <Setter TargetName="TbxImport_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgImport_Black" Property="Source" Value="/BlackImages/Toolbar_DR_MI.png"/>
- <Setter TargetName="TbxImport_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgImport_Black" Property="Source" Value="/BlackImages/Toolbar_DR_N.png"/>
- <Setter TargetName="TbxImport_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </StackPanel>
- <Image Grid.Row="1" Source="/BlackImages/Toolbar_Line.png" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="16,0" />
- <StackPanel Grid.Row="2" Margin="5">
- <Button Cursor="Hand" x:Name="BtnRecord_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnRecord_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgRecord_Black" Source="/BlackImages/Toolbar_LZ.png" Margin="6,0"/>
- <TextBlock x:Name="TxbRecord_Black" Text="录制" Padding="0,2,0,0" FontSize="12" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgRecord_Black" Property="Source" Value="/BlackImages/Toolbar_LZ_MI.png"/>
- <Setter TargetName="TxbRecord_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgRecord_Black" Property="Source" Value="/BlackImages/Toolbar_LZ_MI.png"/>
- <Setter TargetName="TxbRecord_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgRecord_Black" Property="Source" Value="/BlackImages/Toolbar_LZ_N.png"/>
- <Setter TargetName="TxbRecord_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgRecordSuspend_Black" Source="/BlackImages/Toolbar_LZZT.png" Margin="6,0"/>
- <TextBlock x:Name="TxbRecordSuspend_Black" Text="暂停" Padding="0,2,0,0" FontSize="12" Foreground="#FF38ADFF" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgRecordSuspend_Black" Property="Source" Value="/BlackImages/Toolbar_LZZT_MI.png"/>
- <Setter TargetName="TxbRecordSuspend_Black" Property="Foreground" Value="#FFC5C5C5"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgRecordSuspend_Black" Property="Source" Value="/BlackImages/Toolbar_LZZT_MI.png"/>
- <Setter TargetName="TxbRecordSuspend_Black" Property="Foreground" Value="#FFC5C5C5"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgRecordSuspend_Black" Property="Source" Value="/BlackImages/Toolbar_LZZT_N.png"/>
- <Setter TargetName="TxbRecordSuspend_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnStop_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgStop_Black" Source="/BlackImages/Toolbar_Save.png" Margin="6,0"/>
- <TextBlock x:Name="TxbStop_Black" Text="保存" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgStop_Black" Property="Source" Value="/BlackImages/Toolbar_Save_MI.png"/>
- <Setter TargetName="TxbStop_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgStop_Black" Property="Source" Value="/BlackImages/Toolbar_Save_MI.png"/>
- <Setter TargetName="TxbStop_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgStop_Black" Property="Source" Value="/BlackImages/Toolbar_Save_N.png"/>
- <Setter TargetName="TxbStop_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </StackPanel>
- <Image Grid.Row="2" Source="/BlackImages/Toolbar_Line.png" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="16,0" />
- <StackPanel Grid.Row="3" Margin="5">
- <Button Cursor="Hand" x:Name="btnAdd_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgAdd_Black" Source="/BlackImages/Toolbar_JY.png" Visibility="Visible" Margin="6,0"/>
- <TextBlock x:Name="TxbAdd_Black" Text="加页" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgAdd_Black" Property="Source" Value="/BlackImages/Toolbar_JY_MI.png"/>
- <Setter TargetName="TxbAdd_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgAdd_Black" Property="Source" Value="/BlackImages/Toolbar_JY_MI.png"/>
- <Setter TargetName="TxbAdd_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgAdd_Black" Property="Source" Value="/BlackImages/Toolbar_JY_N.png"/>
- <Setter TargetName="TxbAdd_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnPrint_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" Click="BtnPrint_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgPrint_Black" Source="/BlackImages/Toolbar_DY.png" Margin="6,0"/>
- <TextBlock x:Name="TxbPrint_Black" Text="打印" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgPrint_Black" Property="Source" Value="/BlackImages/Toolbar_DY_MI.png"/>
- <Setter TargetName="TxbPrint_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgPrint_Black" Property="Source" Value="/BlackImages/Toolbar_DY_MI.png"/>
- <Setter TargetName="TxbPrint_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgPrint_Black" Property="Source" Value="/BlackImages/Toolbar_DY_N.png"/>
- <Setter TargetName="TxbPrint_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnUpload_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" Click="BtnUpload_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgUpload_Black" Source="/BlackImages/Toolbar_MY.png" Margin="6,0"/>
- <TextBlock x:Name="TxbUpload_Black" Text="我的" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgUpload_Black" Property="Source" Value="/BlackImages/Toolbar_MY_MI.png"/>
- <Setter TargetName="TxbUpload_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgUpload_Black" Property="Source" Value="/BlackImages/Toolbar_MY_MI.png"/>
- <Setter TargetName="TxbUpload_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgUpload_Black" Property="Source" Value="/BlackImages/Toolbar_MY_N.png"/>
- <Setter TargetName="TxbUpload_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnDevice_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Click="btnDevice_Black_Click">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgDevice_Black" Source="/BlackImages/Toolbar_JC.png" Margin="6,0"/>
- <TextBlock x:Name="TxbDevice_Black" Text="检测" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgDevice_Black" Property="Source" Value="/BlackImages/Toolbar_JC_MI.png"/>
- <Setter TargetName="TxbDevice_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgDevice_Black" Property="Source" Value="/BlackImages/Toolbar_JC_MI.png"/>
- <Setter TargetName="TxbDevice_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgDevice_Black" Property="Source" Value="/BlackImages/Toolbar_JC_N.png"/>
- <Setter TargetName="TxbDevice_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Button Cursor="Hand" x:Name="btnSetUp_Black" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10,5" Click="BtnSetUp_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgSetUp_Black" Source="/BlackImages/Toolbar_SZ.png" Margin="6,0"/>
- <TextBlock x:Name="TxbSetUp_Black" Text="设置" FontSize="12" Padding="0,2,0,0" Foreground="#FFC5C5C5" HorizontalAlignment="Center"/>
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgSetUp_Black" Property="Source" Value="/BlackImages/Toolbar_SZ_MI.png"/>
- <Setter TargetName="TxbSetUp_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgSetUp_Black" Property="Source" Value="/BlackImages/Toolbar_SZ_MI.png"/>
- <Setter TargetName="TxbSetUp_Black" Property="Foreground" Value="#FF38ADFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgSetUp_Black" Property="Source" Value="/BlackImages/Toolbar_SZ_N.png"/>
- <Setter TargetName="TxbSetUp_Black" Property="Foreground" Value="#FF60606D"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </StackPanel>
- </Grid>
- <!--主内容-->
- <Grid Grid.Column="1">
- <!--分3行-->
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <!--标题栏 黑-->
- <Grid x:Name="GridTitle_Black" Visibility="Visible" Grid.Row="0" Height="40">
- <!--分3行-->
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <!--第一行-->
- <Grid Grid.Row="0" Background="#FFE9E9E9" Height="40" MouseLeftButtonDown="Window_MouseLeftButtonDown">
- <StackPanel Orientation="Horizontal" Margin="10,0" HorizontalAlignment="Left">
- <!--<Image Source="./Images/microLessonSystem_0.png" VerticalAlignment="Center"/>-->
- <TextBlock Text="星火微课系统" FontSize="12" Foreground="#FF333333" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0">
- <TextBlock x:Name="txbType_Black" FontSize="20" Foreground="#FF333333" Text="" Margin="10,0" HorizontalAlignment="Center"/>
- <TextBlock x:Name="txbTime_Black" FontSize="20" Foreground="#FFFF0000" Text="" Margin="10,0" HorizontalAlignment="Center"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0">
- <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" >
- <Image Source="/BlackImages/HM_Min.png" />
- </Button>
- <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" >
- <Image Source="/BlackImages/HM_Close.png" />
- </Button>
- </StackPanel>
- </Grid>
- <Border Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2">
- <Grid x:Name="GridMain_Black" Visibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <ScrollViewer x:Name="scroMain_Black" VerticalScrollBarVisibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <Grid x:Name="gridM_Black" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Width="auto" Height="1780" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <Grid>
- <Border Grid.Row="1" CornerRadius="5">
- <Grid x:Name="IMG_Black" Margin="0,0,0,0">
- <Grid.Resources>
- <TransformGroup x:Key="Imageview">
- <ScaleTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Grid.Resources>
- <!--图片表框 -->
- <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"/>
- <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"/>
- <!--四个点 -->
- <Canvas>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- </Canvas>
- </Grid>
- </Border>
- </Grid>
- <Image x:Name="imgDocumentation_Black" Visibility="Visible" Stretch="Fill"/>
- <Image x:Name="imgPPT_Black" Visibility="Visible" VerticalAlignment="Top"/>
- <!--导入图片-->
- <InkCanvas Grid.Row="0" x:Name="blackboard_canvas_Black" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
- <!--摄像头-->
- </Grid>
- </ScrollViewer>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- <Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
- <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
- <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
- <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>
- </Grid>
- </Border>
- </Grid>
- <!--标题工具栏 蓝-->
- <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">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <!--第一行-->
- <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="10,2,10,0">
- <Image Source="./Images/microLessonSystem_0.png"/>
- <TextBlock Text="星火微课系统" FontSize="14" Padding="5,2,0,0" Foreground="#FFFFFF"/>
- </StackPanel>
- <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right" Margin="10,2,20,0">
- <Button Cursor="Hand" x:Name="btnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,10,0" Click="BtnLoginType_Click">
- <StackPanel Orientation="Horizontal">
- <Image Source="./Images/microLessonSystem_9.png"/>
- <TextBlock x:Name="txbLoginType" Text="未登录" FontSize="14" Padding="5,0,0,0" Foreground="#FFFFFF"
- />
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="btnShrink" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnShrink_Click" Margin="8,0,8,0">
- <Image Source="./Images/microLessonSystem_19.png"/>
- </Button>
- <!--<Button Cursor="Hand" x:Name="btnEnlarge" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="8,0,8,0">
- <Image Source="./Images/microLessonSystem_8.png"/>
- </Button>-->
- <Button Cursor="Hand" x:Name="btnDown" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnDown_Click" >
- <Image Source="./Images/microLessonSystem_10.png"/>
- </Button>
- </StackPanel>
- <!--第二行-->
- <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10,0,0,0" HorizontalAlignment="Left">
- <Button Cursor="Hand" x:Name="btnScreenRecording" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnScreenRecording_Click" Margin="30,0,0,0">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgScreenRecording" Source="./Images/microLessonSystem_2.png"/>
- <Image x:Name="ImgScreenRecordingTwo" Source="./Images/microLessonSystem_3.png" Visibility="Collapsed"/>
- <TextBlock x:Name="TxbRecordScreenWord" Text="录屏" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="btnScreenshot" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="30,0,0,0" Click="BtnScreenshot_Click">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgScreenshot" Source="./Images/microLessonSystem_12.png"/>
- <Image x:Name="ImgScreenshotTwo" Source="./Images/microLessonSystem_11.png" Visibility="Collapsed"/>
- <TextBlock Text="截图" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="btnImport" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnImport_Click" Margin="30,0,0,0">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgImport" Source="./Images/microLessonSystem_6.png"/>
- <Image x:Name="ImgImportTwo" Source="./Images/microLessonSystem_7.png" Visibility="Collapsed"/>
- <TextBlock Text="导入" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="BtnRecord" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="100,0,0,0" Click="BtnRecord_Click">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgRecord" Source="./Images/microLessonSystem_14.png"/>
- <Image x:Name="ImgRecordTwo" Source="./Images/microLessonSystem_13.png" Visibility="Collapsed"/>
- <TextBlock x:Name="TxbRecordingWord" Text="录制" Padding="0,6,0,0" FontSize="14" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="btnStop" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnStop_Click" Margin="30,0,0,0">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgStop" Source="./Images/microLessonSystem_21.png"/>
- <Image x:Name="ImgStopTwo" Source="./Images/microLessonSystem_20.png" Visibility="Collapsed"/>
- <TextBlock Text="停止" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <TextBlock x:Name="txbTime" Text="" FontSize="20" Foreground="#FFFFFF" Margin="20,20,0,0"/>
- </StackPanel>
- <StackPanel Grid.Row="1" HorizontalAlignment="Center">
- <TextBlock x:Name="txbType" Text="" FontSize="20" Foreground="#FFFFFF" Margin="60,25,0,0"/>
- </StackPanel>
- <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,0,10,5">
- <Button Cursor="Hand" x:Name="btnAdd" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnAdd_Click" Margin="0,0,30,0">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgAdd" Source="./Images/microLessonSystem_25.png" Visibility="Visible"/>
- <Image x:Name="ImgAddTwo" Source="./Images/microLessonSystem_24.png" Visibility="Collapsed"/>
- <TextBlock Text="加页" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="btnPrint" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnPrint_Click">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgPrint" Source="./Images/microLessonSystem_4.png" Visibility="Collapsed"/>
- <Image x:Name="ImgPrintTwo" Source="./Images/microLessonSystem_5.png" Visibility="Visible"/>
- <TextBlock Text="打印" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <!--<Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnUpload_Click" Margin="0,0,30,0">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_15.png" Visibility="Collapsed"/>
- <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_16.png" Visibility="Visible"/>
- <TextBlock Text="上传" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>-->
- <Button Cursor="Hand" x:Name="btnUpload" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnUpload_Click">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgUpload" Source="./Images/microLessonSystem_22.png" Visibility="Visible"/>
- <Image x:Name="ImgUploadTwo" Source="./Images/microLessonSystem_1.png" Visibility="Collapsed"/>
- <TextBlock Text="我的" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- <Button Cursor="Hand" x:Name="btnSetUp" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="0,0,30,0" Click="BtnSetUp_Click">
- <StackPanel Orientation="Vertical">
- <Image x:Name="ImgSetUp" Source="./Images/microLessonSystem_18.png" Visibility="Visible"/>
- <Image x:Name="ImgSetUpTwo" Source="./Images/microLessonSystem_17.png" Visibility="Collapsed"/>
- <TextBlock Text="设置" FontSize="14" Padding="0,6,0,0" Foreground="#FFFFFF" HorizontalAlignment="Center"/>
- </StackPanel>
- </Button>
- </StackPanel>
- </Grid>
- <!--录制区-->
- <Border Grid.Row="1">
- <Grid Grid.Row="1" x:Name="GridMain" Visibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <ScrollViewer x:Name="scroMain" VerticalScrollBarVisibility="Visible" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <Grid x:Name="gridM" Margin="0,0,0,0" Background="#FFFFFF" Visibility="Visible" Width="auto" Height="1780" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <Grid>
- <Border Grid.Row="1" CornerRadius="5">
- <Grid x:Name="IMG" Margin="0,0,0,0">
- <Grid.Resources>
- <TransformGroup x:Key="Imageview">
- <ScaleTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Grid.Resources>
-
- <!--<ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Cursor="SizeAll"
- Margin="0,0,0,0" Focusable="False" x:Name="BackFrame">
- <ContentControl MouseLeftButtonDown="IMG1_MouseLeftButtonDown"
- MouseLeftButtonUp="IMG1_MouseLeftButtonUp"
- MouseMove="IMG1_MouseMove"
- MouseWheel="IMG1_MouseWheel" >
- </ContentControl>
- </ScrollViewer>-->
- <!--图片表框 -->
- <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"/>
- <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"/>
- <!--四个点 -->
- <Canvas>
- <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"/>
- <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"/>
- <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"/>
- <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"/>
- </Canvas>
- </Grid>
- </Border>
- </Grid>
- <Image x:Name="imgDocumentation" Visibility="Visible" Stretch="Fill"/>
- <!--<Grid Width="auto" Height="auto" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Border BorderBrush="#FF171515" BorderThickness="2">
- <Image x:Name="imgDocumentation" Visibility="Visible" Stretch="Fill"/>
- </Border>
- </Grid>-->
- <Image x:Name="imgPPT" Visibility="Visible" VerticalAlignment="Top"/>
- <!--导入图片-->
- <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed"/>-->
- <InkCanvas Grid.Row="0" x:Name="blackboard_canvas" Background="Transparent" Visibility="Collapsed" Grid.ColumnSpan="2"/>
- <!--摄像头-->
- <!--<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">
- <aforge:VideoSourcePlayer x:Name="player" Height="124" Width="172" />
- </wfi:WindowsFormsHost>-->
- <!--<Image x:Name="imgLoad"
- Width="300"
- Height="300"
- gifLib:ImageBehavior.AnimatedSource="./Images/img_load.gif" VerticalAlignment="Top" Margin="0,200,0,0" Visibility="Visible"/>-->
- </Grid>
- </ScrollViewer>
- <Image x:Name="imgPlayerLeft" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Top" Visibility="Collapsed"/>
- <Image x:Name="imgPlayerRight" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Top" Visibility="Collapsed"/>
- <Image x:Name="imgPlayerLeftUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Left" Margin="10,7,10,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
- <Image x:Name="imgPlayerRightUnder" Width="172" Height="124" Source="./Images/microLessonSystem_17.png" HorizontalAlignment="Right" Margin="10,7,26,10" VerticalAlignment="Bottom" Visibility="Collapsed"/>
- <!--<Label Content="" Grid.Column="0" Height="2" Width="2" HorizontalAlignment="Left" VerticalAlignment="Top" Background="#FF0F0F0F" Margin="1,0,0,0"/>
- <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,16,0"/>
- <Label Content="" Grid.Column="0" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="1,0,0,0"/>
- <Label Content="" Grid.Column="1" Height="2" Width="2" Background="#FF0F0F0F" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,16,0"/>-->
- </Grid>
- </Border>
- <!--设置-->
- <ScrollViewer x:Name="gridSetUp" Grid.Row="1" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
- <Grid Grid.Row="1" Background="#FFFFFF" >
- <Grid.RowDefinitions>
- <RowDefinition Height="80"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="50"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
-
- <TextBlock Grid.Row="0" Grid.Column="0" Text="设备" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Margin="0,30,0,0"/>
- <TextBlock Grid.Row="0" Grid.Column="1" x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0"/>
-
- <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
- <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <RadioButton x:Name="rbnMP4" Cursor="Hand" Style="{StaticResource radBase}" Content=" MP4" FontSize="14" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
- <RadioButton x:Name="rbnFLV" Cursor="Hand" Style="{StaticResource radBase}" Content=" FLV" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
- <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="14" Foreground="#333333" Margin="20,-26,0,0" Visibility="Collapsed"/>
- </StackPanel>
-
-
- <TextBlock Grid.Row="2" Grid.Column="0" Text="录屏工具栏" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
- <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <RadioButton x:Name="rbnHide" Cursor="Hand" Style="{StaticResource radBase}" Content=" 隐藏" FontSize="14" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
- <RadioButton x:Name="rbnvisi" Cursor="Hand" Style="{StaticResource radBase}" Content=" 显示" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
- </StackPanel>
- <TextBlock Grid.Row="3" Grid.Column="0" Text="摄像头位置" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
- <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <RadioButton Cursor="Hand" x:Name="rbnRight" Style="{StaticResource radBase}" Content=" 右上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="0,0,0,0" IsChecked="True"/>
- <RadioButton Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
- <RadioButton Cursor="Hand" x:Name="rbnLeft" Style="{StaticResource radBase}" Content=" 左上" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0" />
- <RadioButton Cursor="Hand" x:Name="rbnLeftUnder" Style="{StaticResource radBase}" Content=" 左下" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
- </StackPanel>
- <TextBlock Grid.Row="4" Grid.Column="0" Text="皮肤" FontSize="16" Foreground="#333333" HorizontalAlignment="Right"/>
- <StackPanel Grid.Row="4" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <RadioButton Cursor="Hand" x:Name="rbnBlue" Style="{StaticResource radBase}" Content=" 蓝色" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="0,0,0,0" IsChecked="True"/>
- <RadioButton Cursor="Hand" x:Name="rbnBlack" Style="{StaticResource radBase}" Content=" 黑色" FontSize="14" Foreground="#333333" VerticalAlignment="Top" Margin="20,0,0,0"/>
- </StackPanel>
- <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Collapsed">
- <TextBlock Text="视频声音" FontSize="16" Foreground="#2D8CF0" Width="80"/>
- <RadioButton x:Name="rbnY" Cursor="Hand" Content="有" FontSize="14" Foreground="#333333" Margin="10,2,0,0" IsChecked="True"/>
- <RadioButton x:Name="rbnN" Cursor="Hand" Content="无" FontSize="14" Foreground="#333333" Margin="20,2,0,0"/>
- </StackPanel>
-
-
- <!--接口地址-->
- <TextBlock Grid.Row="5" Grid.Column="0" Text="接口地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
- <StackPanel Grid.Row="5" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
- <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
- <TextBox x:Name="txbInterfaceAddress" FontSize="14" Width="467" Height="30" Margin="0,-30,0,0" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
- </StackPanel>
-
- <!--上传地址-->
- <TextBlock Grid.Row="6" Grid.Column="0" Text="上传地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
- <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
- <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
- <TextBox x:Name="txbImageUploadAddress" FontSize="14" Margin="0,-30,0,0" Width="467" Height="30" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
- </StackPanel>
-
- <!--下载地址-->
- <TextBlock Grid.Row="7" Grid.Column="0" Text="下载地址" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0"/>
- <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" Margin="30,0,0,0">
- <TextBlock Text="http://" FontSize="14" Padding="0,0,5,0"/>
- <TextBox x:Name="txbPictureShowsAddress" FontSize="14" Margin="0,-30,0,0" Width="467" Height="30" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
- </StackPanel>
-
- <TextBlock Grid.Row="8" Grid.Column="0" x:Name="txbFilePath" Text="文件路径" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Padding="0,0,0,0" />
- <StackPanel Grid.Row="8" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <Border Background="#CDD6E0" Width="515" Height="30" CornerRadius="3" Margin="0,-30,0,0">
- <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"/>
- </Border>
- <!--浏览按钮-->
- <Button Cursor="Hand" x:Name="btnBrowse" Content="浏览" FontSize="14" Width="80" Height="30" Margin="18,-30,0,0" Click="BtnBrowse_Click">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="1"
- CornerRadius="2">
- <Border.Background>
- <Brush>#EBEFF3</Brush>
- </Border.Background>
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <!--打开按钮-->
- <Button Cursor="Hand" x:Name="btnOpen" Content="打开文件位置" FontSize="14" Width="100" Height="30" Margin="18,-30,0,0" Click="btnOpen_Click">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="1"
- CornerRadius="2">
- <Border.Background>
- <Brush>#EBEFF3</Brush>
- </Border.Background>
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </StackPanel>
- <TextBlock Grid.Row="9" Grid.Column="0" Text="录屏快捷键" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
- <StackPanel Grid.Row="9" Grid.Column="1">
- <TextBlock FontSize="14" Foreground="#333333" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="30,0,0,0"/>
- </StackPanel>
-
- <TextBlock Grid.Row="10" Grid.Column="0" Text="版权所有" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
- <StackPanel Grid.Row="10" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="14" Foreground="#333333"/>
- </StackPanel>
-
- <TextBlock Grid.Row="11" Grid.Column="0" x:Name="txbVersion" Text="正式版:" FontSize="16" HorizontalAlignment="Right" Foreground="#333333" Margin="0,0,0,0"/>
- <StackPanel Grid.Row="11" Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0">
- <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="16" Foreground="#333333"/>
- </StackPanel>
-
-
-
- <!--第四行 开始按钮-->
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="1"
- CornerRadius="2">
- <Border.Background>
- <Brush>#2D8CF0</Brush>
- </Border.Background>
- <ContentPresenter
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </ScrollViewer>
- <!--上传-->
- <Grid Grid.Row="1" x:Name="gridUpload" Visibility="Collapsed">
- <Border Background="#EFF1F8">
- <Grid Background="#FFFFFF" Margin="0,0,0,0">
- <!--分4行-->
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <!--第二行 内容-->
- <Grid Grid.Row="0" Margin="0,0,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="45"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <UniformGrid x:Name="uniStatisticsByTitle"
- Grid.Row="0"
- Margin="0,0,0,0"
- Background="#E6F0FF"
- Columns="5"
- Rows="1">
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="序号" />
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="视频名称"/>
- <!--<TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="15"
- Text="视频时长" Foreground="White" />-->
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="视频大小"/>
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="日期"/>
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Text="操作"/>
- </UniformGrid>
- <ListBox Grid.Row="1" Margin="0,0,0,0"
- x:Name="listView1"
- BorderThickness="0"
- FontSize="20"
- ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
- ItemTemplate="{StaticResource TongjiItem}"
- ItemsSource="{Binding menuList}"
- ScrollViewer.HorizontalScrollBarVisibility="Disabled"
- ScrollViewer.VerticalScrollBarVisibility="Disabled"/>
- </Grid>
- <StackPanel Grid.Row="3" x:Name="stpUp" Orientation="Horizontal" Background="Transparent" Width="180" HorizontalAlignment="Center"
- Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
- x:Name="btnLastPage"
- Width="60" Height="20"
- Click="BtnLastPage_Click">
- <StackPanel>
- <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
- </StackPanel>
- </Button>
- <Grid Width="60" Background="Transparent">
- <Grid.RowDefinitions>
- <RowDefinition Height="311*"/>
- <RowDefinition Height="483*"/>
- </Grid.RowDefinitions>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,-12,0,0" Grid.Row="1" Background="Transparent">
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
- <TextBlock x:Name="txbCurrpageTwo" TextAlignment="Center" FontSize="15"/>
- <TextBlock Text="/" TextAlignment="Center" FontSize="15"/>
- <TextBlock x:Name="txbPageNumTwo" TextAlignment="Center" FontSize="15"/>
- </StackPanel>
- </StackPanel>
- </Grid>
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
- x:Name="btnNextPage" Background="Transparent"
- Width="60" Height="20"
- Click="BtnNextPage_Click">
- <StackPanel>
- <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
- </StackPanel>
- </Button>
- </StackPanel>
- </Grid>
- </Border>
- </Grid>
- <!--我的-->
- <Grid x:Name="GridMyVideo" Grid.Row="1" Margin="0" Background="White" Visibility="Collapsed">
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="50"/>
- </Grid.RowDefinitions>
- <Label x:Name="lblVideoMess" Grid.Row="0" Content="暂无微课录制信息,请录制并等待保存完成后重试!" HorizontalAlignment="Center" Margin="0,0,0,100" VerticalAlignment="Center" FontSize="20" Visibility="Hidden"/>
- <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"/>
- <Label x:Name="lblVideoPageNum" Grid.Row="1" FontSize="14" Content="100/100" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10" Foreground="#FF333333" />
- <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"/>
- </Grid>
- <!--打印-->
- <Grid Grid.Row="1" x:Name="GridPrintContent" Background="White" Visibility="Collapsed">
- <Grid.RowDefinitions>
- <RowDefinition Height="50"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="50"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Background="#FFFFFFFF" MouseLeftButtonDown="Window_MouseLeftButtonDown">
- <StackPanel HorizontalAlignment="Left" Orientation="Horizontal" Margin="10,2,0,0" Height="40">
- <TextBlock Text="打印机:" FontSize="20" Padding="0,5,0,0"/>
- <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" />
-
- <TextBlock Text="份数:" FontSize="20" Margin="50,0,0,0" Padding="0,5,0,0" HorizontalAlignment="Right"/>
- <Border BorderBrush="#FFDCDCDC" BorderThickness="1" CornerRadius="3">
- <Grid>
- <StackPanel Orientation="Horizontal">
- <TextBlock x:Name="txbNumberOfCopies" Width="100" Text="1" FontSize="16" Padding="50,10,0,0" Background="White" />
- <StackPanel HorizontalAlignment="Right">
- <Button Cursor="Hand" Grid.Row="0" x:Name="btnPrintAdd" Content="+" Click="BtnPrintAdd_Click" Background="White" BorderBrush="#FFDCDCDC"/>
- <Button Cursor="Hand" Grid.Row="1" x:Name="btnPrintLess" Content="-" Click="BtnPrintLess_Click" Background="White" BorderBrush="#FFDCDCDC"/>
- </StackPanel>
- </StackPanel>
- </Grid>
- </Border>
- <TextBlock Text="DPI:" FontSize="20" Padding="50,5,0,0"/>
- <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"/>
- </StackPanel>
- <TextBlock Text="类型:" FontSize="20" Padding="50,5,0,0" Margin="523,0,273,10" Visibility="Hidden" />
- <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" />
- </Grid>
- <!--<Views:ZJClippingBorder Grid.Row="0" x:Name="tip_outer" Margin="0" Background="#FFE6EAF0" CornerRadius="4" Visibility="Collapsed">
- <Grid>
- <Label Content="打印中..." HorizontalAlignment="Center" Margin="0,20,0,0" Height="35" VerticalAlignment="Top" FontSize="20"></Label>
- <ProgressBar BorderBrush="#4597FF" Foreground="#4597FF" Grid.Row="0" x:Name="pgbProcess" Height="20" Margin="50,20,50,0" Visibility="Visible" />
- <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" />
- </Grid>
- </Views:ZJClippingBorder>-->
-
- <Grid Grid.Row="1">
- <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
- <ScrollViewer VerticalScrollBarVisibility="Visible">
- <Image x:Name="imgPri"/>
- </ScrollViewer>
- </Border>
- </Grid>
-
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="7">
- <Border.Background>#2E8CF0</Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding ContentControl.Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="7">
- <Border.Background>
- <Brush>#2E8CF0</Brush>
- </Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- <!--底部工具栏 -->
- <Grid x:Name="GridBottomToolbars_Blue" Visibility="Visible" Grid.Row="2" Background="#EFF1F8" Margin="0,0,0,0">
- <StackPanel Orientation="Horizontal" Margin="0,5,0,5">
- <TextBlock Text="颜色: " FontSize="14" Padding="0,0,0,0" Margin="5,4,0,0"/>
- <Button Cursor="Hand" x:Name="btnWhite" Background="#FFFFFF" Width="20" Height="20" Click="BtnWhite_Click" Margin="0,2,0,0" Visibility="Collapsed"/>
- <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
- <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}">
- <Image x:Name="imgRed" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Visible"/>
- </Button>
- </Border>
- <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
- <Button Cursor="Hand" x:Name="btnGray" Background="#333333" Width="20" Height="20" Margin="1,1,1,1" Click="BtnGray_Click" Style="{StaticResource NoMouseOverButtonStyle}">
- <Image x:Name="imgGray" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
- </Button>
- </Border>
- <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
- <Button Cursor="Hand" x:Name="btnCyanBlue" Background="#63D600" Width="20" Height="20" Margin="1,1,1,1" Click="BtnCyanBlue_Click" Style="{StaticResource NoMouseOverButtonStyle}">
- <Image x:Name="imgCyanBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
- </Button>
- </Border>
- <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
-
-
- <Button Cursor="Hand" x:Name="btnYellow" Background="#FFBC00" Width="20" Height="20" Margin="1,1,1,1" Click="BtnYellow_Click" Style="{StaticResource NoMouseOverButtonStyle}">
-
- <Image x:Name="imgYellow" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
- </Button>
- </Border>
- <Border Background="#666666" Width="20" Height="20" Margin="5,2,0,0">
-
-
- <Button Cursor="Hand" x:Name="btnBlue" Background="#00B4FC" Width="20" Height="20" Margin="1,1,1,1" Click="BtnBlue_Click" Style="{StaticResource NoMouseOverButtonStyle}">
- <Image x:Name="imgBlue" Source=".\Images\microLessonSystem_999.png" Width="12" Visibility="Collapsed"/>
- </Button>
- </Border>
- <TextBlock Text="粗细: " FontSize="14" Padding="0,0,0,0" Margin="5,4,0,0"/>
- <RadioButton Cursor="Hand" x:Name="rbnFine" Content=" 细" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" IsChecked="True" Click="RbnFine_Click"/>
- <RadioButton Cursor="Hand" x:Name="rbnIn" Content=" 中" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnIn_Click"/>
- <RadioButton Cursor="Hand" x:Name="rbnCrude" Content=" 粗" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,0,0" Click="RbnCrude_Click"/>
- </StackPanel>
- <!--页码-->
- <Grid Grid.Row="1" x:Name="gridPage" Visibility="Hidden" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" HorizontalAlignment="Center" Margin="95,0,0,0">
- <StackPanel Grid.Row="0" Orientation="Horizontal" Background="Transparent" Width="220" HorizontalAlignment="Center" Height="30" Margin="0,0,0,0" Grid.Column="1" VerticalAlignment="Bottom">
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
- x:Name="last_button"
- Width="28" Height="20"
- Click="last_button_Click">
-
- <StackPanel>
- <Image Width="16" Height="12" Source=".\Images\class_p1.png" />
- </StackPanel>
- </Button>
- <Grid Width="60" Background="Transparent" MouseLeftButtonDown="Window_MouseLeftButtonDown_1">
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Background="Transparent">
- <TextBlock x:Name="txbCurrpage" Text="{Binding currpage}" TextAlignment="Center" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0"/>
- <TextBlock Text="/" TextAlignment="Center" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
- <TextBlock x:Name="txbTotalpage" Text="{Binding pagenum}" TextAlignment="Center" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </StackPanel>
- </Grid>
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
- x:Name="next_btn" Background="Transparent"
- Width="28" Height="20"
- Click="next_btn_Click">
- <StackPanel>
- <Image Width="16" Height="12" Source=".\Images\class_p2.png" />
- </StackPanel>
- </Button>
-
- <TextBlock Text="转" Height="22" Margin="0,5,3,0" FontSize="15"></TextBlock>
- <!--<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"/>-->
- <!--<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">
- <Button.Resources>
- <Style TargetType="{x:Type Border}">
- <Setter Property="CornerRadius" Value="0"/>
- <Setter Property="BorderBrush" Value="#3492F4"/>
- </Style>
- </Button.Resources>
- <Image Source="/星火微课;component/Images/VideoList_OK.png" Margin="2,2,2,2"></Image>
- </Button>-->
-
- <ComboBox Cursor="Hand" Width="55" Height="24" x:Name="CbxPageList" VerticalContentAlignment="Center" BorderThickness="1" FontSize="15" SelectedIndex="-1"
- DisplayMemberPath="PageName" SelectedValuePath="PageCode" SelectionChanged="CbxPageList_SelectionChanged" VerticalAlignment="Center" HorizontalAlignment="Center">
- <ComboBox.Background>
- <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
- <GradientStop Color="#FFF0F0F0" Offset="0"/>
- <GradientStop Color="#FFE5E5E5" Offset="1"/>
- </LinearGradientBrush>
- </ComboBox.Background>
- </ComboBox>
- <TextBlock Text="页" Height="22" Margin="3,5,0,0" FontSize="15"></TextBlock>
-
- </StackPanel>
- </Grid>
-
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,5,5,5">
- <TextBlock Text="摄像头: " FontSize="14" Padding="5,4,0,0"/>
- <RadioButton Cursor="Hand" x:Name="rbnOpen" Content=" 开" Style="{StaticResource radBase}" FontSize="14" Margin="0,4,0,0" Click="RbnOpen_Click"/>
- <RadioButton Cursor="Hand" x:Name="rbnTurnOff" Content=" 关" Style="{StaticResource radBase}" FontSize="14" Margin="5,4,10,0" IsChecked="True" Click="RbnTurnOff_Click"/>
- <TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0"/>
- <TextBlock x:Name="txbNotConnected" Text="未连接" FontSize="14" Padding="0,4,5,0"/>
- </StackPanel>
- </Grid>
- </Grid>
- </Grid>
- <Grid x:Name="GridPrintMask" Background="#4C000000" Visibility="Collapsed">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="15*"/>
- <ColumnDefinition Width="70*"/>
- <ColumnDefinition Width="15*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="35*"/>
- <RowDefinition Height="100"/>
- <RowDefinition Height="45*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="1" Grid.Column="1">
- <Label x:Name="LabPrintMessage" Content="打印中..." HorizontalAlignment="Center" Margin="0,10,0,0" Height="35" VerticalAlignment="Top" FontSize="22" Foreground="#FFF9F7F7"></Label>
- <ProgressBar BorderBrush="#4597FF" Foreground="#4597FF" Grid.Row="0" x:Name="pgbProcess" Height="20" Margin="50,20,50,0" Visibility="Visible" />
- <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" />
- </Grid>
- </Grid>
- </Grid>
- </Viewbox>
- </Window>
|