DetailView.xaml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <UserControl x:Class="ivf_tl_Manage.Views.DetailView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:ivf_tl_Manage.Views"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
  8. xmlns:userControl="clr-namespace:ivf_tl_Manage.UserControls"
  9. mc:Ignorable="d"
  10. Width="1830" Height="1015"
  11. DataContextChanged="UserControl_DataContextChanged"
  12. FontFamily="{StaticResource sourceHan}">
  13. <Canvas x:Name="Canvas_Root" MouseDown="Canvas_PreviewMouseDown" Background="Transparent">
  14. <!--<StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" Visibility="{Binding IsDishRecord,Converter={StaticResource BoolToVisibilityConvert}}">
  15. <Button Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0001}" BorderThickness="0" Background="Transparent" Click="Button_Click"/>
  16. <TextBlock Margin="8 0 0 0" VerticalAlignment="Center" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">" />
  17. <Button Margin="8 0 0 0" Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0149}" BorderThickness="0" Background="Transparent" Click="Parien_Click"/>
  18. <TextBlock Margin="8 0 0 0" VerticalAlignment="Center" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  19. <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" >
  20. <Run Text="{DynamicResource 0163}"/><Run Text="{Binding CurrentHouse.houseSn}"/>
  21. </TextBlock>
  22. </StackPanel>
  23. <StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" Visibility="{Binding IsDishRecord,Converter={StaticResource BooleanToVisibilityConverter}}">
  24. <Button Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0002}" BorderThickness="0" Background="Transparent" Click="Record_Click"/>
  25. <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  26. <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" >
  27. <Run Text="{DynamicResource 0163}"/><Run Text="{Binding CurrentHouse.houseSn}"/>
  28. </TextBlock>
  29. </StackPanel>-->
  30. <StackPanel x:Name="_nav_StackPanel" Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" />
  31. <Image Canvas.Left="25" Canvas.Top="88" Width="377" Height="186" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailHouseInfo.png"/>
  32. <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}}"/>
  33. <TextBlock Canvas.Left="60" Canvas.Top="123" MaxWidth="280" FontWeight="Medium" Foreground="#4D4D4D" FontSize="22" >
  34. <Run Text="{Binding CurrentDish.DishName}"/><Run Text="{Binding CurrentDish.fertilizationType,StringFormat={} ({0})}"/>
  35. </TextBlock>
  36. <Image Canvas.Left="55" Canvas.Top="169" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishStartTimeIcon.png"/>
  37. <TextBlock MaxWidth="120" Canvas.Left="92" Canvas.Top="172" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.StartTime}"/>
  38. <Image Canvas.Left="55" Canvas.Top="209" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishStageIcon.png"/>
  39. <TextBlock MaxWidth="120" Canvas.Left="92" Canvas.Top="212" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.FaYuTime}"/>
  40. <Image Canvas.Left="240" Canvas.Top="169" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HouseTemperatureIcon.png"/>
  41. <TextBlock MaxWidth="120" Canvas.Left="278" Canvas.Top="172" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.temperature,StringFormat={}{0:F2}℃}"/>
  42. <Image Canvas.Left="240" Canvas.Top="209" Width="35" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/HousePressureIcon.png"/>
  43. <TextBlock MaxWidth="120" Canvas.Left="277" Canvas.Top="212" FontWeight="Medium" FontSize="20" Foreground="#4D4D4D" Text="{Binding CurrentHouse.pressure,StringFormat={}{0:F0}mbar}"/>
  44. <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}"/>
  45. <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}"/>
  46. <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}"/>
  47. <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}"/>
  48. <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" />
  49. <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"/>
  50. <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"/>
  51. <Canvas x:Name="_canvas" Canvas.Left="560" Canvas.Top="23" Width="710" Height="710">
  52. <Canvas.Background>
  53. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DishDetailBackground.png"/>
  54. </Canvas.Background>
  55. <Ellipse Panel.ZIndex="1" Canvas.Left="190" Canvas.Top="190" x:Name="_mask" Fill="#4d75ac" Width="330" Height="330"/>
  56. <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">
  57. <Image.RenderTransform>
  58. <RotateTransform/>
  59. </Image.RenderTransform>
  60. </Image>
  61. <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"/>
  62. <Canvas x:Name="Canvas_Load" Panel.ZIndex="7" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330" >
  63. <Image x:Name="Image_Load" Width="330" Height="330" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/VideoLoadIcon.png"/>
  64. <TextBlock x:Name="TextBlock_Load" Canvas.Top="203" TextAlignment="Center" Width="330" FontWeight="Medium" FontSize="20" Foreground="#7D7D7D" Text="{DynamicResource 0497}"/>
  65. </Canvas>
  66. <MediaElement Panel.ZIndex="8" x:Name="mediaElementPlayer" LoadedBehavior="Manual" UnloadedBehavior="Close" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330" ScrubbingEnabled="True">
  67. <MediaElement.OpacityMask>
  68. <VisualBrush Visual="{Binding ElementName=_mask}"/>
  69. </MediaElement.OpacityMask>
  70. </MediaElement>
  71. <!--<Image Panel.ZIndex="9" x:Name="_preview" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330" >
  72. <Image.OpacityMask>
  73. <VisualBrush Visual="{Binding ElementName=_mask}"/>
  74. </Image.OpacityMask>
  75. </Image>-->
  76. <Canvas x:Name="Canvas_preview" Panel.ZIndex="9" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330">
  77. <Image x:Name="_preview" Width="330" Height="330" >
  78. <Image.OpacityMask>
  79. <VisualBrush Visual="{Binding ElementName=_mask}"/>
  80. </Image.OpacityMask>
  81. </Image>
  82. <!--361 38-->
  83. <TextBlock x:Name="TextBlock_preview" Canvas.Top="198" TextAlignment="Center" Width="330" FontWeight="Medium" FontSize="20" Foreground="#7D7D7D" Text=""/>
  84. </Canvas>
  85. <Canvas Background="Transparent" MouseDown="PreviewMouseDownEvent" x:Name="canvas1" Panel.ZIndex="10" Canvas.Left="190" Canvas.Top="190" Width="330" Height="330">
  86. <Canvas.OpacityMask>
  87. <VisualBrush Visual="{Binding ElementName=_mask}"/>
  88. </Canvas.OpacityMask>
  89. <Border x:Name="_ceLiang_Border" Visibility="Hidden" Background="#80000000" CornerRadius="6" Width="93" Height="36">
  90. <TextBlock x:Name="b1" Text="" MaxWidth="90" TextAlignment="Center" FontSize="22" Foreground="#FFB000" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  91. </Border>
  92. </Canvas>
  93. </Canvas>
  94. <Canvas Visibility="Collapsed" x:Name="_videoCanvas" Canvas.Left="465" Canvas.Top="769" Width="900" Height="136">
  95. <Canvas.Background>
  96. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailVideoSliderBackgroundIcon.png"/>
  97. </Canvas.Background>
  98. <Border Canvas.Left="353" Canvas.Top="-6" CornerRadius="6" Background="#7F9DC8" Width="97" Height="36"></Border>
  99. </Canvas>
  100. <customControl:ButtonImage Visibility="Hidden" x:Name="lastEmbryoButton" Canvas.Left="493" Canvas.Top="331" Width="94" Height="94"
  101. Click="LastEmbryo_Click"
  102. IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/LastEmbryoUsable.png"
  103. MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/LastEmbryoUsable.png"
  104. EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/LastEmbryoDiscard.png"/>
  105. <customControl:ButtonImage Visibility="Hidden" x:Name="nextEmbryoButton" Canvas.Left="1243" Canvas.Top="331" Width="94" Height="94"
  106. Click="NextEmbryo_Click"
  107. IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NextEmbryoUsable.png"
  108. MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NextEmbryoUsable.png"
  109. EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NextEmbryoDiscard.png"/>
  110. <!--<Rectangle Canvas.Left="493" Canvas.Top="331" Width="94" Height="94" Fill="Red"/>-->
  111. <!--<Rectangle Canvas.Left="1243" Canvas.Top="331" Width="94" Height="94" Fill="Red"/>-->
  112. <Grid x:Name="meaUI1" Visibility="Hidden" Canvas.Left="1356" Canvas.Top="93" Width="311" MaxHeight="610">
  113. <Grid.RowDefinitions>
  114. <RowDefinition Height="40"/>
  115. <RowDefinition Height="*"/>
  116. <RowDefinition Height="35"/>
  117. </Grid.RowDefinitions>
  118. <Image Grid.Row="0" Width="311" Height="40" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkTopBackground.png"/>
  119. <Grid Grid.Row="1">
  120. <Grid.Background>
  121. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkCenterBackground.png"/>
  122. </Grid.Background>
  123. <Grid.RowDefinitions>
  124. <RowDefinition Height="36"/>
  125. <RowDefinition/>
  126. </Grid.RowDefinitions>
  127. <Canvas Height="36" >
  128. <TextBlock Canvas.Left="50" Margin="0 5 0 0 " Text="次数" FontWeight="Medium" FontSize="15"/>
  129. <TextBlock Canvas.Left="143" Margin="0 5 0 0 " FontWeight="Medium" FontSize="15">
  130. <Run Text="测量值"/><Run Text="/μm"/>
  131. </TextBlock>
  132. <Rectangle Canvas.Left="40" Canvas.Top="34" Width="231" Height="2" Fill="#4D75AC" RadiusX="1" RadiusY="1"/>
  133. </Canvas>
  134. <StackPanel Grid.Row="1" Width="268" Margin="0 10 0 0" >
  135. <ListBox x:Name="meaListBox" BorderThickness="0" Background="Transparent"
  136. ItemsSource="{Binding MeasurementList}"
  137. ManipulationBoundaryFeedback="ListBox_ManipulationBoundaryFeedback"
  138. ScrollViewer.PanningMode="Both"
  139. ScrollViewer.VerticalScrollBarVisibility="Hidden"
  140. ScrollViewer.HorizontalScrollBarVisibility="Disabled"
  141. ScrollViewer.CanContentScroll="False">
  142. <ListBox.ItemContainerStyle>
  143. <Style TargetType="{x:Type ListBoxItem}">
  144. <Setter Property="FontWeight" Value="Medium"/>
  145. <Setter Property="FontSize" Value="15"/>
  146. <Setter Property="Foreground" Value="#4D4D4D"/>
  147. <Setter Property="SnapsToDevicePixels" Value="True"/>
  148. <Setter Property="Padding" Value="0"/>
  149. <Setter Property="Background" Value="Transparent"/>
  150. <Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
  151. <Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
  152. <Setter Property="BorderBrush" Value="Transparent"/>
  153. <Setter Property="BorderThickness" Value="0"/>
  154. <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
  155. <Setter Property="Template">
  156. <Setter.Value>
  157. <ControlTemplate TargetType="{x:Type ListBoxItem}">
  158. <Canvas Tag="{Binding}" Width="268" Height="54" Background="{TemplateBinding Background}">
  159. <Border Width="104" Height="52.5">
  160. <TextBlock Text="{Binding Num}" FontWeight="Medium" Foreground="{TemplateBinding Foreground}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  161. </Border>
  162. <Border Canvas.Left="130" Height="52.5" >
  163. <!--{Binding minTime,StringFormat={}{0}h}-->
  164. <TextBlock Text="{Binding MeasurementString}" FontWeight="Medium" Foreground="{TemplateBinding Foreground}" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  165. </Border>
  166. <Rectangle Canvas.Left="18" Canvas.Top="52.5" Width="231" Height="1.5" Fill="#E5E5E5"/>
  167. </Canvas>
  168. </ControlTemplate>
  169. </Setter.Value>
  170. </Setter>
  171. <Style.Triggers>
  172. <Trigger Property="IsSelected" Value="True">
  173. <Setter Property="Foreground" Value="#4D75AC"/>
  174. <Setter Property="Background" Value="#E5E9EF"/>
  175. </Trigger>
  176. <Trigger Property="IsMouseOver" Value="True">
  177. <Setter Property="Foreground" Value="#4D75AC"/>
  178. </Trigger>
  179. </Style.Triggers>
  180. </Style>
  181. </ListBox.ItemContainerStyle>
  182. </ListBox>
  183. <Canvas Width="268" Height="54" >
  184. <Border Width="104" Height="52.5">
  185. <TextBlock Text="平均值" FontWeight="Medium" Foreground="#4D4D4D" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  186. </Border>
  187. <Border Canvas.Left="130" Height="52.5" >
  188. <TextBlock x:Name="averageValueText" TextAlignment="Right" Text="" FontWeight="Medium" Foreground="#4D4D4D" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  189. </Border>
  190. <Rectangle Canvas.Left="18" Canvas.Top="52.5" Width="231" Height="1.5" Fill="#E5E5E5"/>
  191. </Canvas>
  192. <Canvas Width="268" Height="54" >
  193. <customControl:ButtonCornerRadius Canvas.Left="20" Canvas.Top="8" x:Name="meaUI2" Width="92" Height="36" Content="清除" FontSize="15" Click="ClearMea_Click"/>
  194. <customControl:ButtonCornerRadius Canvas.Left="150" Canvas.Top="8" x:Name="meaUI3" Width="92" Height="36" Content="确定" FontSize="15" Click="AverageValue_Click"/>
  195. <Rectangle Canvas.Left="18" Canvas.Top="52.5" Width="231" Height="1.5" Fill="#E5E5E5"/>
  196. </Canvas>
  197. </StackPanel>
  198. </Grid>
  199. <Image Grid.Row="2" Width="311" Height="35" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkBottomBackground.png"/>
  200. </Grid>
  201. <!--<StackPanel Canvas.Left="520" Canvas.Top="715" Orientation="Horizontal">
  202. <TextBlock VerticalAlignment="Center" Name="_quick_TextBlock" Canvas.Left="520" Canvas.Top="715" Text="{DynamicResource 0164}" FontWeight="Medium" Foreground="#707070" FontSize="24"/>
  203. <StackPanel x:Name="_quick_StackPanel" VerticalAlignment="Center" Margin="0 0 0 0" Orientation="Horizontal" Canvas.Left="631" Canvas.Top="713" Height="40"/>
  204. </StackPanel>-->
  205. <StackPanel x:Name="_quick_StackPanel" Orientation="Horizontal" Canvas.Left="490" Canvas.Top="713" Height="40"/>
  206. <!--<TextBlock Name="_quick_TextBlock" Canvas.Left="520" Canvas.Top="715" Text="{DynamicResource 0164}" FontWeight="Medium" Foreground="#707070" FontSize="24"/>
  207. <StackPanel x:Name="_quick_StackPanel" Orientation="Horizontal" Canvas.Left="631" Canvas.Top="713" Height="40"/>-->
  208. <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"/>
  209. <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"/>
  210. <StackPanel Canvas.Left="1450" Canvas.Top="784" Width="60" Height="100">
  211. <TextBlock Margin="0 18 0 0" Height="37.5" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" FontSize="26" Foreground="#4D4D4D" Text="{Binding CurrentFocal}"/>
  212. <TextBlock Height="23" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" FontSize="16" Foreground="#707070" Text="focal"/>
  213. </StackPanel>
  214. <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"/>
  215. <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"/>
  216. <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"/>
  217. <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"/>
  218. <Border x:Name="_fps_Border" Canvas.Left="347" Canvas.Top="784" Width="133" Height="106" MouseUp="Fps_MouseUp">
  219. <Border.Style>
  220. <Style TargetType="{x:Type Border}">
  221. <Style.Triggers>
  222. <Trigger Property="IsMouseOver" Value="True">
  223. <Setter Property="Background">
  224. <Setter.Value>
  225. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFpsBackgroundMouseIcon.png"/>
  226. </Setter.Value>
  227. </Setter>
  228. </Trigger>
  229. <Trigger Property="IsMouseOver" Value="False">
  230. <Setter Property="Background">
  231. <Setter.Value>
  232. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/DetailFpsBackgroundIcon.png"/>
  233. </Setter.Value>
  234. </Setter>
  235. </Trigger>
  236. </Style.Triggers>
  237. </Style>
  238. </Border.Style>
  239. <TextBlock FontWeight="Medium" FontSize="32" Foreground="White" Text="{Binding SelectedFps.Value}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  240. </Border>
  241. <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">
  242. <Canvas Width="123" Height="296" >
  243. <Canvas.Background>
  244. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/FpsBackgroundIcon.png"/>
  245. </Canvas.Background>
  246. <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"/>
  247. </Canvas>
  248. </Popup>
  249. <StackPanel Canvas.Left="1702" Canvas.Top="93">
  250. <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"/>
  251. <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"/>
  252. <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"/>
  253. <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"/>
  254. </StackPanel>
  255. <!--<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"/>
  256. <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"/>
  257. <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"/>
  258. <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"/>-->
  259. <!--<Button Canvas.Left="1600" Canvas.Top="535" Content="下载当前视频" FontSize="34" Click="Button_Click_1" Visibility="Visible"/>-->
  260. </Canvas>
  261. </UserControl>