123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176 |
- <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.RowSpan="2" Background="#FFF1F2F8">
- <Grid.RowDefinitions>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="15*"/>
- <RowDefinition Height="955*"/>
- </Grid.RowDefinitions>
- <!--标题栏 左:logo 右:可变工具栏-->
- <Grid Grid.Row="0" x:Name="GridTitle" MouseLeftButtonDown="Window_MouseLeftButtonDown" Background="White">
- <Grid Grid.Background="{DynamicResource BackTitle}">
- <!--<Grid.Background >
- <ImageBrush ImageSource=""/>
- </Grid.Background>-->
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200*"/>
- <ColumnDefinition Width="926*"/>
- <ColumnDefinition Width="150*"/>
- </Grid.ColumnDefinitions>
- <!--LOGO-->
- <Grid Grid.Column="0">
- <StackPanel Orientation="Horizontal" Margin="10,0" HorizontalAlignment="Left">
- <Image Source="./Images/APP.png" VerticalAlignment="Center" Margin="10" />
- <TextBlock x:Name="TxbTitleName" Text="星火微课" FontSize="{Binding WordSize20}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" FontWeight="Bold" Style="{DynamicResource LogoColor}"/>
- </StackPanel>
- </Grid>
- <!--录制相关Title 926-->
- <Grid x:Name="GridRecordingTitle" Grid.Column="1" Visibility="Visible">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200*"/>
- <ColumnDefinition Width="476*"/>
- <ColumnDefinition Width="125*"/>
- <ColumnDefinition Width="125*"/>
- </Grid.ColumnDefinitions>
- <!--智能笔连接状态-->
- <Grid Grid.Column="0">
- <!--<TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0"/>-->
- <StackPanel Orientation="Horizontal" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Image x:Name="ImgPenState" Width="20" Style="{DynamicResource TitlePenState}" />
- <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"/>
- </StackPanel>
- </Grid>
- <!--倒计时-->
- <Grid Grid.Column="1">
- <Label Background="#FFE5E5E5" HorizontalAlignment="Left" Margin="0,15" Width="2"/>
- <StackPanel Orientation="Horizontal" Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Image x:Name="ImgLZImg" Style="{DynamicResource TitleLZTimeImg}" Width="20" />
- <TextBlock x:Name="TxbTime" FontSize="{Binding WordSize20}" Foreground="#FFFF0000" Text="00:00" Margin="10,0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- <TextBlock x:Name="TxbType" FontSize="{Binding WordSize20}" Text="准备就绪" Margin="10,0" HorizontalAlignment="Center" VerticalAlignment="Center" Style="{DynamicResource TxbMesColor}"/>
- </StackPanel>
- <Label Background="#FFE5E5E5" HorizontalAlignment="Right" Margin="0,15" Width="2"/>
- </Grid>
- <!--录屏按钮-->
- <Grid Grid.Column="2">
- <StackPanel Orientation="Horizontal"></StackPanel>
- <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" />
- <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" />
-
- </Grid>
- <Grid Grid.Column="3">
- <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" />
- </Grid>
- </Grid>
- <!--打印相关Title 926-->
- <Grid x:Name="GridPrintingTitle" Grid.Column="1" Visibility="Collapsed">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="90*"/>
- <ColumnDefinition Width="176*"/>
- <ColumnDefinition Width="85*"/>
- <ColumnDefinition Width="110*"/>
- <ColumnDefinition Width="75*"/>
- <ColumnDefinition Width="130*"/>
- <ColumnDefinition Width="130*"/>
- <ColumnDefinition Width="130*"/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0" MouseLeftButtonDown="Window_MouseLeftButtonDown">
- <TextBlock Text="打印机:" FontSize="{Binding WordSize20}" Style="{DynamicResource TxbMesColor}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
-
- <TextBlock Text="类型:" FontSize="{Binding WordSize20}" 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="{Binding WordSize14}" SelectedValuePath="Key" Margin="626,0,64,10" Visibility="Hidden" />
- </Grid>
- <Grid Grid.Column="1">
- <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" />
- </Grid>
- <Grid Grid.Column="2">
- <TextBlock Text="份数:" FontSize="{Binding WordSize20}" Style="{DynamicResource TxbMesColor}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
- </Grid>
- <Grid Grid.Column="3">
- <Border BorderBrush="#FFDCDCDC" BorderThickness="1" CornerRadius="3" Margin="0,12" Padding="0">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="89*"/>
- <ColumnDefinition Width="21*"/>
- </Grid.ColumnDefinitions>
- <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"/>
- <Grid Grid.Column="1" Margin="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="10*"/>
- <RowDefinition Height="10*"/>
- </Grid.RowDefinitions>
- <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"/>
- <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"/>
- </Grid>
- </Grid>
- </Border>
- </Grid>
- <Grid Grid.Column="4">
- <TextBlock Text="DPI:" FontSize="{Binding WordSize20}" Style="{DynamicResource TxbMesColor}" VerticalAlignment="Center" HorizontalAlignment="Right"/>
- </Grid>
- <Grid Grid.Column="5">
- <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"/>
- </Grid>
- <Grid Grid.Column="6">
- <StackPanel Orientation="Horizontal"></StackPanel>
- <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" >
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding Control.BorderBrush}" BorderThickness="1" CornerRadius="8">
- <Border.Background>#2E8CF0</Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding ContentControl.Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- <Grid Grid.Column="7">
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="8">
- <Border.Background>
- <Brush>#2E8CF0</Brush>
- </Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </Grid>
- <!--关闭-->
- <Grid Grid.Column="2">
- <Label Background="#FFE5E5E5" HorizontalAlignment="Left" Margin="0,15" Width="2"/>
- <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" />
- <!--<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>-->
- </Grid>
- <!--测试-->
- <Grid Grid.Column="2" Visibility="Collapsed" >
- <Label Background="#FFE5E5E5" HorizontalAlignment="Left" Margin="0,15" Width="2"/>
- <Button Cursor="Hand" FontSize="16" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnClose_Click" HorizontalAlignment="Stretch" Margin="35,0,15,0" VerticalAlignment="Center" >
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="23*"/>
- <ColumnDefinition Width="72*"/>
- </Grid.ColumnDefinitions>
- <Image Grid.ColumnSpan="2" x:Name="ImgSetUp" Source="/SkinImages/White/Toolbar_LZ_N.png"/>
-
- <Label Grid.Column="1" x:Name="Word" Content="关闭程序" FontSize="{TemplateBinding FontSize}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FFEFEFEF"/>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgSetUp" Property="Source" Value="/SkinImages/TechnologyBlue/HM_Close_MI.png"/>
- <Setter TargetName="Word" Property="Foreground" Value="#FFFFFFFF"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </Grid>
- </Grid>
- <Grid Grid.Row="1"></Grid>
- <!--工具栏和录制区域 H965-->
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200*"/>
- <ColumnDefinition Width="15*"/>
- <ColumnDefinition Width="1061*"/>
- </Grid.ColumnDefinitions>
- <!--工具栏 W200 H955-->
- <Grid x:Name="GridToolbars" Grid.Column="0" Background="White">
- <Grid Grid.Background="{DynamicResource BackTool}">
- <Grid.RowDefinitions>
- <RowDefinition Height="160*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="85*"/>
- <RowDefinition Height="115*"/>
- </Grid.RowDefinitions>
- <!--头像-->
- <Grid Grid.Row="0">
- <!--登录状态 -->
- <Button Cursor="Hand" x:Name="BtnLoginType" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnLoginType_Click" HorizontalAlignment="Center" VerticalAlignment="Center">
- <StackPanel>
- <Border x:Name="ImgHeadImgN" CornerRadius="50" Width="70" Height="70" >
- <Border.Background>
- <ImageBrush ImageSource="/BlackImages/HM_HeadImg_N.png" />
- </Border.Background>
- </Border>
- <Border x:Name="ImgHeadImg" CornerRadius="50" Width="70" Height="70" Visibility="Collapsed">
- <Border.Background>
- <ImageBrush x:Name="ImgHead" ImageSource="/BlackImages/HM_HeadImg.png"/>
- </Border.Background>
- </Border>
- <TextBlock x:Name="TxbLoginType" Text="未登录" FontSize="{Binding WordSize14}" HorizontalAlignment="Center" Margin="0,10,0,0" Style="{DynamicResource LoginTypeColor}"/>
- </StackPanel>
- </Button>
- </Grid>
- <!--录屏-->
- <Grid Grid.Row="1">
- <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"/>
- </Grid>
- <!--截图-->
- <Grid Grid.Row="2">
- <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"/>
- </Grid>
- <!--导入-->
- <Grid Grid.Row="3">
- <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"/>
- </Grid>
- <!--加页-->
- <Grid Grid.Row="4">
- <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"/>
- </Grid>
- <!--打印-->
- <Grid Grid.Row="5">
- <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"/>
- </Grid>
- <!--我的-->
- <Grid Grid.Row="6">
- <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"/>
- </Grid>
- <!--检测-->
- <Grid Grid.Row="7">
- <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"/>
- </Grid>
- <!--设置-->
- <Grid Grid.Row="8">
- <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"/>
- </Grid>
- <!--测试-->
- <Grid Grid.Row="9" Height="85" VerticalAlignment="Top" Visibility="Collapsed">
- <Button Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Click="BtnSetUp_Click" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontSize="18">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100*"/>
- <ColumnDefinition Width="60*"/>
- <ColumnDefinition Width="40*"/>
- </Grid.ColumnDefinitions>
- <Image Grid.ColumnSpan="3" x:Name="ImgScreenRecording" Source="/SkinImages/White/Toolbar_SZ.png" />
- <Label Grid.Column="1" x:Name="WordScreenRecording" Content="设置" FontSize="{TemplateBinding FontSize}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="#FF333333"/>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_MI.png"/>
- </Trigger>
- <Trigger Property="IsPressed" Value="True">
- <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_CL.png"/>
- <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFFFFFFF"/>
- </Trigger>
- <Trigger Property="IsEnabled" Value="False">
- <Setter TargetName="ImgScreenRecording" Property="Source" Value="/SkinImages/White/Toolbar_LP_N.png"/>
- <Setter TargetName="WordScreenRecording" Property="Foreground" Value="#FFC3C3C3"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
- </Grid>
- </Grid>
- <Grid Grid.Column="1"></Grid>
- <!--主显示区域-->
- <Grid Grid.Column="2">
- <!--录制区域-->
- <Grid x:Name="GridRecordingArea" Visibility="Visible">
- <Grid.RowDefinitions>
- <RowDefinition Height="905*"/>
- <RowDefinition Height="3*"/>
- <RowDefinition Height="47*"/>
- </Grid.RowDefinitions>
- <!--录制区域-->
- <Grid Grid.Row="0">
- <!--录制区-->
- <Border>
- <Grid 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 CornerRadius="5">
- <Grid x:Name="IMG" Margin="0,0,0,0">
- <Grid.Resources>
- <TransformGroup x:Key="Imageview">
- <ScaleTransform/>
- <TranslateTransform/>
- </TransformGroup>
- </Grid.Resources>
- <!--图片表框 -->
- <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.RowSpan="2" />
- <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.RowSpan="2" />
- <!--摄像头-->
-
- </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" RenderTransformOrigin="0.5,0.5">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1"/>
- </Image.RenderTransform>
- </Image>
- <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">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1"/>
- </Image.RenderTransform>
- </Image>
- <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">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1"/>
- </Image.RenderTransform>
- </Image>
- <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">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1"/>
- </Image.RenderTransform>
- </Image>
- <!--<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 Grid.Row="1"></Grid>
- <!--底部工具栏 -->
- <Grid x:Name="GridBottomToolbars" Grid.Row="2" Visibility="Visible" Background="#FFFFFFFF" >
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
- <!--页码-->
- <Grid Grid.Row="1" x:Name="GridPage" Visibility="Collapsed" MouseLeftButtonDown="Window_MouseLeftButtonDown_1" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center">
- <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="{Binding WordSize16}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0"/>
- <TextBlock Text="/" TextAlignment="Center" FontSize="{Binding WordSize16}" HorizontalAlignment="Center" VerticalAlignment="Center" />
- <TextBlock x:Name="txbTotalpage" Text="{Binding pagenum}" TextAlignment="Center" FontSize="{Binding WordSize16}" 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="转" Margin="0,0,3,0" FontSize="{Binding WordSize16}" VerticalAlignment="Center"/>
- <!--<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="{Binding WordSize16}" 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="页" Margin="3,0,0,0" FontSize="{Binding WordSize16}" VerticalAlignment="Center"></TextBlock>
-
- </StackPanel>
- </Grid>
- <StackPanel Orientation="Horizontal" Margin="5" VerticalAlignment="Center" HorizontalAlignment="Right">
- <TextBlock Text="颜色: " FontSize="{Binding WordSize14}" Padding="0,0,0,0" Margin="5,0,0,0" VerticalAlignment="Center"/>
- <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="{Binding WordSize14}" Padding="0,0,0,0" Margin="5,0,0,0" VerticalAlignment="Center"/>
- <RadioButton Cursor="Hand" x:Name="rbnFine" Content=" 细" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="0" IsChecked="True" Click="RbnFine_Click" VerticalAlignment="Center"/>
- <RadioButton Cursor="Hand" x:Name="rbnIn" Content=" 中" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="5,0,0,0" Click="RbnIn_Click" VerticalAlignment="Center"/>
- <RadioButton Cursor="Hand" x:Name="rbnCrude" Content=" 粗" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="5,0,0,0" Click="RbnCrude_Click" VerticalAlignment="Center"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="5" VerticalAlignment="Center">
- <TextBlock Text="摄像头: " FontSize="{Binding WordSize14}" Padding="5,0,0,0" VerticalAlignment="Center"/>
- <RadioButton Cursor="Hand" x:Name="rbnOpen" Content=" 开" Style="{StaticResource radBase}" FontSize="{Binding WordSize14}" Margin="0,0,0,0" Click="RbnOpen_Click" VerticalAlignment="Center"/>
- <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"/>
- </StackPanel>
- </StackPanel>
- </Grid>
- </Grid>
- <!--设置 955-->
- <ScrollViewer x:Name="gridSetUp" VerticalScrollBarVisibility="Auto" Visibility="Collapsed">
- <Grid>
- <Grid Background="#FFFFFF">
- <Grid.RowDefinitions>
- <RowDefinition Height="200*"/>
- <RowDefinition Height="160*"/>
- <RowDefinition Height="305*"/>
- <RowDefinition Height="200*"/>
- <RowDefinition Height="90*"/>
- </Grid.RowDefinitions>
- <!--更换皮肤 h200-->
- <Grid Grid.Row="0" Margin="100,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="20*"/>
- <RowDefinition Height="20*"/>
- <RowDefinition Height="140*"/>
- <RowDefinition Height="20*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="1" Grid.Column="0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="646*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Column="0" Text="更换皮肤" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="120*"/>
- <ColumnDefinition Width="207*"/>
- <ColumnDefinition Width="207*"/>
- <ColumnDefinition Width="207*"/>
- <ColumnDefinition Width="120*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="100*"/>
- <RowDefinition Height="36*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Grid.Column="1" Margin="5,0">
- <Button x:Name="BtnSkinWhite" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Click="BtnSkinWhite_Click">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel>
- <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_White.png" />
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_White_MI.png"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Image x:Name="SkinSelectWhite" Source="/SkinImages/Skin/Skin_Select.png" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="140,0,15,15" />
- </Grid>
- <Grid Grid.Row="0" Grid.Column="2" Margin="5,0">
- <Button x:Name="BtnSkinTechnologyBlue" Cursor="Hand" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" HorizontalAlignment="Stretch" VerticalAlignment="Center" Click="BtnSkinTechnologyBlue_Click">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <StackPanel>
- <Image x:Name="ImgRecord" Source="/SkinImages/Skin/Skin_TechnologyBlue.png" />
- </StackPanel>
- <ControlTemplate.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter TargetName="ImgRecord" Property="Source" Value="/SkinImages/Skin/Skin_TechnologyBlue_MI.png"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <Image x:Name="SkinSelectTechnologyBlue" Source="/SkinImages/Skin/Skin_Select.png" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="140,0,15,15" Visibility="Hidden" />
- </Grid>
- <Grid Grid.Row="0" Grid.Column="3"></Grid>
- <Grid Grid.Row="0" Grid.Column="4"></Grid>
- <Grid Grid.Row="1" Grid.Column="1">
- <TextBlock Text="经典白" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <TextBlock Text="科技蓝" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="3"></Grid>
- <Grid Grid.Row="1" Grid.Column="4"></Grid>
- </Grid>
-
- <Label Grid.Row="3" Background="#FFEFEFEF" Height="1" VerticalAlignment="Bottom" />
- </Grid>
- <!--视频格式 摄像头位置 h200-->
- <Grid Grid.Row="1" Margin="100,0">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="216*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="20*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="20*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="1" Grid.Column="0">
- <TextBlock Grid.Row="1" Grid.Column="0" Text="视频格式" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="1">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
- <RadioButton x:Name="rbnMP4" Cursor="Hand" Style="{StaticResource radBase}" Content=" MP4" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
- <RadioButton x:Name="rbnFLV" Cursor="Hand" Style="{StaticResource radBase}" Content=" FLV" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" Margin="15,0,0,0"/>
- <RadioButton x:Name="rbnAVI" Cursor="Hand" Style="{StaticResource radBase}" Content=" AVI" FontSize="{Binding WordSize18}" Foreground="#333333" Margin="15,0,0,0" Visibility="Collapsed"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <TextBlock Text="摄像头位置" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="3">
- <!--<Grid.ColumnDefinitions>
- <ColumnDefinition Width="15*"/>
- <ColumnDefinition Width="80*"/>
- <ColumnDefinition Width="80*"/>
- <ColumnDefinition Width="41*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- </Grid.RowDefinitions>-->
-
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
- <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"/>
- <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnRightUnder" Style="{StaticResource radBase}" Content=" 右下" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="15,0" HorizontalAlignment="Left"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="3">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
- <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnLeft" Style="{StaticResource radBase}" Content=" 左上" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="0" HorizontalAlignment="Left"/>
- <RadioButton GroupName="RbtnCamera" Cursor="Hand" x:Name="rbnLeftUnder" Style="{StaticResource radBase}" Content=" 左下" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Center" Margin="15,0" HorizontalAlignment="Left"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <TextBlock Text="录屏工具栏" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="15,0,0,0" VerticalAlignment="Center">
- <RadioButton x:Name="rbnHide" Cursor="Hand" Style="{StaticResource radBase}" Content=" 隐藏" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" IsChecked="True"/>
- <RadioButton x:Name="rbnvisi" Cursor="Hand" Style="{StaticResource radBase}" Content=" 显示" FontSize="{Binding WordSize18}" Foreground="#333333" VerticalAlignment="Top" Margin="15,0,0,0"/>
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="2"></Grid>
- </Grid>
- <Label Background="#FFEFEFEF" Height="1" VerticalAlignment="Bottom" />
- </Grid>
- <!--地址修改 h305-->
- <Grid Grid.Row="2" Margin="100,0">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="430*"/>
- <ColumnDefinition Width="215*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="20*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="20*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="1" Grid.Column="0">
- <!--接口地址-->
- <TextBlock Text="接口地址" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="90*"/>
- <ColumnDefinition Width="341*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Column="0" Text="http://" FontSize="{Binding WordSize18}" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" x:Name="txbInterfaceAddress" FontSize="{Binding WordSize18}" Margin="0,20" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <!--上传地址-->
- <TextBlock Text="上传地址" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="90*"/>
- <ColumnDefinition Width="341*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Column="0" Text="http://" FontSize="{Binding WordSize18}" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" x:Name="txbImageUploadAddress" FontSize="{Binding WordSize18}" Margin="0,20" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
- </Grid>
- <Grid Grid.Row="3" Grid.Column="0">
- <!--下载地址-->
- <TextBlock Text="下载地址" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="3" Grid.Column="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="90*"/>
- <ColumnDefinition Width="341*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Grid.Column="0" Text="http://" FontSize="{Binding WordSize18}" VerticalAlignment="Center" Margin="15,0,0,0" HorizontalAlignment="Left"/>
- <TextBox Grid.Column="1" x:Name="txbPictureShowsAddress" FontSize="{Binding WordSize18}" Margin="0,20" VerticalContentAlignment="Center" Padding="5,0,0,0"/>
- </Grid>
- <Grid Grid.Row="4" Grid.Column="0">
- <TextBlock Text="文件路径" FontSize="{Binding WordSize18}" Foreground="#333333" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="4" Grid.Column="1">
- <Grid Margin="20,17,10,17">
- <Border CornerRadius="1" BorderThickness="1" BorderBrush="#FFE3E3E3" >
- <Label x:Name="txbStoragePath" Background="#FFFFFF" Margin="10,0" Content="D:\" FontSize="{Binding WordSize14}" Foreground="#333333" BorderBrush="{x:Null}" BorderThickness="0"/>
- </Border>
- </Grid>
- </Grid>
- <Grid Grid.Row="4" Grid.Column="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100*"/>
- <ColumnDefinition Width="100*"/>
- <ColumnDefinition Width="25*"/>
- </Grid.ColumnDefinitions>
- <!--浏览按钮-->
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="8">
- <Border.Background>
- <Brush>#2D8CF0</Brush>
- </Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- <!--打开按钮-->
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="8">
- <Border.Background>
- <Brush>#2D8CF0</Brush>
- </Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
-
- </Grid>
- </Grid>
- <Label Background="#FFEFEFEF" Height="1" VerticalAlignment="Bottom" />
- </Grid>
- <!--版权 快捷键 版本号 h200-->
- <Grid Grid.Row="3" Margin="100,0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="215*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="20*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- <RowDefinition Height="60*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Row="1" Grid.Column="0">
- <TextBlock Text="录屏快捷键" FontSize="{Binding WordSize18}" Foreground="#FF666666" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3">
- <TextBlock FontSize="{Binding WordSize18}" Foreground="#FF666666" Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" Margin="20,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <TextBlock Text="版权所有" FontSize="{Binding WordSize18}" HorizontalAlignment="Right" Foreground="#FF666666" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3">
- <TextBlock Text="河南星火燎原软件科技有限公司" FontSize="{Binding WordSize18}" Foreground="#FF666666" VerticalAlignment="Center" Margin="20,0,0,0"/>
- </Grid>
-
- <Grid Grid.Row="3" Grid.Column="0">
- <TextBlock x:Name="txbVersion" Text="正式版:" FontSize="{Binding WordSize18}" HorizontalAlignment="Right" Foreground="#FF666666" Margin="0,0,0,0" VerticalAlignment="Center"/>
- </Grid>
- <Grid Grid.Row="3" Grid.Column="1">
- <TextBlock x:Name="txbv" Text="V0.0.0" FontSize="{Binding WordSize18}" Foreground="#FF666666" VerticalAlignment="Center" Margin="20,0,0,0"/>
- </Grid>
- </Grid>
- <!--按钮 h50-->
- <Grid Grid.Row="4" Margin="100,0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="215*"/>
- <ColumnDefinition Width="530*"/>
- <ColumnDefinition Width="115*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="50*"/>
- <RowDefinition Height="40*"/>
- </Grid.RowDefinitions>
- <Grid Grid.Column="2">
- <!--保存-->
- <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">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="10">
- <Border.Background>
- <Brush>#2D8CF0</Brush>
- </Border.Background>
- <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}" />
- </Border>
- </ControlTemplate>
- </Button.Template>
- </Button>
- </Grid>
-
- <Grid Visibility="Collapsed" Grid.Row="0" Grid.Column="0">
- <TextBlock Text="设备" FontSize="16" Foreground="#333333" HorizontalAlignment="Right" Margin="0,30,0,0" Visibility="Hidden"/>
- <TextBlock x:Name="txbNotConnecteds" Text="未连接" FontSize="14" Foreground="#333333" Margin="30,30,0,0" Visibility="Hidden"/>
- <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="30,0,0,0" Visibility="Hidden">
- <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>-->
- </Grid>
- </Grid>
- </Grid>
- </Grid>
- </ScrollViewer>
- <!--上传 废弃 -->
- <Grid 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" Margin="0" Background="White" Visibility="Collapsed">
- <Grid.RowDefinitions>
- <RowDefinition Height="905*"/>
- <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 x:Name="GridPrintContent" Background="White" Visibility="Collapsed">
- <Grid.RowDefinitions>
- <RowDefinition Height="905*"/>
- <RowDefinition Height="50*"/>
- </Grid.RowDefinitions>
- <!--<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="0">
- <Border BorderBrush="#FFDCDCDC" BorderThickness="1">
- <ScrollViewer VerticalScrollBarVisibility="Visible">
- <Image x:Name="imgPri"/>
- </ScrollViewer>
- </Border>
- </Grid>
- </Grid>
- </Grid>
- </Grid>
- </Grid>
- <Grid x:Name="GridPrintMask" Background="#4C000000" Visibility="Collapsed" Grid.RowSpan="2">
- <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>
|