| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <UserControl x:Class="ivf_tl_Manage.Views.testNew"
- 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"
- mc:Ignorable="d"
- xmlns:usercontrols="clr-namespace:ivf_tl_Manage.UserControls"
- FontFamily="{StaticResource sourceHan}"
- Width="1830" Height="1015" Opacity="25">
- <UserControl.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_BigbgImg.png" ></ImageBrush>
- </UserControl.Background>
- <Canvas>
- <StackPanel Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal">
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="0,0,0,0" Foreground="#9B9B9B" Content="设备管理" FontWeight="Bold" ></Button>
- <TextBlock FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Content="患者管理" FontWeight="Bold" ></Button>
- <TextBlock FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="2,0,0,0" Foreground="#9B9B9B" Content="详情" FontWeight="Bold" ></Button>
- <TextBlock FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="8,0,0,0" Foreground="Black" Content="标记详情" FontWeight="Bold" ></Button>
- </StackPanel>
- <StackPanel Canvas.Left="40" Canvas.Top="83" Width="1790" Height="106" Orientation="Horizontal">
- <StackPanel.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markDetail_backgroud.png"></ImageBrush>
- </StackPanel.Background>
- <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="女方姓名:" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.wife}" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="男方姓名:" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.husband}" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="受精时间:" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.startTime}" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="40,35,0,0" Foreground="#707070" Text="受精方式:" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Width="720" Text="{Binding Dish.fertilizationType}" FontSize="22" FontWeight="Medium"></TextBlock>
- <Rectangle Width="2" Height="30" Fill="#C1C1C1" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,40,0,0" ></Rectangle>
- <Image Width="32" Height="32" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_card.png" Margin="7,1,0,0" ></Image>
- <TextBlock Text="导出详情" FontSize="18" Foreground="#9B9B9B" FontWeight="Medium" Margin="7,40,0,0"></TextBlock>
- </StackPanel>
- <Grid Width="1790" Height="846" Margin="0,10,0,0" Canvas.Left="40" Canvas.Top="169" >
- <Grid.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_bgImg.png" ></ImageBrush>
- </Grid.Background>
- <Grid.RowDefinitions>
- <RowDefinition Height="86"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- </Grid.RowDefinitions>
- <StackPanel Background="Transparent" Orientation="Horizontal" Grid.Row="0" Margin=" 0 ,12, 0, 0">
- <usercontrols:OrderControl x:Name="order_one" Margin="40,0,0,0" MouseLeftButtonDown="order_one_MouseLeftButtonDown" Text="编号" ></usercontrols:OrderControl>
- <usercontrols:OrderControl x:Name="order_two" Margin="40,0,0,0" MouseLeftButtonDown="order_two_MouseLeftButtonDown" Text="卵裂胚评分" ></usercontrols:OrderControl>
- <usercontrols:OrderControl x:Name="order_three" Margin="40,0,0,0" MouseLeftButtonDown="order_three_MouseLeftButtonDown" Text="囊胚评级"></usercontrols:OrderControl>
- </StackPanel>
- <ScrollViewer x:Name="_scrollview" Margin="13,0,0,0" Width="1762" Grid.Row="1" Background="Transparent" BorderThickness="0" PreviewMouseWheel="ScrollViewer_PreviewMouseWheel">
- <ListView ItemsSource="{Binding Embryos}" AlternationCount="2" BorderThickness="0" >
- <ListView.ItemContainerStyle>
- <Style TargetType="{x:Type ListViewItem}">
- <Setter Property="HorizontalAlignment" Value="Center"/>
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
- <EventSetter Event="MouseUp" Handler="ListViewItem_MouseUp"/>
- <Setter Property="Template">
- <Setter.Value >
- <ControlTemplate TargetType="{x:Type ListViewItem}">
- <Grid Background="Transparent" >
- <!--<TextBlock x:Name="_markBox" FontSize="40" Text="{Binding Number}"/>-->
- <usercontrols:MarkDetailItem x:Name="_markDetailItem" EmbryoData="{Binding}" FaYuTime="{Binding startTime}" State="{Binding state}" Background="#ECEEF2" Level="{Binding level}" Number="{Binding wellSn}" Score="{Binding score}" ImageSource="{Binding pictureUrl}" StateTime="{Binding stateTime}" />
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="ItemsControl.AlternationIndex" Value="1">
- <Setter Property="Background" Value="#F6F6F6" TargetName="_markDetailItem"/>
- </Trigger>
- <Trigger Property="IsSelected" Value="True">
- <!--<Setter Property="Text" Value="#4D75AC" TargetName="_markDetailItem"/>-->
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListView.ItemContainerStyle>
- </ListView>
- </ScrollViewer>
- </Grid>
- </Canvas>
- </UserControl>
|