|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714 |
- <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"
- xmlns:view="clr-namespace:XHWK.WKTool.View"
- 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">
- <!-- 登录状态 -->
- <view:ZRoundButton
- 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>
- </view:ZRoundButton>
- </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="#4597FF"
- 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="#4597FF"
- 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="#4597FF"
- 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="#4597FF"
- 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="#4597FF"
- 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" />
- <!-- 导入图片 -->
-
- <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
- Name="SheXiangTouSp"
- 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="#4597FF"
- 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="#4597FF"
- 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="#4597FF"
- 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>
|