| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270 |
- <UserControl x:Class="ivf_tl_Manage.Views.DetailView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:ivf_tl_Manage.Views"
- xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
- xmlns:userControl="clr-namespace:ivf_tl_Manage.UserControls"
- mc:Ignorable="d"
- Width="1830" Height="1015"
- DataContextChanged="UserControl_DataContextChanged"
- FontFamily="{StaticResource sourceHan}">
- <Canvas x:Name="Canvas_Root" MouseDown="Canvas_PreviewMouseDown" Background="Transparent">
- <!--<StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" Visibility="{Binding IsDishRecord,Converter={StaticResource BoolToVisibilityConvert}}">
- <Button Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0001}" BorderThickness="0" Background="Transparent" Click="Button_Click"/>
- <TextBlock Margin="8 0 0 0" VerticalAlignment="Center" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">" />
- <Button Margin="8 0 0 0" Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0149}" BorderThickness="0" Background="Transparent" Click="Parien_Click"/>
- <TextBlock Margin="8 0 0 0" VerticalAlignment="Center" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
- <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" >
- <Run Text="{DynamicResource 0163}"/><Run Text="{Binding CurrentHouse.houseSn}"/>
- </TextBlock>
- </StackPanel>
- <StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" Visibility="{Binding IsDishRecord,Converter={StaticResource BooleanToVisibilityConverter}}">
- <Button Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0002}" BorderThickness="0" Background="Transparent" Click="Record_Click"/>
- <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
- <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" >
- <Run Text="{DynamicResource 0163}"/><Run Text="{Binding CurrentHouse.houseSn}"/>
- </TextBlock>
- </StackPanel>-->
- <StackPanel x:Name="_nav_StackPanel" Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" />
- <Image Canvas.Left="25" Canvas.Top="88" Width="377" Height="186" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailHouseInfo.png"/>
- <Image Canvas.Left="352" Canvas.Top="101.5" Width="15" Height="30" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishVipIcon.png" Visibility="{Binding CurrentDish.vip,Converter={StaticResource Int1ToVisibilityConvert}}"/>
- <TextBlock Canvas.Left="60" Canvas.Top="123" MaxWidth="280" FontWeight="Medium" Foreground="#4D4D4D" FontSize="22" >
- <Run Text="{Binding CurrentDish.DishName}"/><Run Text="{Binding CurrentDish.fertilizationType,StringFormat={} ({0})}"/>
- </TextBlock>
- <Image Canvas.Left="55" Canvas.Top="169" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishStartTimeIcon.png"/>
- <TextBlock MaxWidth="120" Canvas.Left="92" Canvas.Top="172" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.StartTime}"/>
- <Image Canvas.Left="55" Canvas.Top="209" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishStageIcon.png"/>
- <TextBlock MaxWidth="120" Canvas.Left="92" Canvas.Top="212" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.FaYuTime}"/>
- <Image Canvas.Left="240" Canvas.Top="169" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HouseTemperatureIcon.png"/>
- <TextBlock MaxWidth="120" Canvas.Left="278" Canvas.Top="172" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.temperature,StringFormat={}{0:F2}℃}"/>
- <Image Canvas.Left="240" Canvas.Top="209" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HousePressureIcon.png"/>
- <TextBlock MaxWidth="120" Canvas.Left="277" Canvas.Top="212" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.pressure,StringFormat={}{0:F0}mbar}"/>
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" Canvas.Left="48" Canvas.Top="289" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="EmbryoMove_Click" Content="{DynamicResource 0041}" FontWeight="Medium" FontSize="15" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailTransplantButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailTransplantMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailTransplantEnableIcon.png" EnabledForeground="#AFAFAF" IsEnabled="{Binding IsCurrentDish}"/>
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" Canvas.Left="148" Canvas.Top="289" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="EmbryoFree_Click" Content="{DynamicResource 0040}" FontWeight="Medium" FontSize="15" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFreezingButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFreezingMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFreezingEnableIcon.png" EnabledForeground="#AFAFAF" IsEnabled="{Binding IsCurrentDish}"/>
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" Canvas.Left="48" Canvas.Top="410" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="EmbryoInv_Click" Content="{DynamicResource 0042}" FontWeight="Medium" FontSize="15" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailCancellationButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailCancellationMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailCancellationEnableIcon.png" EnabledForeground="#AFAFAF" IsEnabled="{Binding IsCurrentDish}"/>
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" Canvas.Left="148" Canvas.Top="410" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="EmbryoDel_Click" Content="{DynamicResource 0043}" FontWeight="Medium" FontSize="15" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailDeleteButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailDeleteMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailDeleteEnableIcon.png" EnabledForeground="#AFAFAF" IsEnabled="{Binding IsCurrentDish}"/>
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" Canvas.Left="48" Canvas.Top="531" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="Mark_Click" Content="{DynamicResource 0251}" FontWeight="Medium" FontSize="15" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailMarkButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailMarkMouseIcon.png" />
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" x:Name="_celiang_ButtonBottomImage" Canvas.Left="148" Canvas.Top="531" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="CeLiang_Click" Content="{DynamicResource 0160}" FontWeight="Medium" FontSize="15" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailCeLiangButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailCeLiangMouseIcon.png"/>
- <customControl:ButtonBottomImage Width="80" Height="108" RenderOptions.BitmapScalingMode="HighQuality" Canvas.Left="48" Canvas.Top="652" IconWidth="80" IconHeight="82" IconMargin="0 -5 0 0" Click="EmbryoOver_Click" Visibility="{Binding IsHistory,Converter={StaticResource BoolToVisibilityConvert}}" Content="{DynamicResource 0029}" FontWeight="Medium" FontSize="14" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailEndButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailEndMouseIcon.png"/>
- <Canvas x:Name="_canvas" Canvas.Left="560" Canvas.Top="23" Width="710" Height="710">
- <Canvas.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishDetailBackground.png"/>
- </Canvas.Background>
- <Ellipse Panel.ZIndex="1" Canvas.Left="190" Canvas.Top="190" x:Name="_mask" Fill="#4d75ac" Width="330" Height="330"/>
- <Image Panel.ZIndex="2" x:Name="_sx" RenderTransformOrigin="0.5,0.5" Canvas.Left="50" Canvas.Top="50" Width="610" Height="610" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSelectdIcon.png">
- <Image.RenderTransform>
- <RotateTransform/>
- </Image.RenderTransform>
- </Image>
- <Image Panel.ZIndex="3" Canvas.Left="180" Canvas.Top="180" Width="350" Height="350" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishDetailSamallBackground.png"/>
- <Canvas x:Name="Canvas_Load" Panel.ZIndex="7" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330" >
- <Image x:Name="Image_Load" Width="330" Height="330" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/VideoLoadIcon.png"/>
- <TextBlock x:Name="TextBlock_Load" Canvas.Top="203" TextAlignment="Center" Width="330" FontWeight="Medium" FontSize="20" Foreground="#7D7D7D" Text="{DynamicResource 0497}"/>
- </Canvas>
-
- <MediaElement Panel.ZIndex="8" x:Name="mediaElementPlayer" LoadedBehavior="Manual" UnloadedBehavior="Close" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330" ScrubbingEnabled="True">
- <MediaElement.OpacityMask>
- <VisualBrush Visual="{Binding ElementName=_mask}"/>
- </MediaElement.OpacityMask>
- </MediaElement>
- <!--<Image Panel.ZIndex="9" x:Name="_preview" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330" >
- <Image.OpacityMask>
- <VisualBrush Visual="{Binding ElementName=_mask}"/>
- </Image.OpacityMask>
- </Image>-->
- <Canvas x:Name="Canvas_preview" Panel.ZIndex="9" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330">
- <Image x:Name="_preview" Width="330" Height="330" >
- <Image.OpacityMask>
- <VisualBrush Visual="{Binding ElementName=_mask}"/>
- </Image.OpacityMask>
- </Image>
- <!--361 38-->
- <TextBlock x:Name="TextBlock_preview" Canvas.Top="198" TextAlignment="Center" Width="330" FontWeight="Medium" FontSize="20" Foreground="#7D7D7D" Text=""/>
- </Canvas>
- <Canvas Background="Transparent" MouseDown="PreviewMouseDownEvent" x:Name="canvas1" Panel.ZIndex="10" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330">
- <Canvas.OpacityMask>
- <VisualBrush Visual="{Binding ElementName=_mask}"/>
- </Canvas.OpacityMask>
- <Border x:Name="_ceLiang_Border" Visibility="Hidden" Background="#80000000" CornerRadius="6" Width="93" Height="36">
- <TextBlock x:Name="b1" Text="" MaxWidth="90" TextAlignment="Center" FontSize="22" Foreground="#FFB000" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- </Canvas>
- </Canvas>
- <Canvas Visibility="Collapsed" x:Name="_videoCanvas" Canvas.Left="465" Canvas.Top="769" Width="900" Height="136">
- <Canvas.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailVideoSliderBackgroundIcon.png"/>
- </Canvas.Background>
- <Border Canvas.Left="353" Canvas.Top="-6" CornerRadius="6" Background="#7F9DC8" Width="97" Height="36"></Border>
- </Canvas>
- <customControl:ButtonImage Visibility="Hidden" x:Name="lastEmbryoButton" Canvas.Left="493" Canvas.Top="331" Width="94" Height="94"
- Click="LastEmbryo_Click"
- IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/LastEmbryoUsable.png"
- MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/LastEmbryoUsable.png"
- EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/LastEmbryoDiscard.png"/>
- <customControl:ButtonImage Visibility="Hidden" x:Name="nextEmbryoButton" Canvas.Left="1243" Canvas.Top="331" Width="94" Height="94"
- Click="NextEmbryo_Click"
- IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NextEmbryoUsable.png"
- MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NextEmbryoUsable.png"
- EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NextEmbryoDiscard.png"/>
- <!--<Rectangle Canvas.Left="493" Canvas.Top="331" Width="94" Height="94" Fill="Red"/>-->
- <!--<Rectangle Canvas.Left="1243" Canvas.Top="331" Width="94" Height="94" Fill="Red"/>-->
- <Grid x:Name="meaUI1" Visibility="Hidden" Canvas.Left="1356" Canvas.Top="93" Width="311" MaxHeight="610">
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="35"/>
- </Grid.RowDefinitions>
- <Image Grid.Row="0" Width="311" Height="40" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkTopBackground.png"/>
- <Grid Grid.Row="1">
- <Grid.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkCenterBackground.png"/>
- </Grid.Background>
- <Grid.RowDefinitions>
- <RowDefinition Height="36"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Canvas Height="36" >
- <TextBlock Canvas.Left="50" Margin="0 5 0 0 " Text="次数" FontWeight="Medium" FontSize="15"/>
- <TextBlock Canvas.Left="143" Margin="0 5 0 0 " FontWeight="Medium" FontSize="15">
- <Run Text="测量值"/><Run Text="/μm"/>
- </TextBlock>
- <Rectangle Canvas.Left="40" Canvas.Top="34" Width="231" Height="2" Fill="#4D75AC" RadiusX="1" RadiusY="1"/>
- </Canvas>
- <StackPanel Grid.Row="1" Width="268" Margin="0 10 0 0" >
-
- <ListBox x:Name="meaListBox" BorderThickness="0" Background="Transparent"
- ItemsSource="{Binding MeasurementList}"
- ManipulationBoundaryFeedback="ListBox_ManipulationBoundaryFeedback"
- ScrollViewer.PanningMode="Both"
- ScrollViewer.VerticalScrollBarVisibility="Hidden"
- ScrollViewer.HorizontalScrollBarVisibility="Disabled"
- ScrollViewer.CanContentScroll="False">
- <ListBox.ItemContainerStyle>
- <Style TargetType="{x:Type ListBoxItem}">
- <Setter Property="FontWeight" Value="Medium"/>
- <Setter Property="FontSize" Value="15"/>
- <Setter Property="Foreground" Value="#4D4D4D"/>
- <Setter Property="SnapsToDevicePixels" Value="True"/>
- <Setter Property="Padding" Value="0"/>
- <Setter Property="Background" Value="Transparent"/>
- <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
- <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
- <Setter Property="BorderBrush" Value="Transparent"/>
- <Setter Property="BorderThickness" Value="0"/>
- <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ListBoxItem}">
- <Canvas Tag="{Binding}" Width="268" Height="54" Background="{TemplateBinding Background}">
- <Border Width="104" Height="52.5">
- <TextBlock Text="{Binding Num}" FontWeight="Medium" Foreground="{TemplateBinding Foreground}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Canvas.Left="130" Height="52.5" >
- <!--{Binding minTime,StringFormat={}{0}h}-->
- <TextBlock Text="{Binding MeasurementString}" FontWeight="Medium" Foreground="{TemplateBinding Foreground}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Rectangle Canvas.Left="18" Canvas.Top="52.5" Width="231" Height="1.5" Fill="#E5E5E5"/>
- </Canvas>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- <Style.Triggers>
- <Trigger Property="IsSelected" Value="True">
- <Setter Property="Foreground" Value="#4D75AC"/>
- <Setter Property="Background" Value="#E5E9EF"/>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Foreground" Value="#4D75AC"/>
- </Trigger>
- </Style.Triggers>
- </Style>
- </ListBox.ItemContainerStyle>
- </ListBox>
- <Canvas Width="268" Height="54" >
- <Border Width="104" Height="52.5">
- <TextBlock Text="平均值" FontWeight="Medium" Foreground="#4D4D4D" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Canvas.Left="130" Height="52.5" >
- <TextBlock x:Name="averageValueText" TextAlignment="Right" Text="" FontWeight="Medium" Foreground="#4D4D4D" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Rectangle Canvas.Left="18" Canvas.Top="52.5" Width="231" Height="1.5" Fill="#E5E5E5"/>
- </Canvas>
- <Canvas Width="268" Height="54" >
- <customControl:ButtonCornerRadius Canvas.Left="20" Canvas.Top="8" x:Name="meaUI2" Width="92" Height="36" Content="清除" FontSize="15" Click="ClearMea_Click"/>
- <customControl:ButtonCornerRadius Canvas.Left="150" Canvas.Top="8" x:Name="meaUI3" Width="92" Height="36" Content="确定" FontSize="15" Click="AverageValue_Click"/>
- <Rectangle Canvas.Left="18" Canvas.Top="52.5" Width="231" Height="1.5" Fill="#E5E5E5"/>
- </Canvas>
- </StackPanel>
- </Grid>
- <Image Grid.Row="2" Width="311" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkBottomBackground.png"/>
- </Grid>
-
- <!--<StackPanel Canvas.Left="520" Canvas.Top="715" Orientation="Horizontal">
- <TextBlock VerticalAlignment="Center" Name="_quick_TextBlock" Canvas.Left="520" Canvas.Top="715" Text="{DynamicResource 0164}" FontWeight="Medium" Foreground="#707070" FontSize="24"/>
- <StackPanel x:Name="_quick_StackPanel" VerticalAlignment="Center" Margin="0 0 0 0" Orientation="Horizontal" Canvas.Left="631" Canvas.Top="713" Height="40"/>
- </StackPanel>-->
- <StackPanel x:Name="_quick_StackPanel" Orientation="Horizontal" Canvas.Left="490" Canvas.Top="713" Height="40"/>
- <!--<TextBlock Name="_quick_TextBlock" Canvas.Left="520" Canvas.Top="715" Text="{DynamicResource 0164}" FontWeight="Medium" Foreground="#707070" FontSize="24"/>
- <StackPanel x:Name="_quick_StackPanel" Orientation="Horizontal" Canvas.Left="631" Canvas.Top="713" Height="40"/>-->
- <userControl:ProgressbarUserControl x:Name="te" Canvas.Left="465" Canvas.Top="769" IsUpdata="{Binding IsUpdata}" VideoAllTime="{Binding VideoAllTime}" VideoCurrentTime="{Binding VideoCurrentTime,Mode=TwoWay}" AfterInteractionEvent="ProgressbarUserControl_AfterInteractionEvent" BeforeInteractionEvent="ProgressbarUserControl_BeforeInteractionEvent" LengthDevelopmentEvent="ProgressbarUserControl_LengthDevelopmentEvent" ProChangendEvent="ProgressbarUserControl_ProChangendEvent"/>
- <customControl:ButtonImage x:Name="_bigFocal_Button" Canvas.Left="1350" Canvas.Top="784" Width="100" Height="100" Click="BigFocus_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailBigFocusIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailBigFocusMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailBigFocusEnableIcon.png"/>
- <StackPanel Canvas.Left="1450" Canvas.Top="784" Width="60" Height="100">
- <TextBlock Margin="0 18 0 0" Height="37.5" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" FontSize="26" Foreground="#4D4D4D" Text="{Binding CurrentFocal}"/>
- <TextBlock Height="23" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" FontSize="16" Foreground="#707070" Text="focal"/>
- </StackPanel>
- <customControl:ButtonImage x:Name="_smallFocal_Button" Canvas.Left="1510" Canvas.Top="784" Width="100" Height="100" Click="SmallFocus_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSmallFocusIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSmallFocusMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSmallFocusEnableIcon.png"/>
- <customControl:ButtonImage IsEnabled="False" x:Name="_lastButton" Canvas.Left="770" Canvas.Top="895" Width="100" Height="100" Click="PreviousFrame_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailLastZhenButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailLastZhenButtonMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailLastZhenButtonEnabledIcon.png"/>
- <customControl:ButtonImage IsEnabled="False" x:Name="_playButton" Canvas.Left="860" Canvas.Top="890" Width="110" Height="110" Click="Video_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailStartVideoButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailStartVideoButtonMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailStartVideoButtonEnabledIcon.png"/>
- <customControl:ButtonImage IsEnabled="False" x:Name="_nextButton" Canvas.Left="960" Canvas.Top="895" Width="100" Height="100" Click="NextFrame_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailNextZhenButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailNextZhenButtonMouseIcon.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailNextZhenButtonEnabledIcon.png"/>
- <Border x:Name="_fps_Border" Canvas.Left="347" Canvas.Top="784" Width="133" Height="106" MouseUp="Fps_MouseUp">
- <Border.Style>
- <Style TargetType="{x:Type Border}">
- <Style.Triggers>
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFpsBackgroundMouseIcon.png"/>
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsMouseOver" Value="False">
- <Setter Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFpsBackgroundIcon.png"/>
- </Setter.Value>
- </Setter>
- </Trigger>
- </Style.Triggers>
- </Style>
- </Border.Style>
- <TextBlock FontWeight="Medium" FontSize="32" Foreground="White" Text="{Binding SelectedFps.Value}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Popup x:Name="_fps_Popup" HorizontalOffset="-5" VerticalOffset="15" PlacementTarget="{Binding ElementName=_fps_Border}" Placement="Top" AllowsTransparency="True" PopupAnimation="None" StaysOpen="False" Width="123" Height="296">
- <Canvas Width="123" Height="296" >
- <Canvas.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/FpsBackgroundIcon.png"/>
- </Canvas.Background>
- <ListBox SelectionChanged="ListBox_SelectionChanged" ItemsSource="{Binding FpsItemList}" SelectedItem="{Binding SelectedFps, Mode=TwoWay}" DisplayMemberPath="Value" ItemContainerStyle="{StaticResource ListBoxItemContainerStyleP}" Canvas.Top="10" Width="123" Height="276" BorderThickness="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Background="Transparent" ScrollViewer.VerticalScrollBarVisibility="Hidden" ScrollViewer.HorizontalScrollBarVisibility="Disabled"/>
- </Canvas>
- </Popup>
- <StackPanel Canvas.Left="1702" Canvas.Top="93">
- <customControl:ButtonBottomImage Canvas.Left="1702" Canvas.Top="93" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="Export_Click" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailExportIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailExportMouseIcon.png" Content="{DynamicResource 0062}" Width="96"/>
- <customControl:ButtonBottomImage TextWrapp="Wrap" Margin="0 12 0 0" Canvas.Left="1702" Canvas.Top="214" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="EmbryoPicClick" Content="{DynamicResource 0161}" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSeePicIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSeePicMouseIcon.png" Width="96"/>
- <customControl:ButtonBottomImage TextWrapp="Wrap" Margin="0 12 0 0" Canvas.Left="1702" Canvas.Top="335" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="ButtonBottomImage_Click" Content="{DynamicResource 0162}" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetatilMarkDetailIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetatilMarkDetailMouseIcon.png" Width="96"/>
- <customControl:ButtonBottomImage TextWrapp="Wrap" Margin="0 12 0 0" Canvas.Left="1702" Canvas.Top="456" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="Auto_Click" Content="{DynamicResource 0250}" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/AutoFocusButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/AutoFocusMouseOverButtonIcon.png" Width="96"/>
- </StackPanel>
- <!--<customControl:ButtonBottomImage Canvas.Left="1702" Canvas.Top="93" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="Export_Click" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailExportIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailExportMouseIcon.png" Content="{DynamicResource 0062}" Width="96"/>
- <customControl:ButtonBottomImage Canvas.Left="1702" Canvas.Top="214" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="EmbryoPicClick" Content="{DynamicResource 0161}" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSeePicIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailSeePicMouseIcon.png" Width="96"/>
- <customControl:ButtonBottomImage Canvas.Left="1702" Canvas.Top="335" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="ButtonBottomImage_Click" Content="{DynamicResource 0162}" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetatilMarkDetailIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetatilMarkDetailMouseIcon.png" Width="96"/>
- <customControl:ButtonBottomImage Canvas.Left="1702" Canvas.Top="456" IconWidth="80" IconHeight="82" IconMargin="0 -8 0 0" Click="Auto_Click" Content="{DynamicResource 0250}" FontWeight="Medium" FontSize="24" Foreground="#707070" MouseOverForeground="#4D4D4D" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/AutoFocusButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/AutoFocusMouseOverButtonIcon.png" Width="96"/>-->
- <!--<Button Canvas.Left="1600" Canvas.Top="535" Content="下载当前视频" FontSize="34" Click="Button_Click_1" Visibility="Visible"/>-->
- </Canvas>
- </UserControl>
|