12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712 |
- <Window
- x:Class="XHWK.WKTool.MainWindow"
- 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="700"
- Closed="Window_Closed"
- Loaded="Window_Loaded"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- ResizeMode="CanMinimize"
- ShowInTaskbar="True"
- Style="{StaticResource ZWinStyle}"
- WindowStartupLocation="CenterScreen"
- WindowStyle="SingleBorderWindow"
- 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"
- Height="12"
- Margin="4,0,0,0"
- VerticalAlignment="Center"
- DockPanel.Dock="Left"
- Source="./Images/rdo_no.png"
- Stretch="Fill" />
- <TextBlock
- Margin="2,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容器样式 -->
-
- <!-- 摄像头样式 -->
- </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 Background="{DynamicResource BackTitle}">
-
- <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="18"
- 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="14"
- 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="18"
- Foreground="#FFFF0000"
- Text="00:00" />
- <TextBlock
- x:Name="TxbType"
- Margin="10,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="18"
- Style="{DynamicResource TxbMesColor}"
- Text="准备就绪" />
- </StackPanel>
- <Label
- Width="2"
- Margin="0,15"
- HorizontalAlignment="Right"
- Background="#FFE5E5E5" />
- </Grid>
- <!-- 录屏按钮 -->
- <Grid Name="StartPauseGrid" Grid.Column="2">
- <StackPanel Orientation="Horizontal" />
- <Button
- x:Name="BtnRecord"
- Margin="5,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Click="BtnRecord_Click"
- Cursor="Hand"
- FontSize="14"
- Template="{DynamicResource SkinBtnRecord}" />
- <Button
- x:Name="BtnRecordSuspend"
- Margin="5,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Click="BtnRecord_Click"
- Cursor="Hand"
- FontSize="14"
- Template="{DynamicResource SkinBtnRecordSuspend}"
- Visibility="Collapsed" />
- </Grid>
- <Grid Name="StopGrid" Grid.Column="3">
- <Button
- x:Name="BtnStop"
- Margin="5,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Click="BtnStop_Click"
- Cursor="Hand"
- FontSize="14"
- Template="{DynamicResource SkinBtnRecordStop}" />
- </Grid>
- </Grid>
-
- <!-- 关闭 -->
- <Grid Name="CloseGrid" 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"
- Click="BtnClose_Click"
- Cursor="Hand"
- FontSize="14"
- Template="{DynamicResource SkinBtnClose}" />
- </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">
- <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="180*" />
- <ColumnDefinition Width="10*" />
- <ColumnDefinition Width="1061*" />
- </Grid.ColumnDefinitions>
- <!-- 工具栏 W200 H955 -->
- <Grid
- x:Name="GridToolbars"
- Grid.Column="0"
- Background="White">
- <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">
- <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="14"
- 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"
- Click="BtnScreenRecording_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnScreenRecording}" />
- </Grid>
- <!-- 截图 -->
- <Grid Grid.Row="2">
- <Button
- x:Name="BtnScreenshot"
- Padding="0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnScreenshot_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnScreenshot}" />
- </Grid>
- <!-- 导入 -->
- <Grid Grid.Row="3">
- <Button
- x:Name="BtnImport"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnImport_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnImport}" />
- </Grid>
- <!-- 加页 -->
- <Grid Grid.Row="4">
- <Button
- x:Name="BtnAdd"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnAdd_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnAdd}" />
- </Grid>
- <!-- 打印 -->
- <Grid Grid.Row="5">
- <Button
- x:Name="BtnPrint"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnPrint_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnPrint}" />
- </Grid>
- <!-- 我的 -->
- <Grid Grid.Row="6">
- <Button
- x:Name="BtnUpload"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnUpload_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnMy}" />
- </Grid>
- <!-- 检测 -->
- <Grid Grid.Row="7">
- <Button
- x:Name="BtnDevice"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnDevice_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnDevice}" />
- </Grid>
- <!-- 设置 -->
- <Grid Grid.Row="8">
- <Button
- x:Name="BtnSetUp"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnSetUp_Click"
- Cursor="Hand"
- FontSize="16"
- Template="{DynamicResource SkinBtnSetUp}" />
- </Grid>
- <!-- 测试 -->
- <Grid
- Grid.Row="9"
- Height="85"
- VerticalAlignment="Top"
- Visibility="Collapsed">
- <Button
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="BtnSetUp_Click"
- Cursor="Hand"
- FontSize="18">
- <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="#3f6fff"
- 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="#3f6fff"
- 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="#3f6fff"
- 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="#3f6fff"
- 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="#3f6fff"
- 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="#3f6fff" Foreground="#FFFFFF" Click="btnOk_Click" Visibility="Collapsed" />-->
- <InkCanvas
- x:Name="BlackboardCanvas"
- Grid.Row="0"
- Background="Transparent"
- Visibility="Collapsed" />
- <!-- 摄像头 -->
- </Grid>
- </ScrollViewer>
- <Image
- x:Name="HeadImg"
- Width="172"
- Height="124"
- Margin="10,7,10,10"
- HorizontalAlignment="Left"
- VerticalAlignment="Top"
- RenderTransformOrigin="0.5,0.5"
- Visibility="Collapsed">
- <Image.RenderTransform>
- <ScaleTransform ScaleX="-1" />
- </Image.RenderTransform>
- </Image>
-
- </Grid>
- </Border>
- </Grid>
- <Grid Grid.Row="1" />
- <!-- 底部工具栏 -->
- <Grid
- x:Name="GridBottomToolbars"
- Grid.Row="2"
- Background="#FFFFFFFF"
- Visibility="Visible">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="200" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="200" />
- </Grid.ColumnDefinitions>
- <!-- 页码 -->
- <Grid
- x:Name="GridPage"
- Grid.Row="0"
- Grid.Column="0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- MouseLeftButtonDown="Window_MouseLeftButtonDown_1"
- Visibility="Collapsed">
- <StackPanel
- Grid.Row="0"
- Height="30"
- Margin="0,0,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Bottom"
- Background="Transparent"
- Orientation="Horizontal">
-
- <Label
- Margin="5,0,0,0"
- VerticalAlignment="Center"
- Content="页码:" />
-
- <Button
- x:Name="LastButton"
- Width="28"
- Height="20"
- Click="last_button_Click"
- Cursor="Hand">
- <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="14"
- Text="{Binding currpage}"
- TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="14"
- Text="/"
- TextAlignment="Center" />
- <TextBlock
- x:Name="TxbTotalpage"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="14"
- Text="{Binding pagenum}"
- TextAlignment="Center" />
- </StackPanel>
- </Grid>
- <Button
- x:Name="NextBtn"
- Width="28"
- Height="20"
- Background="Transparent"
- Click="next_btn_Click"
- Cursor="Hand">
- <StackPanel>
- <Image
- Width="16"
- Height="12"
- Source=".\Images\class_p2.png" />
- </StackPanel>
- </Button>
- </StackPanel>
- </Grid>
- <StackPanel
- Grid.Column="1"
- Margin="5"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <TextBlock
- Margin="5,0,0,0"
- Padding="0,0,0,0"
- VerticalAlignment="Center"
- FontSize="12"
- 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">
- <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">
- <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">
- <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">
-
- <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">
-
- <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="12"
- Text="粗细: " />
- <RadioButton
- x:Name="RbnFine"
- Margin="0"
- VerticalAlignment="Center"
- Click="RbnFine_Click"
- Content=" 细"
- Cursor="Hand"
- FontSize="12"
- IsChecked="True"
- Style="{StaticResource RadBase}" />
- <RadioButton
- x:Name="RbnIn"
- Margin="5,0,0,0"
- VerticalAlignment="Center"
- Click="RbnIn_Click"
- Content=" 中"
- Cursor="Hand"
- FontSize="12"
- Style="{StaticResource RadBase}" />
- <RadioButton
- x:Name="RbnCrude"
- Margin="5,0,0,0"
- VerticalAlignment="Center"
- Click="RbnCrude_Click"
- Content=" 粗"
- Cursor="Hand"
- FontSize="12"
- Style="{StaticResource RadBase}" />
- </StackPanel>
- <StackPanel
- Grid.Column="2"
- Margin="5"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Orientation="Horizontal">
- <TextBlock
- Padding="5,0,0,0"
- VerticalAlignment="Center"
- FontSize="12"
- Text="摄像头: " />
- <RadioButton
- x:Name="RbnOpen"
- Margin="0,0,0,0"
- VerticalAlignment="Center"
- Click="RbnOpen_Click"
- Content=" 开"
- Cursor="Hand"
- FontSize="12"
- Style="{StaticResource RadBase}" />
- <RadioButton
- x:Name="RbnTurnOff"
- Margin="5,0,10,0"
- VerticalAlignment="Center"
- Click="RbnTurnOff_Click"
- Content=" 关"
- Cursor="Hand"
- FontSize="12"
- IsChecked="True"
- Style="{StaticResource RadBase}" />
- </StackPanel>
- </Grid>
- </Grid>
- <!-- 设置 955 -->
- <ScrollViewer
- x:Name="GridSetUp"
- VerticalScrollBarVisibility="Auto"
- Visibility="Collapsed">
- <Grid Height="650">
- <Grid Background="#FFFFFF">
- <Grid.RowDefinitions>
- <RowDefinition Height="146" />
- <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="100" />
- <ColumnDefinition Width="646*" />
- </Grid.ColumnDefinitions>
- <TextBlock
- Grid.Column="0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#333333"
- Text="更换皮肤" />
- </Grid>
- <Grid Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100" />
- <ColumnDefinition Width="207*" />
- <ColumnDefinition Width="207*" />
- <ColumnDefinition Width="207*" />
- <ColumnDefinition Width="120*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="80" />
- <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">
- <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">
- <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="1" Grid.Column="1">
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#333333"
- Text="经典白" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <TextBlock
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#333333"
- Text="科技蓝" />
- </Grid>
- </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="100" />
- <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.Column="0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="16"
- 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="16"
- Foreground="#333333"
- IsChecked="True"
- Style="{StaticResource RadBase}" />
- <RadioButton
- x:Name="RbnFlv"
- Margin="15,0,0,0"
- VerticalAlignment="Top"
- Content=" FLV"
- Cursor="Hand"
- FontSize="16"
- Foreground="#333333"
- Style="{StaticResource RadBase}"
- Visibility="Collapsed" />
- <RadioButton
- x:Name="RbnAvi"
- Margin="15,0,0,0"
- Content=" AVI"
- Cursor="Hand"
- FontSize="16"
- Foreground="#333333"
- Style="{StaticResource RadBase}"
- Visibility="Collapsed" />
- </StackPanel>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#333333"
- Text="头像位置" />
- </Grid>
- <Grid Grid.Row="1" 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="16"
- Foreground="#333333"
- GroupName="RbtnCamera"
- Style="{StaticResource RadBase}" />
- <RadioButton
- x:Name="RbnRight"
- Margin="15,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- Content=" 右上"
- Cursor="Hand"
- FontSize="16"
- Foreground="#333333"
- GroupName="RbtnCamera"
- IsChecked="True"
- 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="RbnLeftUnder"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Content=" 左下"
- Cursor="Hand"
- FontSize="16"
- Foreground="#333333"
- GroupName="RbtnCamera"
- Style="{StaticResource RadBase}" />
-
- <RadioButton
- x:Name="RbnRightUnder"
- Margin="15,0"
- HorizontalAlignment="Left"
- VerticalAlignment="Center"
- Content=" 右下"
- Cursor="Hand"
- FontSize="16"
- Foreground="#333333"
- GroupName="RbtnCamera"
- Style="{StaticResource RadBase}" />
- </StackPanel>
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="16"
- 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="16"
- Foreground="#333333"
- IsChecked="True"
- Style="{StaticResource RadBase}" />
- <RadioButton
- x:Name="Rbnvisi"
- Margin="15,0,0,0"
- VerticalAlignment="Top"
- Content=" 显示"
- Cursor="Hand"
- FontSize="16"
- 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="100" />
- <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="16"
- Foreground="#333333"
- Text="文件路径" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="1">
- <Grid>
- <Border
- Height="30"
- Margin="10,0,0,0"
- BorderBrush="#FFE3E3E3"
- BorderThickness="1"
- CornerRadius="1">
- <Label
- x:Name="TxbStoragePath"
- Margin="10,0"
- Background="#FFFFFF"
- BorderBrush="{x:Null}"
- BorderThickness="0"
- Content="D:\"
- FontSize="14"
- Foreground="#333333" />
- </Border>
- </Grid>
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="76" />
- <ColumnDefinition Width="76" />
- </Grid.ColumnDefinitions>
- <!-- 浏览按钮 -->
- <Button
- x:Name="BtnBrowse"
- Grid.Column="0"
- Width="66"
- Height="30"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Background="#3f6fff"
- Click="BtnBrowse_Click"
- Content="浏览"
- Cursor="Hand"
- FontSize="14"
- Foreground="#FFFFFF" />
- <!-- 打开按钮 -->
- <Button
- x:Name="BtnOpen"
- Grid.Column="1"
- Width="66"
- Height="30"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Background="#3f6fff"
- Click="btnOpen_Click"
- Content="打开"
- Cursor="Hand"
- FontSize="14"
- Foreground="#FFFFFF" />
- </Grid>
- </Grid>
- <Label
- Height="1"
- VerticalAlignment="Bottom"
- Background="#FFEFEFEF" />
- </Grid>
- <!-- 版权 快捷键 版本号 h200 -->
- <Grid Grid.Row="3" Margin="100,0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100" />
- <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="16"
- Foreground="#FF666666"
- Text="录屏快捷键" />
- </Grid>
- <Grid
- Grid.Row="1"
- Grid.Column="1"
- Grid.ColumnSpan="3">
- <TextBlock
- Margin="20,0,0,0"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#FF666666"
- Text="开始/暂停:Ctrl+F5 停止:Ctrl+F6 退出讲评:鼠标右键" />
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0">
- <TextBlock
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#FF666666"
- Text="版权所有" />
- </Grid>
- <Grid
- Grid.Row="2"
- Grid.Column="1"
- Grid.ColumnSpan="3">
- <TextBlock
- Margin="20,0,0,0"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#FF666666"
- Text="河南星火燎原软件科技有限公司" />
- </Grid>
-
- <Grid Grid.Row="3" Grid.Column="0">
- <TextBlock
- Margin="0,0,0,0"
- HorizontalAlignment="Right"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="#FF666666"
- Text="版本" />
- </Grid>
- <Grid Grid.Row="3" Grid.Column="1">
- <TextBlock
- x:Name="Txbv"
- Margin="20,0,0,0"
- VerticalAlignment="Center"
- FontSize="16"
- 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="180*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="50*" />
- </Grid.RowDefinitions>
- <Grid Grid.Column="2">
- <!-- 保存 -->
- <Button
- x:Name="BtnSave"
- Width="76"
- Height="30"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Background="#3f6fff"
- Click="BtnSave_Click"
- Content="保存"
- Cursor="Hand"
- FontSize="14"
- Foreground="#FFFFFF" />
- </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="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>
-
- <!-- 打印相关 -->
- <Border
- x:Name="GridPrintingTitle"
- Width="446"
- Height="108"
- BorderBrush="#eeeeee"
- BorderThickness="1"
- Visibility="Collapsed">
- <Grid Background="#ffffff">
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="64" />
- </Grid.RowDefinitions>
- <Grid Grid.Row="0" Background="#3F6FFF">
- <TextBlock
- Margin="10,0,0,0"
- VerticalAlignment="Center"
- FontSize="16"
- Foreground="White"
- Text="打印" />
-
- <Button
- Grid.Row="0"
- Width="46"
- Margin="0,-2,0,0"
- HorizontalAlignment="Right"
- VerticalContentAlignment="Center"
- Click="BtnPrintCloseClick"
- Content="×"
- Cursor="Hand"
- FontSize="30"
- Foreground="White" />
- </Grid>
-
- <Grid Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="30" />
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="Auto" />
- </Grid.ColumnDefinitions>
-
- <Image
- Grid.Column="0"
- Width="20"
- Height="20"
- Margin="10,0,0,0"
- HorizontalAlignment="Center"
- VerticalAlignment="Center"
- Source="./Images/shuoming.png" />
- <Button
- x:Name="BtnPrintExplain"
- Grid.Column="1"
- Height="36"
- Margin="6,0,0,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Click="btnPrintExplain_Click"
- Content="打印说明"
- Cursor="Hand"
- FontSize="16"
- Foreground="#3F6FFF"
- IsDefault="True" />
-
- <Button
- Grid.Column="3"
- Width="100"
- Height="36"
- Margin="0,0,10,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- Background="#3F6FFF"
- Click="Print_No_Code_Click"
- Content="普通打印"
- Cursor="Hand"
- FontSize="16"
- Foreground="White"
- IsDefault="True" />
-
- <Button
- x:Name="BtnPrintPrint"
- Grid.Column="4"
- Width="100"
- Height="36"
- Margin="0,0,10,0"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Stretch"
- Background="#3F6FFF"
- Click="BtnPrint_Print_Click"
- Content="铺码打印"
- Cursor="Hand"
- FontSize="16"
- Foreground="White"
- IsDefault="True" />
- </Grid>
- </Grid>
- </Border>
-
- <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>
|