DetailPicView.xaml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <UserControl x:Class="ivf_tl_Manage.Views.DetailPicView"
  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. FontFamily="{StaticResource sourceHan}">
  12. <Canvas Width="1830" Height="1015" x:Name="Canvas_Root">
  13. <!--<StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" Visibility="{Binding IsDishRecord,Converter={StaticResource BoolToVisibilityConvert}}">
  14. <Button Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0001}" BorderThickness="0" Background="Transparent" Click="Button_Click"/>
  15. <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  16. <Button Margin="8 0 0 0" Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0149}" BorderThickness="0" Background="Transparent" Click="Parien_Click"/>
  17. <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  18. <Button Margin="8 0 0 0" Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{Binding Title}" BorderThickness="0" Background="Transparent" Click="Detail_Click"/>
  19. <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  20. <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" Text="{DynamicResource 0161}"/>
  21. </StackPanel>
  22. <StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" Visibility="{Binding IsDishRecord,Converter={StaticResource BooleanToVisibilityConverter}}">
  23. <Button Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{DynamicResource 0002}" BorderThickness="0" Background="Transparent" Click="RecordParien_Click"/>
  24. <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  25. <Button Margin="8 0 0 0" Style="{StaticResource ButtonStyle1}" FontWeight="Bold" FontSize="28" Content="{Binding Title}" BorderThickness="0" Background="Transparent" Click="RecordDetail_Click"/>
  26. <TextBlock VerticalAlignment="Center" Margin="8 0 0 0" FontWeight="Bold" Foreground="#9B9B9B" FontSize="28" Text=">"/>
  27. <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" Text="{DynamicResource 0161}"/>
  28. </StackPanel>-->
  29. <StackPanel Canvas.Left="40" Canvas.Top="37" Orientation="Horizontal" x:Name="_nav_StackPanel"/>
  30. <Canvas Canvas.Top="93" Width="1830" Height="62">
  31. <!--<TextBlock Canvas.Left="40" Canvas.Top="20" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0243}"/>-->
  32. <TextBlock Canvas.Left="10" TextAlignment="Center" Width="110" TextWrapping="Wrap" Canvas.Top="20" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0243}"/>
  33. <ListBox Canvas.Left="119" Style="{StaticResource ListBoxStylePic}" SelectionChanged="ListBox_Selected" ItemsSource="{Binding CurrentDish.embryoList}" SelectedItem="{Binding CurrentEmbryo}" DisplayMemberPath="wellSn" BorderThickness="0" Padding="0" Height="62" Background="Transparent">
  34. <ListBox.ItemsPanel>
  35. <ItemsPanelTemplate>
  36. <StackPanel Orientation="Horizontal"/>
  37. </ItemsPanelTemplate>
  38. </ListBox.ItemsPanel>
  39. </ListBox>
  40. </Canvas>
  41. <!--<Canvas Canvas.Top="155" Width="1830" Height="62">
  42. <TextBlock Canvas.Left="10" Canvas.Top="15" TextAlignment="Center" TextWrapping="Wrap" Width="110" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0242}"/>
  43. <StackPanel Canvas.Left="117" Orientation="Horizontal" Height="62">
  44. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox0" Width="140" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="0-24h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1Selected.png"/>
  45. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  46. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox1" Margin="-10 0 0 0" Width="140" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="24-48h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1Selected.png"/>
  47. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  48. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox2" Margin="-10 0 0 0" Width="140" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="48-72h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1Selected.png"/>
  49. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  50. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox3" Margin="-10 0 0 0" Width="140" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="72-96h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1Selected.png"/>
  51. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  52. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox4" Margin="-10 0 0 0" Width="140" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="96-120h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1Selected.png"/>
  53. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  54. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox5" Margin="-10 0 0 0" Width="140" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="120-144h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime1Selected.png"/>
  55. <TextBlock Margin="20 0 0 0" VerticalAlignment="Center" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0241}"/>
  56. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox6" Width="119" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="18-20h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  57. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  58. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox7" Margin="-10 0 0 0" Width="119" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="25-26h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  59. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  60. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox8" Margin="-10 0 0 0" Width="119" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="42-44h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  61. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  62. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox9" Margin="-10 0 0 0" Width="119" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="62-68h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  63. <TextBlock Margin="20 0 0 0" TextWrapping="Wrap" TextAlignment="Center" MaxWidth="100" VerticalAlignment="Center" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0240}"/>
  64. <customControl:ButtonImage x:Name="_bigFocal_Button" Width="88" Height="62" Click="BigFocus_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBigFocal.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBigFocalEnabled.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBigFocalMouseOver.png"/>
  65. <Grid Width="36" Height="62">
  66. <Grid.RowDefinitions>
  67. <RowDefinition/>
  68. <RowDefinition/>
  69. </Grid.RowDefinitions>
  70. <TextBlock Text="{Binding CurrentFocal}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="18" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
  71. <TextBlock Grid.Row="1" Text="focal" FontWeight="Medium" Foreground="#707070" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  72. </Grid>
  73. <customControl:ButtonImage x:Name="_smallFocal_Button" Width="88" Height="62" Click="SmallFocus_Click" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSamallFocalMouseOver.png" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSamallFocal.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSamallFocalEnabled.png"/>
  74. </StackPanel>
  75. </Canvas>-->
  76. <Canvas Canvas.Top="155" Width="1830" Height="62">
  77. <TextBlock Canvas.Left="45" Canvas.Top="15" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0403}"/>
  78. <StackPanel Canvas.Left="80" Orientation="Horizontal" Height="62">
  79. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="0-24h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  80. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  81. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox1" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="24-48h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  82. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  83. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox2" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="48-72h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  84. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  85. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox3" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="72-96h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  86. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  87. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox4" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="96-120h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  88. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  89. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox5" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="120-144h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  90. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  91. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox5_1" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="120-144h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  92. <TextBlock Margin="10 0 0 0" VerticalAlignment="Center" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="{DynamicResource 0548}"/>
  93. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox6" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="18-20h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  94. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  95. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox7" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="25-26h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  96. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  97. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox8" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="42-44h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  98. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  99. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox9" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="62-68h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  100. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  101. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox9_1" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="62-68h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  102. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  103. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox9_2" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="62-68h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  104. <Rectangle Margin="-10 0 0 0" Height="2" Width="10" Fill="#C9C9C9"/>
  105. <customControl:CheckBoxNoFrameCustom x:Name="_photoBox9_3" Margin="-10 0 0 0" Width="113" Height="62" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Content="62-68h" FontSize="18" Foreground="#4D4D4D" FontWeight="Medium" Checked="CheckBoxNoFrameCustom_Checked" Unchecked="CheckBoxNoFrameCustom_Unchecked" NoCheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2NoSelected.png" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTime2Selected.png"/>
  106. <!--<TextBlock Margin="20 0 0 0" VerticalAlignment="Center" FontWeight="Medium" Foreground="#707070" FontSize="18" Text="切换焦平面"/>-->
  107. <customControl:ButtonImage Margin="10 0 0 0" x:Name="_bigFocal_Button" Width="88" Height="62" Click="BigFocus_Click" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBigFocal.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBigFocalEnabled.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBigFocalMouseOver.png"/>
  108. <Grid Width="36" Height="62">
  109. <Grid.RowDefinitions>
  110. <RowDefinition/>
  111. <RowDefinition/>
  112. </Grid.RowDefinitions>
  113. <TextBlock Text="{Binding CurrentFocal}" FontWeight="Medium" Foreground="#4D4D4D" FontSize="18" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
  114. <TextBlock Grid.Row="1" Text="focal" FontWeight="Medium" Foreground="#707070" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  115. </Grid>
  116. <customControl:ButtonImage x:Name="_smallFocal_Button" Width="88" Height="62" Click="SmallFocus_Click" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSamallFocalMouseOver.png" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSamallFocal.png" EnabledIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSamallFocalEnabled.png"/>
  117. </StackPanel>
  118. </Canvas>
  119. <StackPanel x:Name="_stack" Canvas.Left="20" Canvas.Top="217" Width="1432" Height="96" Orientation="Horizontal">
  120. <StackPanel.Background>
  121. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicSearchBackground.png"/>
  122. </StackPanel.Background>
  123. <Border Margin="27 0 0 0" Visibility="Visible" MinWidth="82" Height="42" Background="#E8E8E8" CornerRadius="10">
  124. <TextBlock Margin="15 0 15 0" HorizontalAlignment="Center" VerticalAlignment="Center" Text="{Binding CurrentEmbryo.wellSn,StringFormat=Well{0}}" FontWeight="Medium" Foreground="#4D75AC" FontSize="18"/>
  125. </Border>
  126. <Border Margin="7 0 0 0" Visibility="Visible" MinWidth="84" Height="42" Background="#E8E8E8" CornerRadius="10">
  127. <TextBlock Margin="15 0 15 0" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" Foreground="#4D75AC" FontSize="18">
  128. <Run Text="{DynamicResource 0539}"/><Run Text="{Binding CurrentFocal,StringFormat=' {0}'}"/>
  129. </TextBlock>
  130. <!--Text="{Binding CurrentFocal,StringFormat=第{0}层}"-->
  131. </Border>
  132. </StackPanel>
  133. <customControl:ButtonCornerRadius Canvas.Left="1442" Canvas.Top="217" Width="194" Height="96" MarginMask="20" Click="ImageSource_Click">
  134. <customControl:ButtonCornerRadius.Background>
  135. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicImageSourceIcon1.png"/>
  136. </customControl:ButtonCornerRadius.Background>
  137. <customControl:ButtonCornerRadius.Content>
  138. <StackPanel Orientation="Horizontal">
  139. <Image Width="34" Height="36" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicImageSourceIcon2.png"/>
  140. <TextBlock Margin="5 0 0 0" VerticalAlignment="Center" TextAlignment="Center" Text="{DynamicResource 0208}" FontSize="16" Foreground="White" FontWeight="Medium"/>
  141. </StackPanel>
  142. </customControl:ButtonCornerRadius.Content>
  143. </customControl:ButtonCornerRadius>
  144. <customControl:ButtonCornerRadius Canvas.Left="1616" Canvas.Top="217" Width="194" Height="96" MarginMask="20" Click="ImageExport_Click">
  145. <customControl:ButtonCornerRadius.Background>
  146. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicImageSourceIcon1.png"/>
  147. </customControl:ButtonCornerRadius.Background>
  148. <customControl:ButtonCornerRadius.Content>
  149. <StackPanel Orientation="Horizontal">
  150. <Image Width="34" Height="36" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicImageEcportIcon1.png"/>
  151. <TextBlock Margin="5 0 0 0" VerticalAlignment="Center" TextAlignment="Center" Text="{DynamicResource 0212}" FontSize="16" Foreground="White" FontWeight="Medium"/>
  152. </StackPanel>
  153. </customControl:ButtonCornerRadius.Content>
  154. </customControl:ButtonCornerRadius>
  155. <Canvas Canvas.Left="20" Canvas.Top="293" Width="1790" Height="85">
  156. <Canvas.Background>
  157. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicTopBackground.png"/>
  158. </Canvas.Background>
  159. <StackPanel Canvas.Left="35" Canvas.Top="35" Orientation="Horizontal">
  160. <customControl:CheckBoxContent x:Name="_allCheck" Checked="CheckBoxContent_Checked" Unchecked="CheckBoxContent_Unchecked" TextCntent="{DynamicResource 0207}" Height="50" CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CheckRadioButtonIcon.png">
  161. <customControl:CheckBoxContent.Content>
  162. <Ellipse Margin="10" Width="30" Height="30" StrokeThickness="2" Stroke="#C6C6C6"/>
  163. </customControl:CheckBoxContent.Content>
  164. </customControl:CheckBoxContent>
  165. <TextBlock FontWeight="Medium" Foreground="#707070" FontSize="16" VerticalAlignment="Center" Visibility="{Binding ElementName=_allCheck,Path=IsChecked,Converter={StaticResource BooleanToVisibilityConverter}}">
  166. <Run Text="("/><Run Text="{DynamicResource 0054}"/><Run Text="{Binding ViewCheckBoxImageList.Count,Mode=OneWay,StringFormat='{} {0} '}"/><Run Text="{DynamicResource 0254}"/><Run Text=")"/>
  167. </TextBlock>
  168. </StackPanel>
  169. </Canvas>
  170. <ScrollViewer x:Name="_ScrollViewer" FocusVisualStyle="{x:Null}" Canvas.Left="20" Canvas.Top="378" Width="1790" Height="637" PanningMode="Both" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" ManipulationBoundaryFeedback="ScrollViewer_ManipulationBoundaryFeedback">
  171. <Grid Width="1790" >
  172. <Grid.RowDefinitions>
  173. <RowDefinition />
  174. <RowDefinition Height="auto"/>
  175. </Grid.RowDefinitions>
  176. <WrapPanel x:Name="_root_Canvas" Width="1790" Grid.Row="0" FocusVisualStyle="{x:Null}">
  177. <WrapPanel.Background>
  178. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicCenterBackground.png"/>
  179. </WrapPanel.Background>
  180. <!--<customControl:CheckBoxImage Margin="40 0 0 0"/>-->
  181. <!--<Rectangle Width="270" Height="302" Fill="Red" Margin="40 0 0 0"/>
  182. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 0 0 0"/>
  183. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 0 0 0"/>
  184. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 0 0 0"/>
  185. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 0 0 0"/>
  186. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 0 0 0"/>
  187. <Rectangle Width="270" Height="302" Fill="Red" Margin="40 18 0 0"/>
  188. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  189. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  190. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  191. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  192. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>-->
  193. <!--<Rectangle Width="270" Height="302" Fill="Red" Margin="40 18 0 0"/>
  194. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  195. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  196. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  197. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  198. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  199. <Rectangle Width="270" Height="302" Fill="Red" Margin="40 18 0 0"/>
  200. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  201. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  202. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  203. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  204. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  205. <Rectangle Width="270" Height="302" Fill="Red" Margin="40 18 0 0"/>
  206. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  207. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  208. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  209. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  210. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  211. <Rectangle Width="270" Height="302" Fill="Red" Margin="40 18 0 0"/>
  212. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  213. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  214. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  215. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  216. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  217. <Rectangle Width="270" Height="302" Fill="Red" Margin="40 18 0 0"/>
  218. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  219. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  220. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  221. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>
  222. <Rectangle Width="270" Height="302" Fill="Red" Margin="18 18 0 0"/>-->
  223. </WrapPanel>
  224. <userControl:PaginationUserControl PageInfoString="{DynamicResource 0255}" PageUnit="{DynamicResource 0254}" PageChangedEvent="PaginationUserControl_PageChangedEvent" Grid.Row="1" Width="1790" Height="132" DefeatPage="{Binding CurrentPage}" PageSize="{Binding PicPageSize}" DataCount="{Binding PicDataCount}">
  225. <userControl:PaginationUserControl.Background>
  226. <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/PicBottomBackground.png"/>
  227. </userControl:PaginationUserControl.Background>
  228. </userControl:PaginationUserControl>
  229. </Grid>
  230. </ScrollViewer>
  231. </Canvas>
  232. </UserControl>