12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399 |
- <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"
- Title="星火微课系统"
- Width="950"
- Height="768"
- AllowsTransparency="True"
- Background="Transparent"
- BorderBrush="#eee"
- BorderThickness="1"
- Loaded="Window_Loaded"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- ResizeMode="CanMinimize"
- ShowInTaskbar="True"
- WindowStartupLocation="CenterScreen"
- WindowStyle="None"
- mc:Ignorable="d">
-
- <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
- Width="{TemplateBinding Width}"
- Background="{TemplateBinding Background}"
- LastChildFill="False"
- ToolTip="{TemplateBinding Content}">
- <Image
- x:Name="_img"
- Margin="2,0,0,0"
- DockPanel.Dock="Left"
- Source="./Images/rdo_no.png"
- Stretch="None" />
- <TextBlock
- Margin="3,0,0,0"
- VerticalAlignment="Center"
- DockPanel.Dock="Left"
- 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"
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- SnapsToDevicePixels="true">
- <ContentPresenter
- Margin="{TemplateBinding Padding}"
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- RecognizesAccessKey="True"
- SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
- </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
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <TextBox
- Width="150"
- Height="30"
- Padding="0,5,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- IsEnabled="{Binding IsEnabled, Mode=TwoWay}"
- Text="{Binding VideoName, Mode=TwoWay}" />
- <Button
- x:Name="btnModify"
- Background="Transparent"
- BorderThickness="0"
- Click="BtnModify_Click"
- Cursor="Hand">
- <Grid>
- <Image
- Height="20"
- Margin="6,6,6,6"
- Source="./Images/fileDirectory3.png" />
- <Image
- Height="20"
- Margin="6,6,6,6"
- Source="./Images/fileDirectory4.png" />
- </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
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Button
- x:Name="btnPlay"
- Background="Transparent"
- BorderThickness="0"
- Click="BtnPlay_Click"
- Cursor="Hand">
- <Grid>
- <Image
- Height="20"
- Margin="10"
- Source="./Images/fileDirectory1.png" />
- <Image
- Height="20"
- Margin="10"
- Source="./Images/fileDirectory2.png" />
- </Grid>
- </Button>
- <Button
- x:Name="btnUpload"
- Background="Transparent"
- BorderThickness="0"
- Click="BtnUploads_Click"
- Cursor="Hand">
- <Grid>
- <Image
- Height="20"
- Margin="6,6,6,6"
- Source="./Images/fileDirectory7.png"
- Visibility="{Binding Visi}" />
- <Image
- Height="20"
- Margin="6,6,6,6"
- Source="./Images/fileDirectory8.png"
- Visibility="{Binding Coll}" />
- </Grid>
- </Button>
- <Button
- x:Name="btnDelete"
- Background="Transparent"
- BorderThickness="0"
- Click="BtnDelete_Click"
- Cursor="Hand">
- <Grid>
- <Image
- Height="20"
- Margin="6,6,6,6"
- Source="./Images/fileDirectory5.png" />
- <Image
- Height="20"
- Margin="6,6,6,6"
- Source="./Images/fileDirectory6.png" />
- </Grid>
- </Button>
- </StackPanel>
- </Grid>
- </UniformGrid>
- </DataTemplate>
- <!-- 摄像头样式 -->
- <Style x:Key="stlToggleButton" TargetType="ToggleButton">
- <Setter Property="Foreground" Value="White" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate>
- <Border
- x:Name="Back"
- Background="#FFFFFFFF"
- BorderBrush="Transparent"
- BorderThickness="0">
- <Path
- Name="PathFill"
- Width="8"
- Height="6"
- Data="M5,0 L10,10 L0,10 z"
- Fill="Black"
- RenderTransformOrigin="0.5,0.5"
- Stretch="Fill"
- StrokeThickness="0">
- <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 TargetName="Back" Property="Background" Value="#FFDCDCDC" />
- <Setter TargetName="Back" Property="BorderBrush" Value="#FFDCDCDC" />
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style x:Key="stlComboBox" TargetType="ComboBox">
- <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 Property="Foreground" Value="Black" />
- <Setter Property="Height" Value="30" />
- <Setter Property="Margin" Value="0,0,0,0" />
- <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"
- VerticalContentAlignment="Center"
- IsReadOnly="True"
- Text="{TemplateBinding Text}" />
- <Border
- Grid.Column="0"
- BorderBrush="#FFDCDCDC"
- BorderThickness="1,1,1,1"
- CornerRadius="1,0,0,1" />
- <Border
- Grid.Column="1"
- BorderBrush="#FFDCDCDC"
- BorderThickness="0,1,1,1"
- CornerRadius="0,1,1,0">
- <ToggleButton
- ClickMode="Press"
- IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
- Style="{StaticResource stlToggleButton}" />
- </Border>
- <Popup
- x:Name="Popup"
- AllowsTransparency="True"
- Focusable="False"
- IsOpen="{TemplateBinding IsDropDownOpen}"
- Placement="Bottom"
- PopupAnimation="Slide">
- <Border
- x:Name="DropDown"
- MinWidth="{TemplateBinding ActualWidth}"
- MaxHeight="{TemplateBinding MaxDropDownHeight}"
- CornerRadius="1"
- SnapsToDevicePixels="True">
- <Border.Effect>
- <DropShadowEffect
- BlurRadius="2"
- Opacity="0.5"
- ShadowDepth="0"
- Color="Black" />
- </Border.Effect>
- <ScrollViewer
- MaxHeight="{TemplateBinding MaxDropDownHeight}"
- Margin="4,6,4,6"
- CanContentScroll="True"
- HorizontalScrollBarVisibility="Auto"
- SnapsToDevicePixels="True"
- Style="{DynamicResource ScrollViewerStyle}"
- VerticalScrollBarVisibility="Auto">
- <!-- StackPanel 用于显示子级,方法是将 IsItemsHost 设置为 True -->
- <StackPanel
- Background="White"
- IsItemsHost="True"
- KeyboardNavigation.DirectionalNavigation="Contained" />
- </ScrollViewer>
- </Border>
- </Popup>
- </Grid>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </Window.Resources>
-
-
- <Grid>
- <!-- 内容区 上:标题栏 下:工具栏和录制区域 -->
- <Grid
- x:Name="GridContent"
- HorizontalAlignment="Stretch"
- Background="#FFF1F2F8">
- <Grid.RowDefinitions>
- <RowDefinition Height="60*" />
- <RowDefinition Height="10*" />
- <RowDefinition Height="955*" />
- </Grid.RowDefinitions>
- <!-- 标题栏 左:logo 右:可变工具栏 -->
- <Grid
- x:Name="GridTitle"
- Grid.Row="0"
- Background="White"
- MouseLeftButtonDown="Window_MouseLeftButtonDown">
- <Grid Grid.Background="{DynamicResource BackTitle}">
- <!--<Grid.Background>
- <ImageBrush ImageSource="" />
- </Grid.Background>-->
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200*" />
- <ColumnDefinition Width="926*" />
- <ColumnDefinition Width="160*" />
- </Grid.ColumnDefinitions>
- <!-- LOGO -->
- <Grid Grid.Column="0">
- <StackPanel
- Margin="10,0"
- HorizontalAlignment="Left"
- Orientation="Horizontal">
- <Image
- Margin="10"
- VerticalAlignment="Center"
- Source="./Images/APP.png" />
- <TextBlock
- x:Name="TxbTitleName"
- Margin="10,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize18}"
- FontWeight="Bold"
- Style="{DynamicResource LogoColor}"
- Text="星火微课" />
- </StackPanel>
- </Grid>
- <!-- 录制相关Title 926 -->
- <Grid
- x:Name="GridRecordingTitle"
- Grid.Column="1"
- Visibility="Visible">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200*" />
- <ColumnDefinition Width="476*" />
- <ColumnDefinition Width="160*" />
- <ColumnDefinition Width="160*" />
- </Grid.ColumnDefinitions>
- <!-- 智能笔连接状态 -->
- <Grid Grid.Column="0">
- <!--<TextBlock Text="设备: " FontSize="14" Padding="0,4,0,0" />-->
- <StackPanel
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Image
- x:Name="ImgPenState"
- Width="20"
- Style="{DynamicResource TitlePenState}" />
- <TextBlock
- x:Name="txbNotConnected"
- Margin="5,0,0,0"
- Padding="0"
- VerticalAlignment="Center"
- Background="{x:Null}"
- FontSize="{Binding WordSize14}"
- FontWeight="Bold"
- Style="{DynamicResource PenStateColor}"
- Text="未连接" />
- </StackPanel>
- </Grid>
- <!-- 倒计时 -->
- <Grid Grid.Column="1">
- <Label
- Width="2"
- Margin="0,15"
- HorizontalAlignment="Left"
- Background="#FFE5E5E5" />
- <StackPanel
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <Image
- x:Name="ImgLZImg"
- Width="20"
- Style="{DynamicResource TitleLZTimeImg}" />
- <TextBlock
- x:Name="TxbTime"
- Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize18}"
- Foreground="#FFFF0000"
- Text="00:00" />
- <TextBlock
- x:Name="TxbType"
- Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize18}"
- Style="{DynamicResource TxbMesColor}"
- Text="准备就绪" />
- </StackPanel>
- <Label
- Width="2"
- Margin="0,15"
- HorizontalAlignment="Right"
- Background="#FFE5E5E5" />
- </Grid>
- <!-- 录屏按钮 -->
- <Grid Grid.Column="2">
- <StackPanel Orientation="Horizontal" />
- <Button
- x:Name="BtnRecord"
- Margin="5,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Button.Template="{DynamicResource SkinBtnRecord}"
- Click="BtnRecord_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize14}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- <Button
- x:Name="BtnRecordSuspend"
- Margin="5,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Button.Template="{DynamicResource SkinBtnRecordSuspend}"
- Click="BtnRecord_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize14}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}"
- Visibility="Collapsed" />
- </Grid>
- <Grid Grid.Column="3">
- <Button
- x:Name="BtnStop"
- Margin="5,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Button.Template="{DynamicResource SkinBtnRecordStop}"
- Click="BtnStop_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize14}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- </Grid>
- <!-- 打印相关Title 926 -->
- <Grid
- x:Name="GridPrintingTitle"
- Grid.Column="1"
- Visibility="Collapsed">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="120*" />
- <ColumnDefinition Width="300*" />
- <ColumnDefinition Width="120*" />
- <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
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize18}"
- Style="{DynamicResource TxbMesColor}"
- Text="打印机:" />
-
- <TextBlock
- Margin="523,0,273,10"
- Padding="50,5,0,0"
- FontSize="{Binding WordSize18}"
- Text="类型:"
- Visibility="Hidden" />
- <ComboBox
- x:Name="CbxType"
- Margin="626,0,64,10"
- Padding="30,0,10,0"
- VerticalContentAlignment="Center"
- BorderThickness="0"
- Cursor="Hand"
- DisplayMemberPath="Value"
- FontSize="{Binding WordSize12}"
- SelectedValuePath="Key"
- Visibility="Hidden" />
- </Grid>
- <Grid Grid.Column="1">
- <ComboBox
- x:Name="cmbClass"
- Height="Auto"
- Margin="0,12"
- Padding="10,0"
- HorizontalAlignment="Stretch"
- HorizontalContentAlignment="Center"
- VerticalContentAlignment="Center"
- Background="White"
- BorderThickness="0"
- Cursor="Hand"
- DisplayMemberPath="Value"
- FontSize="{Binding WordSize12}"
- SelectedValuePath="Key"
- Style="{StaticResource stlComboBox}"
- Text="请选择" />
- </Grid>
- <Grid Grid.Column="2">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize18}"
- Style="{DynamicResource TxbMesColor}"
- Text="份数:" />
- </Grid>
- <Grid Grid.Column="3">
- <Border
- Margin="0,12"
- Padding="0"
- BorderBrush="#FFDCDCDC"
- BorderThickness="1"
- CornerRadius="3">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="89*" />
- <ColumnDefinition Width="21*" />
- </Grid.ColumnDefinitions>
- <Label
- x:Name="txbNumberOfCopies"
- Grid.Column="0"
- Margin="0"
- Padding="0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- HorizontalContentAlignment="Center"
- VerticalContentAlignment="Center"
- Background="White"
- Content="1"
- FontSize="{Binding WordSize12}" />
- <Grid Grid.Column="1" Margin="0">
- <Grid.RowDefinitions>
- <RowDefinition Height="10*" />
- <RowDefinition Height="10*" />
- </Grid.RowDefinitions>
- <Button
- x:Name="btnPrintAdd"
- Grid.Row="0"
- Margin="0"
- Padding="0,-2"
- Background="White"
- BorderBrush="#FFDCDCDC"
- Click="BtnPrintAdd_Click"
- Content="+"
- Cursor="Hand"
- FontSize="{Binding WordSize12}" />
- <Button
- x:Name="btnPrintLess"
- Grid.Row="1"
- Margin="0"
- Padding="0,-3"
- Background="White"
- BorderBrush="#FFDCDCDC"
- Click="BtnPrintLess_Click"
- Content="-"
- Cursor="Hand"
- FontSize="{Binding WordSize12}" />
- </Grid>
- </Grid>
- </Border>
- </Grid>
- <Grid Grid.Column="4" Visibility="Hidden">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize18}"
- Style="{DynamicResource TxbMesColor}"
- Text="DPI:" />
- </Grid>
- <Grid Grid.Column="5" Visibility="Hidden">
- <ComboBox
- x:Name="CbxDpi"
- Height="Auto"
- Margin="0,12,20,12"
- Padding="20,0,10,0"
- HorizontalAlignment="Stretch"
- VerticalContentAlignment="Center"
- BorderThickness="0"
- Cursor="Hand"
- DisplayMemberPath="Value"
- FontSize="{Binding WordSize12}"
- SelectedValuePath="Key"
- Style="{StaticResource stlComboBox}"
- Text="600" />
- </Grid>
- <Grid Grid.Column="6">
- <StackPanel Orientation="Horizontal" />
- <Button
- x:Name="btnPrint_Print"
- Margin="4,10"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnPrint_Print_Click"
- Content="打印"
- Cursor="Hand"
- FontSize="{Binding WordSize14}"
- Foreground="White"
- IsDefault="True"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding Control.BorderBrush}"
- BorderThickness="1"
- CornerRadius="4">
- <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"
- Margin="4,10"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="btnPrintExplain_Click"
- Content="打印说明"
- Cursor="Hand"
- FontSize="{Binding WordSize14}"
- Foreground="White"
- IsDefault="True"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Border
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="1"
- CornerRadius="4">
- <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
- Width="2"
- Margin="0,15"
- HorizontalAlignment="Left"
- Background="#FFE5E5E5" />
- <Button
- x:Name="BtnClose"
- Margin="20,0,10,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Button.Template="{DynamicResource SkinBtnClose}"
- Click="BtnClose_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize14}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- <!--<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
- Width="2"
- Margin="0,15"
- HorizontalAlignment="Left"
- Background="#FFE5E5E5" />
- <Button
- Margin="35,0,15,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Click="BtnClose_Click"
- Cursor="Hand"
- FontSize="16"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="23*" />
- <ColumnDefinition Width="72*" />
- </Grid.ColumnDefinitions>
- <Image
- x:Name="ImgSetUp"
- Grid.ColumnSpan="2"
- Source="/SkinImages/White/Toolbar_LZ_N.png" />
-
- <Label
- x:Name="Word"
- Grid.Column="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="关闭程序"
- FontSize="{TemplateBinding FontSize}"
- 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" />
- <!-- 工具栏和录制区域 H965 -->
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200*" />
- <ColumnDefinition Width="10*" />
- <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
- x:Name="BtnLoginType"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Click="BtnLoginType_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <StackPanel>
- <Border
- x:Name="ImgHeadImgN"
- Width="70"
- Height="70"
- CornerRadius="50">
- <Border.Background>
- <ImageBrush ImageSource="/BlackImages/HM_HeadImg_N.png" />
- </Border.Background>
- </Border>
- <Border
- x:Name="ImgHeadImg"
- Width="70"
- Height="70"
- CornerRadius="50"
- Visibility="Collapsed">
- <Border.Background>
- <ImageBrush x:Name="ImgHead" ImageSource="/BlackImages/HM_HeadImg.png" />
- </Border.Background>
- </Border>
- <TextBlock
- x:Name="TxbLoginType"
- Margin="0,10,0,0"
- HorizontalAlignment="Center"
- FontSize="{Binding WordSize12}"
- Style="{DynamicResource LoginTypeColor}"
- Text="未登录" />
- </StackPanel>
- </Button>
- </Grid>
- <!-- 录屏 -->
- <Grid Grid.Row="1">
- <Button
- x:Name="BtnScreenRecording"
- Padding="0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- HorizontalContentAlignment="Stretch"
- VerticalContentAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnScreenRecording}"
- Click="BtnScreenRecording_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 截图 -->
- <Grid Grid.Row="2">
- <Button
- x:Name="BtnScreenshot"
- Padding="0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnScreenshot}"
- Click="BtnScreenshot_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 导入 -->
- <Grid Grid.Row="3">
- <Button
- x:Name="BtnImport"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnImport}"
- Click="BtnImport_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 加页 -->
- <Grid Grid.Row="4">
- <Button
- x:Name="BtnAdd"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnAdd}"
- Click="BtnAdd_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 打印 -->
- <Grid Grid.Row="5">
- <Button
- x:Name="BtnPrint"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnPrint}"
- Click="BtnPrint_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 我的 -->
- <Grid Grid.Row="6">
- <Button
- x:Name="BtnUpload"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnMy}"
- Click="BtnUpload_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 检测 -->
- <Grid Grid.Row="7">
- <Button
- x:Name="BtnDevice"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnDevice}"
- Click="BtnDevice_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 设置 -->
- <Grid Grid.Row="8">
- <Button
- x:Name="BtnSetUp"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Button.Template="{DynamicResource SkinBtnSetUp}"
- Click="BtnSetUp_Click"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />
- </Grid>
- <!-- 测试 -->
- <Grid
- Grid.Row="9"
- Height="85"
- VerticalAlignment="Top"
- Visibility="Collapsed">
- <Button
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnSetUp_Click"
- Cursor="Hand"
- FontSize="18"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <Button.Template>
- <ControlTemplate TargetType="{x:Type Button}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100*" />
- <ColumnDefinition Width="60*" />
- <ColumnDefinition Width="40*" />
- </Grid.ColumnDefinitions>
- <Image
- x:Name="ImgScreenRecording"
- Grid.ColumnSpan="3"
- Source="/SkinImages/White/Toolbar_SZ.png" />
- <Label
- x:Name="WordScreenRecording"
- Grid.Column="1"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="设置"
- FontSize="{TemplateBinding FontSize}"
- 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.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"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- Visibility="Visible">
- <ScrollViewer
- x:Name="ScroMain"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- VerticalScrollBarVisibility="Visible">
- <Grid
- x:Name="GridM"
- Width="auto"
- Height="1780"
- Margin="0,0,0,0"
- Background="#FFFFFF"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- Visibility="Visible">
-
- <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"
- Width="300"
- Height="300"
- Margin="373,175,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Cursor="SizeAll"
- Fill="#00000000"
- SnapsToDevicePixels="True"
- Stroke="#2D8CF0"
- StrokeDashArray="4 4"
- StrokeThickness="4"
- Visibility="Hidden" />
- <Image
- x:Name="imgCanvas"
- Height="0"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Focusable="True"
- MouseDown="PicEMap_MouseDown"
- MouseLeftButtonDown="imgCanvas_MouseLeftButtonDown"
- MouseMove="imgCanvas_MouseMove"
- MouseUp="imgCanvas_MouseUp"
- RenderTransform="{StaticResource Imageview}"
- Stretch="Fill" />
- <!-- 四个点 -->
- <Canvas>
- <Thumb
- x:Name="RectLeftUp"
- Canvas.Left="314"
- Canvas.Top="157"
- Width="20"
- Height="20"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Background="White"
- BorderBrush="#2D8CF0"
- BorderThickness="2"
- Cursor="SizeNWSE"
- DragCompleted="RectRightUp_DragCompleted"
- DragDelta="RectRightUp_DragDelta"
- DragStarted="RectRightUp_DragStarted"
- Visibility="Hidden" />
- <Thumb
- x:Name="RectRightUp"
- Canvas.Left="775"
- Canvas.Top="157"
- Width="20"
- Height="20"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Background="White"
- BorderBrush="#2D8CF0"
- BorderThickness="2"
- Cursor="SizeNESW"
- DragCompleted="RectRightUp_DragCompleted"
- DragDelta="RectRightUp_DragDelta"
- DragStarted="RectRightUp_DragStarted"
- Visibility="Hidden" />
- <Thumb
- x:Name="RectLeftDown"
- Canvas.Left="314"
- Canvas.Top="508"
- Width="20"
- Height="20"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Background="White"
- BorderBrush="#2D8CF0"
- BorderThickness="2"
- Cursor="SizeNESW"
- DragCompleted="RectRightUp_DragCompleted"
- DragDelta="RectRightUp_DragDelta"
- DragStarted="RectRightUp_DragStarted"
- Visibility="Hidden" />
- <Thumb
- x:Name="RectRightDown"
- Canvas.Left="775"
- Canvas.Top="508"
- Width="20"
- Height="20"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- Background="White"
- BorderBrush="#2D8CF0"
- BorderThickness="2"
- Cursor="SizeNWSE"
- DragCompleted="RectRightUp_DragCompleted"
- DragDelta="RectRightUp_DragDelta"
- DragStarted="RectRightUp_DragStarted"
- Visibility="Hidden" />
- </Canvas>
- </Grid>
- </Border>
- </Grid>
- <Image
- x:Name="imgDocumentation"
- Grid.RowSpan="2"
- Stretch="Fill"
- Visibility="Visible" />
- <Image
- x:Name="imgPPT"
- VerticalAlignment="Top"
- Visibility="Visible" />
- <!-- 导入图片 -->
- <!--<Button Cursor="Hand" x:Name="btnOk" Height="50" Width="50" Content="√" FontSize="26" Background="#2E8CF0" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed" />-->
- <InkCanvas
- x:Name="blackboard_canvas"
- Grid.Row="0"
- Grid.RowSpan="2"
- Background="Transparent"
- Visibility="Collapsed" />
- <!-- 摄像头 -->
- </Grid>
- </ScrollViewer>
- <Image
- x:Name="imgPlayerLeft"
- Width="172"
- Height="124"
- Margin="10,7,10,10"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- RenderTransformOrigin="0.5,0.5"
- Source="./Images/microLessonSystem_17.png"
- Visibility="Collapsed">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1" />
- </Image.RenderTransform>
- </Image>
- <Image
- x:Name="imgPlayerRight"
- Width="172"
- Height="124"
- Margin="10,7,26,10"
- HorizontalAlignment="Right"
- VerticalAlignment="Top"
- RenderTransformOrigin="0.5,0.5"
- Source="./Images/microLessonSystem_17.png"
- Visibility="Collapsed">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1" />
- </Image.RenderTransform>
- </Image>
- <Image
- x:Name="imgPlayerLeftUnder"
- Width="172"
- Height="124"
- Margin="10,7,10,10"
- HorizontalAlignment="Left"
- VerticalAlignment="Bottom"
- RenderTransformOrigin="0.5,0.5"
- Source="./Images/microLessonSystem_17.png"
- Visibility="Collapsed">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1" />
- </Image.RenderTransform>
- </Image>
- <Image
- x:Name="imgPlayerRightUnder"
- Width="172"
- Height="124"
- Margin="10,7,26,10"
- HorizontalAlignment="Right"
- VerticalAlignment="Bottom"
- RenderTransformOrigin="0.5,0.5"
- Source="./Images/microLessonSystem_17.png"
- Visibility="Collapsed">
- <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
- x:Name="GridBottomToolbars"
- Grid.Row="2"
- Background="#FFFFFFFF"
- Visibility="Visible">
- <StackPanel
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <!-- 页码 -->
- <Grid
- x:Name="GridPage"
- Grid.Row="1"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- Visibility="Collapsed">
- <StackPanel
- Grid.Row="0"
- Grid.Column="1"
- Width="220"
- Height="30"
- Margin="0,0,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Background="Transparent"
- Orientation="Horizontal">
- <Button
- x:Name="last_button"
- Width="28"
- Height="20"
- Click="last_button_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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"
- Background="Transparent"
- Orientation="Horizontal">
- <TextBlock
- x:Name="txbCurrpage"
- Margin="0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize14}"
- Text="{Binding currpage}"
- TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize14}"
- Text="/"
- TextAlignment="Center" />
- <TextBlock
- x:Name="txbTotalpage"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize14}"
- Text="{Binding pagenum}"
- TextAlignment="Center" />
- </StackPanel>
- </Grid>
- <Button
- x:Name="next_btn"
- Width="28"
- Height="20"
- Background="Transparent"
- Click="next_btn_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <StackPanel>
- <Image
- Width="16"
- Height="12"
- Source=".\Images\class_p2.png" />
- </StackPanel>
- </Button>
-
- <TextBlock
- Margin="0,0,3,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize14}"
- Text="转" />
- <!--<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
- x:Name="CbxPageList"
- Width="55"
- Height="24"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- VerticalContentAlignment="Center"
- BorderThickness="1"
- Cursor="Hand"
- DisplayMemberPath="PageName"
- FontSize="{Binding WordSize14}"
- SelectedIndex="-1"
- SelectedValuePath="PageCode"
- SelectionChanged="CbxPageList_SelectionChanged">
- <ComboBox.Background>
- <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
- <GradientStop Offset="0" Color="#FFF0F0F0" />
- <GradientStop Offset="1" Color="#FFE5E5E5" />
- </LinearGradientBrush>
- </ComboBox.Background>
- </ComboBox>
- <TextBlock
- Margin="3,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize14}"
- Text="页" />
- </StackPanel>
- </Grid>
- <StackPanel
- Margin="5"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <TextBlock
- Margin="5,0,0,0"
- Padding="0,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize12}"
- Text="颜色: " />
- <Button
- x:Name="btnWhite"
- Width="20"
- Height="20"
- Margin="0,2,0,0"
- Background="#FFFFFF"
- Click="BtnWhite_Click"
- Cursor="Hand"
- Visibility="Collapsed" />
- <Border
- Width="20"
- Height="20"
- Margin="5,2,0,0"
- Background="#666666">
- <Button
- x:Name="btnRed"
- Width="20"
- Height="20"
- Margin="1,1,1,1"
- HorizontalAlignment="Center"
- Background="#FF0000"
- Click="BtnRed_Click"
- Cursor="Hand"
- Style="{StaticResource NoMouseOverButtonStyle}">
- <Image
- x:Name="imgRed"
- Width="12"
- Source=".\Images\microLessonSystem_999.png"
- Visibility="Visible" />
- </Button>
- </Border>
- <Border
- Width="20"
- Height="20"
- Margin="5,2,0,0"
- Background="#666666">
- <Button
- x:Name="btnGray"
- Width="20"
- Height="20"
- Margin="1,1,1,1"
- Background="#333333"
- Click="BtnGray_Click"
- Cursor="Hand"
- Style="{StaticResource NoMouseOverButtonStyle}">
- <Image
- x:Name="imgGray"
- Width="12"
- Source=".\Images\microLessonSystem_999.png"
- Visibility="Collapsed" />
- </Button>
- </Border>
- <Border
- Width="20"
- Height="20"
- Margin="5,2,0,0"
- Background="#666666">
- <Button
- x:Name="btnCyanBlue"
- Width="20"
- Height="20"
- Margin="1,1,1,1"
- Background="#63D600"
- Click="BtnCyanBlue_Click"
- Cursor="Hand"
- Style="{StaticResource NoMouseOverButtonStyle}">
- <Image
- x:Name="imgCyanBlue"
- Width="12"
- Source=".\Images\microLessonSystem_999.png"
- Visibility="Collapsed" />
- </Button>
- </Border>
- <Border
- Width="20"
- Height="20"
- Margin="5,2,0,0"
- Background="#666666">
-
- <Button
- x:Name="btnYellow"
- Width="20"
- Height="20"
- Margin="1,1,1,1"
- Background="#FFBC00"
- Click="BtnYellow_Click"
- Cursor="Hand"
- Style="{StaticResource NoMouseOverButtonStyle}">
-
- <Image
- x:Name="imgYellow"
- Width="12"
- Source=".\Images\microLessonSystem_999.png"
- Visibility="Collapsed" />
- </Button>
- </Border>
- <Border
- Width="20"
- Height="20"
- Margin="5,2,0,0"
- Background="#666666">
-
- <Button
- x:Name="btnBlue"
- Width="20"
- Height="20"
- Margin="1,1,1,1"
- Background="#00B4FC"
- Click="BtnBlue_Click"
- Cursor="Hand"
- Style="{StaticResource NoMouseOverButtonStyle}">
- <Image
- x:Name="imgBlue"
- Width="12"
- Source=".\Images\microLessonSystem_999.png"
- Visibility="Collapsed" />
- </Button>
- </Border>
- <TextBlock
- Margin="5,0,0,0"
- Padding="0,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize12}"
- Text="粗细: " />
- <RadioButton
- x:Name="rbnFine"
- Margin="0"
- VerticalAlignment="Center"
- Click="RbnFine_Click"
- Content=" 细"
- Cursor="Hand"
- FontSize="{Binding WordSize12}"
- IsChecked="True"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnIn"
- Margin="5,0,0,0"
- VerticalAlignment="Center"
- Click="RbnIn_Click"
- Content=" 中"
- Cursor="Hand"
- FontSize="{Binding WordSize12}"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnCrude"
- Margin="5,0,0,0"
- VerticalAlignment="Center"
- Click="RbnCrude_Click"
- Content=" 粗"
- Cursor="Hand"
- FontSize="{Binding WordSize12}"
- Style="{StaticResource radBase}" />
- </StackPanel>
- <StackPanel
- Margin="5"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <TextBlock
- Padding="5,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize12}"
- Text="摄像头: " />
- <RadioButton
- x:Name="rbnOpen"
- Margin="0,0,0,0"
- VerticalAlignment="Center"
- Click="RbnOpen_Click"
- Content=" 开"
- Cursor="Hand"
- FontSize="{Binding WordSize12}"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnTurnOff"
- Margin="5,0,10,0"
- VerticalAlignment="Center"
- Click="RbnTurnOff_Click"
- Content=" 关"
- Cursor="Hand"
- FontSize="{Binding WordSize12}"
- IsChecked="True"
- Style="{StaticResource radBase}" />
- </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="100*" />
- <RowDefinition Height="200*" />
- <RowDefinition Height="90*" />
- <RowDefinition Height="205*" />
- </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"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="更换皮肤" />
- </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"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Click="BtnSkinWhite_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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"
- Margin="140,0,15,15"
- HorizontalAlignment="Right"
- VerticalAlignment="Bottom"
- Source="/SkinImages/Skin/Skin_Select.png" />
- </Grid>
- <Grid
- Grid.Row="0"
- Grid.Column="2"
- Margin="5,0">
- <Button
- x:Name="BtnSkinTechnologyBlue"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Click="BtnSkinTechnologyBlue_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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"
- Margin="140,0,15,15"
- HorizontalAlignment="Right"
- VerticalAlignment="Bottom"
- Source="/SkinImages/Skin/Skin_Select.png"
- Visibility="Hidden" />
- </Grid>
- <Grid Grid.Row="0" Grid.Column="3" />
- <Grid Grid.Row="0" Grid.Column="4" />
- <Grid Grid.Row="1" Grid.Column="1">
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="经典白" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="科技蓝" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="3" />
- <Grid Grid.Row="1" Grid.Column="4" />
- </Grid>
-
- <Label
- Grid.Row="3"
- Height="1"
- VerticalAlignment="Bottom"
- Background="#FFEFEFEF" />
- </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"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="视频格式" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="1">
- <StackPanel
- Margin="15,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <RadioButton
- x:Name="rbnMP4"
- VerticalAlignment="Top"
- Content=" MP4"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- IsChecked="True"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnFLV"
- Margin="15,0,0,0"
- VerticalAlignment="Top"
- Content=" FLV"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnAVI"
- Margin="15,0,0,0"
- Content=" AVI"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Style="{StaticResource radBase}"
- Visibility="Collapsed" />
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="摄像头位置" />
- </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
- Margin="15,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <RadioButton
- x:Name="rbnRight"
- Margin="0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Content=" 右上"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- GroupName="RbtnCamera"
- IsChecked="True"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnRightUnder"
- Margin="15,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Content=" 右下"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- GroupName="RbtnCamera"
- Style="{StaticResource radBase}" />
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="3">
- <StackPanel
- Margin="15,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <RadioButton
- x:Name="rbnLeft"
- Margin="0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Content=" 左上"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- GroupName="RbtnCamera"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnLeftUnder"
- Margin="15,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Content=" 左下"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- GroupName="RbtnCamera"
- Style="{StaticResource radBase}" />
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="录屏工具栏" />
- </Grid>
- <Grid Grid.Row="2" Grid.Column="1">
- <StackPanel
- Margin="15,0,0,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <RadioButton
- x:Name="rbnHide"
- VerticalAlignment="Top"
- Content=" 隐藏"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- IsChecked="True"
- Style="{StaticResource radBase}" />
- <RadioButton
- x:Name="rbnvisi"
- Margin="15,0,0,0"
- VerticalAlignment="Top"
- Content=" 显示"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Style="{StaticResource radBase}" />
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="2" />
- </Grid>
- <Label
- Height="1"
- VerticalAlignment="Bottom"
- Background="#FFEFEFEF" />
- </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="20*" />
- </Grid.RowDefinitions>
- <!-- 地址 废弃2021年7月9日赵耀 -->
- <Grid Visibility="Collapsed" />
- <Grid Grid.Row="1" Grid.Column="0">
- <TextBlock
- Padding="0,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#333333"
- Text="文件路径" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="1">
- <Grid Margin="20,17,10,17">
- <Border
- BorderBrush="#FFE3E3E3"
- BorderThickness="1"
- CornerRadius="1">
- <Label
- x:Name="txbStoragePath"
- Margin="10,0"
- Background="#FFFFFF"
- BorderBrush="{x:Null}"
- BorderThickness="0"
- Content="D:\"
- FontSize="{Binding WordSize12}"
- Foreground="#333333" />
- </Border>
- </Grid>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100*" />
- <ColumnDefinition Width="100*" />
- <ColumnDefinition Width="25*" />
- </Grid.ColumnDefinitions>
- <!-- 浏览按钮 -->
- <Button
- x:Name="btnBrowse"
- Grid.Column="0"
- Margin="10,15"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnBrowse_Click"
- Content="浏览"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#FFFFFF"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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
- x:Name="btnOpen"
- Grid.Column="1"
- Margin="10,15"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="btnOpen_Click"
- Content="打开"
- Cursor="Hand"
- FontSize="{Binding WordSize16}"
- Foreground="#FFFFFF"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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
- Height="1"
- VerticalAlignment="Bottom"
- Background="#FFEFEFEF" />
- </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
- Padding="0,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#FF666666"
- Text="录屏快捷键" />
- </Grid>
- <Grid
- Grid.Row="1"
- Grid.Column="1"
- Grid.ColumnSpan="3">
- <TextBlock
- Margin="20,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#FF666666"
- Text="开始/暂停:Ctrl+F5 停止:Ctrl+S 退出讲评:鼠标右键" />
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#FF666666"
- Text="版权所有" />
- </Grid>
- <Grid
- Grid.Row="2"
- Grid.Column="1"
- Grid.ColumnSpan="3">
- <TextBlock
- Margin="20,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#FF666666"
- Text="河南星火燎原软件科技有限公司" />
- </Grid>
-
- <Grid Grid.Row="3" Grid.Column="0">
- <TextBlock
- x:Name="txbVersion"
- Margin="0,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#FF666666"
- Text="正式版:" />
- </Grid>
- <Grid Grid.Row="3" Grid.Column="1">
- <TextBlock
- x:Name="txbv"
- Margin="20,0,0,0"
- VerticalAlignment="Center"
- FontSize="{Binding WordSize16}"
- Foreground="#FF666666"
- Text="V0.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
- x:Name="btnSave"
- Margin="5"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnSave_Click"
- Content="保存"
- Cursor="Hand"
- FontSize="{Binding WordSize18}"
- Foreground="#FFFFFF"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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
- Grid.Row="0"
- Grid.Column="0"
- Visibility="Collapsed">
- <TextBlock
- Margin="0,30,0,0"
- HorizontalAlignment="Right"
- FontSize="16"
- Foreground="#333333"
- Text="设备"
- Visibility="Hidden" />
- <TextBlock
- x:Name="txbNotConnecteds"
- Margin="30,30,0,0"
- FontSize="14"
- Foreground="#333333"
- Text="未连接"
- Visibility="Hidden" />
-
- </Grid>
- </Grid>
- </Grid>
- </Grid>
- </ScrollViewer>
- <!-- 上传 废弃 -->
- <Grid x:Name="gridUpload" Visibility="Collapsed">
- <Border Background="#EFF1F8">
- <Grid Margin="0,0,0,0" Background="#FFFFFF">
- <!-- 分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
- x:Name="listView1"
- Grid.Row="1"
- Margin="0,0,0,0"
- BorderThickness="0"
- FontSize="20"
- ItemContainerStyle="{StaticResource ListBoxItemContainerStyle}"
- ItemTemplate="{StaticResource TongjiItem}"
- ItemsSource="{Binding menuList}"
- ScrollViewer.HorizontalScrollBarVisibility="Disabled"
- ScrollViewer.VerticalScrollBarVisibility="Disabled" />
- </Grid>
- <StackPanel
- x:Name="stpUp"
- Grid.Row="3"
- Grid.Column="1"
- Width="180"
- Height="30"
- Margin="0,0,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Background="Transparent"
- Orientation="Horizontal">
- <Button
- x:Name="btnLastPage"
- Width="60"
- Height="20"
- Click="BtnLastPage_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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
- Grid.Row="1"
- Margin="0,-12,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Background="Transparent">
- <StackPanel
- HorizontalAlignment="Center"
- Background="Transparent"
- Orientation="Horizontal">
- <TextBlock
- x:Name="txbCurrpageTwo"
- FontSize="15"
- TextAlignment="Center" />
- <TextBlock
- FontSize="15"
- Text="/"
- TextAlignment="Center" />
- <TextBlock
- x:Name="txbPageNumTwo"
- FontSize="15"
- TextAlignment="Center" />
- </StackPanel>
- </StackPanel>
- </Grid>
- <Button
- x:Name="btnNextPage"
- Width="60"
- Height="20"
- Background="Transparent"
- Click="BtnNextPage_Click"
- Cursor="Hand"
- Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}">
- <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"
- Margin="0,0,0,100"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Content="暂无微课录制信息,请录制并等待保存完成后重试!"
- FontSize="20"
- Visibility="Hidden" />
- <Button
- x:Name="BtnVideoUpPage"
- Grid.Row="1"
- Width="60"
- Margin="0,0,150,12"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Background="{x:Null}"
- BorderBrush="{x:Null}"
- Click="BtnVideoUpPage_Click"
- Content="上一页"
- Cursor="Hand"
- FontSize="16"
- Foreground="#FF333333" />
- <Label
- x:Name="lblVideoPageNum"
- Grid.Row="1"
- Margin="0,0,0,10"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Content="100/100"
- FontSize="14"
- Foreground="#FF333333" />
- <Button
- x:Name="BtnVideoDownPage"
- Grid.Row="1"
- Width="60"
- Margin="150,0,0,12"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Background="{x:Null}"
- BorderBrush="{x:Null}"
- Click="BtnVideoDownPage_Click"
- Content="下一页"
- Cursor="Hand"
- FontSize="16"
- Foreground="#FF333333" />
- </Grid>
- <!-- 打印 -->
- <Grid
- x:Name="GridPrintContent"
- Background="White"
- Visibility="Collapsed">
- <Grid.RowDefinitions>
- <RowDefinition Height="905*" />
- <RowDefinition Height="50*" />
- </Grid.RowDefinitions>
-
- <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.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"
- Height="35"
- Margin="0,10,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Top"
- Content="打印中..."
- FontSize="22"
- Foreground="#FFF9F7F7" />
- <ProgressBar
- x:Name="pgbProcess"
- Grid.Row="0"
- Height="20"
- Margin="50,20,50,0"
- BorderBrush="#4597FF"
- Foreground="#4597FF"
- Visibility="Visible" />
- <Label
- x:Name="lbProcess"
- Grid.Row="0"
- Width="60"
- Height="30"
- Margin="0,20,0,0"
- HorizontalAlignment="Center"
- Content=""
- FontSize="16"
- Foreground="White"
- Visibility="Visible" />
- </Grid>
- </Grid>
- </Grid>
- </Window>
|