DetailPageView.xaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. <UserControl x:Class="ivf_tl_Operate.View.DetailPageView"
  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_Operate.View"
  7. xmlns:customUserControl="clr-namespace:ivf_tl_Operate.CustomUserControls"
  8. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
  9. mc:Ignorable="d"
  10. d:DesignHeight="2736" d:DesignWidth="1824">
  11. <Grid x:Name="Grid_Root">
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="250"/>
  14. <RowDefinition Height="2162"/>
  15. <RowDefinition Height="324"/>
  16. </Grid.RowDefinitions>
  17. <Grid x:Name="_mask1" Grid.Row="0" Grid.RowSpan="5" Panel.ZIndex="4" Opacity="0.8" Background="Black" Visibility="Hidden"/>
  18. <Grid Grid.Row="0" Background="{StaticResource BannerTopFill}">
  19. <Grid.ColumnDefinitions>
  20. <ColumnDefinition Width="350"/>
  21. <ColumnDefinition Width="1"/>
  22. <ColumnDefinition Width="1"/>
  23. <ColumnDefinition Width="430"/>
  24. <ColumnDefinition Width="1"/>
  25. <ColumnDefinition Width="1"/>
  26. <ColumnDefinition/>
  27. <ColumnDefinition Width="1"/>
  28. <ColumnDefinition Width="1"/>
  29. <ColumnDefinition Width="414"/>
  30. </Grid.ColumnDefinitions>
  31. <!--竖线条-->
  32. <Border Grid.Column="1" Background="#FFFFFF"/>
  33. <Border Grid.Column="2" Background="#DFE0E4"/>
  34. <Border Grid.Column="4" Background="#FFFFFF"/>
  35. <Border Grid.Column="5" Background="#DFE0E4"/>
  36. <Border Grid.Column="7" Background="#FFFFFF"/>
  37. <Border Grid.Column="8" Background="#DFE0E4"/>
  38. <customControl:ButtonLeftImage Grid.Column="0" Content="{DynamicResource C0044}" Click="Return_Click" Width="350" Height="250" IconWidth="46" IconHeight="46" FontSize="44" FontWeight="Medium" Foreground="#4D75AC" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/button_return.png" IconMargin="0 0 10 0"/>
  39. <TextBlock Grid.Column="3" FontSize="50" FontWeight="Medium" Foreground="#6E7276" HorizontalAlignment="Center" VerticalAlignment="Center" >
  40. <Run Text="{Binding ExHouse.houseSn}"/><Run Text="{DynamicResource C0056}"/>
  41. </TextBlock>
  42. <Grid Grid.Column="6" Margin="30 0 0 0" Background="Transparent" MouseDown="Grid_MouseDown">
  43. <!--PreviewMouseUp="Grid_PreviewMouseUp"-->
  44. <Grid.ColumnDefinitions>
  45. <ColumnDefinition Width="auto"/>
  46. <ColumnDefinition/>
  47. </Grid.ColumnDefinitions>
  48. <Grid.RowDefinitions>
  49. <RowDefinition/>
  50. <RowDefinition/>
  51. <RowDefinition/>
  52. <RowDefinition/>
  53. </Grid.RowDefinitions>
  54. <TextBlock x:Name="isetest" Grid.Column="0" Grid.Row="0" FontSize="36" FontWeight="Medium" Foreground="#6E7276" HorizontalAlignment="Right" VerticalAlignment="Center" >
  55. <Run Text="{DynamicResource C0132}"/><Run Text=":"/>
  56. </TextBlock>
  57. <TextBlock Grid.Column="1" Grid.Row="0" FontSize="36" FontWeight="Medium" Foreground="#6E7276" HorizontalAlignment="Left" VerticalAlignment="Center" >
  58. <Run Text="{Binding ExDish.wife}"/><Run Text="/"/><Run Text="{Binding ExDish.husband}"/>
  59. </TextBlock>
  60. <TextBlock Grid.Column="0" Grid.Row="1" FontSize="36" FontWeight="Medium" Foreground="#6E7276" HorizontalAlignment="Right" VerticalAlignment="Center" >
  61. <Run Text="{DynamicResource C0133}"/><Run Text=":"/>
  62. </TextBlock>
  63. <TextBlock Grid.Column="1" Grid.Row="1" FontSize="36" FontWeight="Medium" Foreground="#6E7276" Text="{Binding ExDish.caseId}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  64. <TextBlock Grid.Column="0" Grid.Row="2" FontSize="36" FontWeight="Medium" Foreground="#6E7276" HorizontalAlignment="Right" VerticalAlignment="Center" >
  65. <Run Text="{DynamicResource C0027}"/><Run Text=":"/>
  66. </TextBlock>
  67. <TextBlock Grid.Column="1" Grid.Row="2" FontSize="36" FontWeight="Medium" Foreground="#6E7276" Text="{Binding ExDish.fertilizationType}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  68. <TextBlock Grid.Column="0" Grid.Row="3" FontSize="36" FontWeight="Medium" Foreground="#6E7276" HorizontalAlignment="Right" VerticalAlignment="Center" >
  69. <Run Text="{DynamicResource C0026}"/><Run Text=":"/>
  70. </TextBlock>
  71. <TextBlock Grid.Column="1" Grid.Row="3" FontSize="36" FontWeight="Medium" Foreground="#6E7276" Text="{Binding ExHouse.StartTime}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  72. <Image Grid.ColumnSpan="2" Grid.RowSpan="2" Margin="0 10 20 0" Height="48" Width="48" HorizontalAlignment="Right" VerticalAlignment="Top" Source="/Resources/Image/EditIcon.png" Panel.ZIndex="2"/>
  73. </Grid>
  74. <Grid Height="250" Grid.Column="9">
  75. <Grid.RowDefinitions>
  76. <RowDefinition/>
  77. <RowDefinition/>
  78. <RowDefinition/>
  79. </Grid.RowDefinitions>
  80. <Grid.ColumnDefinitions>
  81. <ColumnDefinition Width="120"/>
  82. <ColumnDefinition/>
  83. </Grid.ColumnDefinitions>
  84. <Image Grid.Row="0" Grid.Column="0" Margin="0 0 0 0" Width="39" Height="39" Source="/ivf_tl_Operate;component/Resources/Image/house_time.png" HorizontalAlignment="Right" VerticalAlignment="Center" />
  85. <TextBlock Grid.Row="0" Grid.Column="1" Margin="10 0 0 0" FontSize="36" FontWeight="Medium" Foreground="#6E7276" Text="{Binding ExHouse.FaYuTime}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  86. <Image Grid.Row="1" Grid.Column="0" Margin="0 0 0 0" Width="39" Height="39" Source="/ivf_tl_Operate;component/Resources/Image/house_temp.png" HorizontalAlignment="Right" VerticalAlignment="Center" />
  87. <TextBlock Grid.Row="1" Grid.Column="1" Margin="10 0 0 0" FontSize="36" FontWeight="Medium" Foreground="#6E7276" Text="{Binding ExHouse.TemperatureSring}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  88. <Image Grid.Row="2" Grid.Column="0" Margin="0 0 0 0" Width="39" Height="39" Source="/ivf_tl_Operate;component/Resources/Image/house_pressure.png" HorizontalAlignment="Right" VerticalAlignment="Center" />
  89. <TextBlock Grid.Row="2" Grid.Column="1" Margin="10 0 0 0" FontSize="36" FontWeight="Medium" Foreground="#6E7276" Text="{Binding ExHouse.PressureString}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  90. </Grid>
  91. </Grid>
  92. <Canvas Grid.Row="1" Width="1824" Height="2162" Background="{StaticResource BorderStageFill}">
  93. <customUserControl:CustomDishInfo x:Name="_dishInfo" Canvas.Left="120.5" Canvas.Top="90" ExDishSource="{Binding ExDish}" ChangeSelectdIndexEvent="WellChangeEvent" IsMaxChangedEvent="_dishInfo_IsMaxChangedEvent"/>
  94. <customUserControl:CustomProgressbar Canvas.Top="1708" Canvas.Left="30" IsUpdata="{Binding IsUpdata}" VideoAllTime="{Binding VideoAllTime}" VideoCurrentTime="{Binding VideoCurrentTime,Mode=TwoWay}" BeforeInteractionEvent="BeforeInteractionEvent" AfterInteractionEvent="AfterInteractionEvent" ProChangendEvent="ProChangendEvent" LengthDevelopmentEvent="CustomProgressbar_LengthDevelopmentEvent"/>
  95. <Canvas Canvas.Top="1907" Width="1824" Height="255">
  96. <Border x:Name="playButton" Canvas.Left="50" Canvas.Top="64" Width="280" Height="105" Background="{StaticResource BuleLinear}" CornerRadius="20">
  97. <Border.Effect>
  98. <DropShadowEffect BlurRadius="10" ShadowDepth="0" Opacity="0.5" />
  99. </Border.Effect>
  100. <Grid Height="105" Width="280">
  101. <Grid.ColumnDefinitions>
  102. <ColumnDefinition/>
  103. <ColumnDefinition/>
  104. <ColumnDefinition/>
  105. </Grid.ColumnDefinitions>
  106. <Grid MouseUp="Image_MouseUp_PreviousFrame" Background="Transparent">
  107. <Image x:Name="preZhenImage" Width="80" Height="72" Source="/ivf_tl_Operate;component/Resources/Image/preZhen.png" VerticalAlignment="Center"/>
  108. </Grid>
  109. <Grid MouseUp="Image_MouseUp_Play" Grid.Column="1" Background="Transparent">
  110. <Image Width="68" Height="80" x:Name="_playButton" Source="/ivf_tl_Operate;component/Resources/Image/video_play.png" VerticalAlignment="Center" />
  111. </Grid>
  112. <Grid MouseUp="Image_MouseUp_NextFrame" Grid.Column="2" Background="Transparent">
  113. <!--<Grid.RowDefinitions>
  114. <RowDefinition Height="82*"/>
  115. <RowDefinition Height="23*"/>
  116. </Grid.RowDefinitions>-->
  117. <Image x:Name="nextZhenImage" Width="80" Height="72" Source="/ivf_tl_Operate;component/Resources/Image/nextZhen.png" VerticalAlignment="Top" Margin="7,16,6,0" Grid.RowSpan="2" />
  118. </Grid>
  119. </Grid>
  120. </Border>
  121. <customControl:ButtonCornerRadius x:Name="_radius_Button" Canvas.Left="355" Canvas.Top="64" Content="1.0x" Click="SpeedRatio_Click" Background="White" BorderThickness="2" BorderBrush="#7FA6A6A6" CornerRadius="20" Width="134" Height="105" Tag="1.0" Foreground="#6E7276" FontSize="40" FontWeight="Regular"/>
  122. <customUserControl:CustomQuickButton ClickQuickPositionEvent="CustomQuickButton_ClickQuickPositionEvent" QuickButtonSource="{Binding QuickButtons}" Canvas.Left="557" Canvas.Top="64"/>
  123. <Border x:Name="_bigFocus_Border" MouseUp="Image_MouseDown_BigFocus" CornerRadius="20" Background="{StaticResource BuleLinear}" Canvas.Left="1406" Canvas.Top="64" Width="138" Height="105">
  124. <Border.Effect>
  125. <DropShadowEffect BlurRadius="10" ShadowDepth="0" Opacity="0.5" />
  126. </Border.Effect>
  127. <Image x:Name="_bigFocus_Image" Width="80" Height="68" Source="/ivf_tl_Operate;component/Resources/Image/prePicNum.png" />
  128. </Border>
  129. <Border Width="62" Canvas.Left="1559" Canvas.Top="75">
  130. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
  131. <TextBlock Text="{Binding CurrentFocal}" FontSize="30" HorizontalAlignment="Center">
  132. </TextBlock>
  133. <TextBlock Text="Focal" FontSize="25" Foreground="#6E7276"/>
  134. </StackPanel>
  135. </Border>
  136. <Border x:Name="_smallFocus_Border" MouseUp="Image_MouseDown_SmallFocus" CornerRadius="20" Background="{StaticResource BuleLinear}" Canvas.Left="1636" Canvas.Top="64" Width="138" Height="105">
  137. <Border.Effect>
  138. <DropShadowEffect BlurRadius="10" ShadowDepth="0" Opacity="0.5" />
  139. </Border.Effect>
  140. <Image x:Name="_smallFocus_Image" Width="80" Height="68" Source="/ivf_tl_Operate;component/Resources/Image/nextPicNum.png" />
  141. </Border>
  142. </Canvas>
  143. <customControl:ButtonImage x:Name="lastBu" Visibility="Hidden" Canvas.Left="12" Canvas.Top="834.5" Width="94" Height="94"
  144. Click="LastEmbryo_Click"
  145. IconSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/LastEmbryoUsable.png"
  146. MouseOverIconSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/LastEmbryoUsable.png"
  147. EnabledIconSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/LastEmbryoDiscard.png"/>
  148. <customControl:ButtonImage x:Name="nextBu" Visibility="Hidden" Canvas.Left="1718" Canvas.Top="834.5" Width="94" Height="94"
  149. Click="NextEmbryo_Click"
  150. IconSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/NextEmbryoUsable.png"
  151. MouseOverIconSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/NextEmbryoUsable.png"
  152. EnabledIconSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/NextEmbryoDiscard.png"/>
  153. </Canvas>
  154. <Grid Height="324" Grid.Row="2" Background="{StaticResource BorderMenuFill}" Visibility="Visible">
  155. <Grid.ColumnDefinitions>
  156. <ColumnDefinition />
  157. <ColumnDefinition />
  158. <ColumnDefinition />
  159. <ColumnDefinition />
  160. <ColumnDefinition />
  161. <ColumnDefinition />
  162. </Grid.ColumnDefinitions>
  163. <customControl:ButtonTopImage x:Name="Button_yz" Grid.Column="0" Content="{DynamicResource C0136}" Click="EmbryoMove_Click" Height="324" IconWidth="105" IconHeight="112" FontSize="32" FontWeight="Medium" Foreground="#0B1B31" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/menu_move.png" EnabledForeground="#FF888888" EnabledIconSource="/ivf_tl_Operate;component/Resources/Image/menu_disable.png" IconMargin="0 0 0 20"/>
  164. <customControl:ButtonTopImage x:Name="Button_ld" Grid.Column="1" Content="{DynamicResource C0135}" Click="EmbryoFree_Click" Height="324" IconWidth="105" IconHeight="112" FontSize="32" FontWeight="Medium" Foreground="#0B1B31" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/menu_freezing.png" EnabledForeground="#FF888888" EnabledIconSource="/ivf_tl_Operate;component/Resources/Image/menu_disable.png" IconMargin="0 0 0 20"/>
  165. <customControl:ButtonTopImage x:Name="Button_sc" Grid.Column="2" Content="{DynamicResource C0137}" Click="EmbryoDel_Click" Height="324" IconWidth="105" IconHeight="112" FontSize="32" FontWeight="Medium" Foreground="#0B1B31" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/menu_delete.png" EnabledForeground="#FF888888" EnabledIconSource="/ivf_tl_Operate;component/Resources/Image/menu_disable.png" IconMargin="0 0 0 20"/>
  166. <customControl:ButtonTopImage x:Name="Button_zf" Grid.Column="3" Content="{DynamicResource C0138}" Click="EmbryoInv_Click" Height="324" IconWidth="105" IconHeight="112" FontSize="32" FontWeight="Medium" Foreground="#0B1B31" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/menu_invalid.png" EnabledForeground="#FF888888" EnabledIconSource="/ivf_tl_Operate;component/Resources/Image/menu_disable.png" IconMargin="0 0 0 20"/>
  167. <customControl:ButtonTopImage x:Name="Button_js" Grid.Column="4" Content="{DynamicResource C0139}" Click="EmbryoOver_Click" Height="324" IconWidth="105" IconHeight="112" FontSize="32" FontWeight="Medium" Foreground="#0B1B31" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/menu_over.png" EnabledForeground="#FF888888" EnabledIconSource="/ivf_tl_Operate;component/Resources/Image/menu_disable.png" IconMargin="0 0 0 20"/>
  168. <customControl:ButtonTopImage Grid.Column="5" Content="{DynamicResource C0140}" Click="Pic_Click" Height="324" IconWidth="105" IconHeight="112" FontSize="32" FontWeight="Medium" Foreground="#0B1B31" BorderThickness="0" Background="Transparent" IconSource="/ivf_tl_Operate;component/Resources/Image/DetailSeePicIcon.png" IconMargin="0 0 0 20"/>
  169. </Grid>
  170. <Border x:Name="_beilvwindow_Border" Height="0" Grid.Row="2" Panel.ZIndex="5" CornerRadius="40 40 0 0" VerticalAlignment="Bottom" Width="1824" Background="{StaticResource BorderMenuFill}">
  171. <Grid Width="1824" Height="352" >
  172. <Grid.RowDefinitions>
  173. <RowDefinition Height="168"/>
  174. <RowDefinition Height="*"/>
  175. </Grid.RowDefinitions>
  176. <Grid Margin="187 64 145 0" Grid.Row="0" Width="1492" Height="84">
  177. <Rectangle HorizontalAlignment="Left" Height="4" Fill="#B0B4B9" Width="1450"/>
  178. <Rectangle x:Name="_beilv_Rectangle" HorizontalAlignment="Left" Height="4" Fill="#4D75AC" Width="725"/>
  179. <Ellipse x:Name="_beilv_Ellipse" HorizontalAlignment="Left" Height="84" Width="84" Fill="#4D75AC" Margin="683 0 0 0"/>
  180. </Grid>
  181. <!--<Grid Grid.Row="1" Margin="154 25 154 0" VerticalAlignment="Top" Height="80">
  182. <Grid.ColumnDefinitions>
  183. <ColumnDefinition/>
  184. <ColumnDefinition/>
  185. <ColumnDefinition/>
  186. <ColumnDefinition/>
  187. <ColumnDefinition/>
  188. <ColumnDefinition/>
  189. </Grid.ColumnDefinitions>
  190. <TextBlock Grid.Column="0" Tag="0" MouseUp="BeiLv_MouseUp" Text="0.5x" Foreground="#6E7276" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  191. <TextBlock Grid.Column="1" Tag="0" MouseUp="BeiLv_MouseUp" Text="0.5x" Foreground="#6E7276" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  192. </Grid>-->
  193. <StackPanel Orientation="Horizontal" Grid.Row="1" Margin="154 25 154 0" VerticalAlignment="Top" Height="80">
  194. <TextBlock Tag="0" MouseUp="BeiLv_MouseUp" Text="0.25x" Foreground="#6E7276" Margin="0 0 0 0" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  195. <TextBlock Tag="1" MouseUp="BeiLv_MouseUp" Text="0.5x" Foreground="#6E7276" Margin="162 0 0 0" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  196. <TextBlock Tag="2" MouseUp="BeiLv_MouseUp" Text="1.0x" Foreground="#6E7276" Margin=" 162 0 0 0" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  197. <TextBlock Tag="3" MouseUp="BeiLv_MouseUp" Text="1.25x" Foreground="#6E7276" Margin="162 0 0 0" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  198. <TextBlock Tag="4" MouseUp="BeiLv_MouseUp" Text="1.5x" Foreground="#6E7276" Margin="162 0 0 0" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  199. <TextBlock Tag="5" MouseUp="BeiLv_MouseUp" Text="2.0x" Foreground="#6E7276" Margin="164 0 0 0" FontSize="55" FontWeight="Medium" TextAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Height="77"/>
  200. </StackPanel>
  201. <Grid Grid.Row="0" Grid.RowSpan="2" Width="1824" Height="324" >
  202. <Border MouseUp="BeiLvClose_MouseUp" Width="54" Height="54" Margin="1740 30 30 240" Background="Transparent">
  203. <Image Width="34" Height="34" Source="/Resources/Image/blueClose.png" />
  204. </Border>
  205. </Grid>
  206. </Grid>
  207. </Border>
  208. </Grid>
  209. </UserControl>