PhotoPageView.xaml 7.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <UserControl x:Class="ivf_tl_Operate.View.PhotoPageView"
  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:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
  8. xmlns:customUserControl="clr-namespace:ivf_tl_Operate.CustomUserControls"
  9. mc:Ignorable="d"
  10. d:DesignHeight="2736" d:DesignWidth="1824" >
  11. <Grid x:Name="Grid_Root">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="250"/>
  15. <RowDefinition Height="*"/>
  16. </Grid.RowDefinitions>
  17. <!--顶部信息-->
  18. <Canvas Width="1824" Height="250" Background="{StaticResource BorderStageFill}">
  19. <customControl:ButtonLeftImage Content="返回" 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"/>
  20. <Rectangle Canvas.Left="350" Width="1" Height="250" Fill="#FFFFFF"/>
  21. <Rectangle Canvas.Left="351" Width="1" Height="250" Grid.Column="2" Fill="#DFE0E4"/>
  22. <Border Canvas.Left="419" Canvas.Top="44" Width="166" Height="162">
  23. <Border.Background>
  24. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/video_circle.png"/>
  25. </Border.Background>
  26. <TextBlock x:Name="_well_textbolock" Text="well3 Source Image" FontSize="22" Foreground="#4D75AC" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center" Width="80" TextWrapping="Wrap" TextAlignment="Center" MouseUp="TextBlock_MouseUp"/>
  27. </Border>
  28. <TextBlock Canvas.Left="599" Canvas.Top="94" FontSize="46" Foreground="#6E7276" VerticalAlignment="Center">
  29. <Run Text="{Binding HouseSn}"/><Run Text="{DynamicResource C0056}"/>
  30. </TextBlock>
  31. <!--Text="{Binding HouseSn,StringFormat={}{0}号舱室}"-->
  32. <Rectangle Canvas.Left="864" Width="1" Height="250" Fill="#FFFFFF"/>
  33. <Rectangle Canvas.Left="865" Width="1" Height="250" Grid.Column="2" Fill="#DFE0E4"/>
  34. <customUserControl:PhotoToggle Canvas.Left="965" Canvas.Top="67" MouseUp="Image_MouseUp_PhotoToggle"/>
  35. <Rectangle Canvas.Left="1321" Width="1" Height="250" Fill="#FFFFFF"/>
  36. <Rectangle Canvas.Left="1322" Width="1" Height="250" Grid.Column="2" Fill="#DFE0E4"/>
  37. <Image x:Name="_bigFocal_Button" Canvas.Left="1364" Canvas.Top="50" Width="150" Height="150" MouseUp="BigFocus_Click" Source="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/DetailBigFocusIcon.png" />
  38. <StackPanel Canvas.Left="1528" Canvas.Top="85" >
  39. <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" FontSize="36" Foreground="#4D4D4D" Text="{Binding CurrentPicLayer}"/>
  40. <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Medium" FontSize="26" Foreground="#707070" Text="focal"/>
  41. </StackPanel>
  42. <Image x:Name="_smallFocal_Button" Canvas.Left="1602" Canvas.Top="50" Width="150" Height="150" MouseUp="SmallFocus_Click" Source="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/DetailSmallFocusIcon.png"/>
  43. </Canvas>
  44. <Grid Grid.Row="1" Background="White">
  45. <Grid.RowDefinitions>
  46. <RowDefinition Height="auto"/>
  47. <RowDefinition Height="*"/>
  48. <RowDefinition Height="auto"/>
  49. </Grid.RowDefinitions>
  50. <Grid Grid.Row="0" Height="94" Margin="78 85 63 80">
  51. <Grid.Background>
  52. <ImageBrush ImageSource="/ivf_tl_Operate;component/Resources/Image/photo_bar.png" Stretch="None" />
  53. </Grid.Background>
  54. <Grid.ColumnDefinitions>
  55. <ColumnDefinition/>
  56. <ColumnDefinition/>
  57. <ColumnDefinition/>
  58. <ColumnDefinition/>
  59. <ColumnDefinition/>
  60. <ColumnDefinition/>
  61. <ColumnDefinition/>
  62. </Grid.ColumnDefinitions>
  63. <customUserControl:PhotoButton x:Name="_photoButton1" Content="" Grid.Column="0" Width="140" Height="80" MouseUp="PhotoButton_MouseUp" Tag="1"/>
  64. <customUserControl:PhotoButton x:Name="_photoButton2" Content="" Grid.Column="1" Width="140" Height="80" MouseUp="PhotoButton_MouseUp" Tag="2"/>
  65. <customUserControl:PhotoButton x:Name="_photoButton3" Content="" Grid.Column="2" Width="140" Height="80" MouseUp="PhotoButton_MouseUp" Tag="3"/>
  66. <customUserControl:PhotoButton x:Name="_photoButton4" Content="" Grid.Column="3" Width="160" Height="80" MouseUp="PhotoButton_MouseUp" Tag="4"/>
  67. <customUserControl:PhotoButton x:Name="_photoButton5" Content="" Grid.Column="4" Width="180" Height="80" MouseUp="PhotoButton_MouseUp" Tag="5"/>
  68. <customUserControl:PhotoButton x:Name="_photoButton6" Content="" Grid.Column="5" Width="180" Height="80" MouseUp="PhotoButton_MouseUp" Tag="6"/>
  69. <customUserControl:PhotoButton x:Name="_photoButton7" Content="" Grid.Column="6" Width="180" Height="80" MouseUp="PhotoButton_MouseUp" Tag="7"/>
  70. </Grid>
  71. <Grid Grid.Row="1" Name="_g">
  72. <WrapPanel Width="1824" Orientation="Horizontal" x:Name="_container" />
  73. </Grid>
  74. <customUserControl:CustomControlPagination Grid.Row="2" PageChangedEvent="CustomControlPagination_PageChangedEvent" Width="1824" Height="236" CountNum="{Binding DataCount}" PageNum="{Binding PageSize}" DefeatPage="{Binding PageIndex}"/>
  75. </Grid>
  76. </Grid>
  77. <Grid x:Name="_mask" Opacity="0.8" Background="Black" Visibility="Hidden">
  78. <Grid VerticalAlignment="Center">
  79. <Grid.ColumnDefinitions>
  80. <ColumnDefinition/>
  81. <ColumnDefinition Width="200"/>
  82. </Grid.ColumnDefinitions>
  83. <Grid.RowDefinitions>
  84. <RowDefinition Height="auto"/>
  85. <RowDefinition Height="auto"/>
  86. <RowDefinition Height="auto"/>
  87. </Grid.RowDefinitions>
  88. <TextBlock x:Name="_textBlockOpenImage" Text="正在打开..." Foreground="White" FontSize="50" Margin="125,0,0,0"/>
  89. <ProgressBar x:Name="_progressBar" Grid.Row="1" Grid.Column="0" Width="1500" Height="30" HorizontalAlignment="Right"/>
  90. <TextBlock x:Name="_progressText" Grid.Row="1" Grid.Column="1" Text="100%" FontSize="40" Margin="20" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"/>
  91. <TextBlock Grid.Row="2" Grid.Column="0" Text="谢谢您的耐心等待,这可能需要一小会儿!" Foreground="White" FontSize="22" Margin="125,0,0,0"/>
  92. </Grid>
  93. </Grid>
  94. </Grid>
  95. </UserControl>