| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <UserControl x:Class="ivf_tl_Manage.Views.MarkDetail"
- 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" xmlns:usercontrols="clr-namespace:ivf_tl_Manage.UserControls"
- xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
- mc:Ignorable="d"
- 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 x:Name="Canvas_Root">
- <!--<StackPanel Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal"
- Visibility="{Binding IsDishRecord,Converter={StaticResource BoolToVisibilityConvert}}">
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Margin="0,0,0,0" Content="{DynamicResource 0001}" Click="Button_Click" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" 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" Content="{DynamicResource 0149}" Click="Button_Click_patient" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" 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" Content="{Binding Title}" Click="Button_Click_Detail" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" Text="{DynamicResource 0162}"/>
- </StackPanel>
- <StackPanel Canvas.Left="40" Canvas.Top="36" Background="Transparent" Orientation="Horizontal"
- Visibility="{Binding IsDishRecord,Converter={StaticResource BooleanToVisibilityConverter}}">
- <Button Style="{StaticResource ButtonStyle1}" BorderThickness="0" Background="Transparent" FontSize="28" Content="{DynamicResource 0002}" Click="RecordButton_Click_patient" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" 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" Content="{Binding Title}" Click="RecordButton_Click_Detail" FontWeight="Bold" ></Button>
- <TextBlock VerticalAlignment="Center" FontSize="28" Margin="8,0,0,0" Foreground="#9B9B9B" Text=">" FontWeight="Bold" ></TextBlock>
- <TextBlock Margin="8 0 0 0" FontWeight="Bold" Foreground="Black" FontSize="32" Text="{DynamicResource 0162}"/>
- </StackPanel>-->
- <StackPanel x:Name="_nav_StackPanel" Canvas.Left="40" Canvas.Top="36" Orientation="Horizontal"/>
- <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" FontSize="22" FontWeight="Medium">
- <Run Text="{DynamicResource 0034}"/><Run Text=":"/>
- </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" FontSize="22" FontWeight="Medium">
- <Run Text="{DynamicResource 0035}"/><Run Text=":"/>
- </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" FontSize="22" FontWeight="Medium">
- <Run Text="{DynamicResource 0032}"/><Run Text=":"/>
- </TextBlock>
- <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Time}" FontSize="22" FontWeight="Medium"></TextBlock>
- <TextBlock Margin="40,35,0,0" Foreground="#707070" FontSize="22" FontWeight="Medium">
- <Run Text="{DynamicResource 0157}"/><Run Text=":"/>
- </TextBlock>
- <TextBlock Margin="15,35,0,0" Foreground="#4D4D4D" Text="{Binding Dish.fertilizationType}" FontSize="22" FontWeight="Medium"></TextBlock>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Canvas.Left="1704" Canvas.Top="100" Background="Transparent" Height="70">
- <Rectangle Width="2" Height="30" Fill="#C1C1C1" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,22,0,0" ></Rectangle>
- <customControl:ButtonLeftImage Margin="7 0 0 0" IconWidth="32" IconHeight="32" IconMargin="0 0 5 0"
- Content="{DynamicResource 0062}" FontWeight="Medium" FontSize="16" Click="Export_Click"
- IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_card.png"
- MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_cardM.png"
- MouseOverForeground="#4D75AC"
- Foreground="#9B9B9B"/>
- <!--<Image Width="32" Height="32" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/markdetail_card.png" Margin="7,0,0,0" ></Image>
- <TextBlock Text="导出详情" FontSize="18" Foreground="#9B9B9B" VerticalAlignment="Center" FontWeight="Medium" Margin="4,0,0,0"></TextBlock>-->
- </StackPanel>
- <StackPanel Panel.ZIndex="2" Canvas.Left="670" Canvas.Top="422" Visibility="{Binding ElementName=ListView_Embryos,Path=HasItems,Converter={StaticResource BoolToVisibilityConvert}}">
- <Image Width="490" Height="360" Source="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/NoDataBackground.png" />
- <TextBlock TextAlignment="Center" Canvas.Left="185" Canvas.Top="360" FontWeight="Medium" Foreground="#9B9B9B" FontSize="30" Text="{DynamicResource 0205}"/>
- </StackPanel>
- <!--markdetail_bgImg MarkSettingContentBackground-->
- <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="{DynamicResource 0243}" ></usercontrols:OrderControl>
- <usercontrols:OrderControl Width="143" x:Name="order_two" Margin="80,0,0,0" MouseLeftButtonDown="order_two_MouseLeftButtonDown" Text="{DynamicResource 0165}" ></usercontrols:OrderControl>
- <usercontrols:OrderControl Visibility="Collapsed" Width="143" x:Name="order_three" Margin="39,0,0,0" MouseLeftButtonDown="order_three_MouseLeftButtonDown" Text="{DynamicResource 0166}"></usercontrols:OrderControl>
- </StackPanel>
- <TextBlock x:Name="tb_dishId" Visibility="Collapsed" Text="{Binding DishId}"/>
- <ScrollViewer x:Name="_scrollview" Margin="13,0,0,0" Width="1762" Grid.Row="1" Background="Transparent" BorderThickness="0" PreviewMouseWheel="ScrollViewer_PreviewMouseWheel">
- <ListView x:Name="ListView_Embryos" ItemsSource="{Binding Embryos}" AlternationCount="2" BorderThickness="0" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Background="Transparent">
- <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}">
- <Border x:Name="ItemBorder" Background="Transparent" BorderThickness="2" BorderBrush="Transparent">
- <!--ImageSource="{Binding pictureUrl}"-->
- <!--<TextBlock x:Name="_markBox" FontSize="40" Text="{Binding startTime}"/>-->
- <usercontrols:MarkDetailItem MouseDown="_markDetailItem_MouseDown" MarkDetailEvent="_markDetailItem_MarkDetailEvent" x:Name="_markDetailItem" EmbryoData="{Binding}" DishIdString="{Binding ElementName=tb_dishId,Path=Text}" FaYuTime="{Binding startTime}" State="{Binding state}" Background="#ECEEF2" Level="{Binding blastocystLevel}" Number="{Binding wellSn}" Score="{Binding score}" StateTime="{Binding stateTime}"/>
- </Border>
- <ControlTemplate.Triggers>
- <!--<Trigger Property="ItemsControl.AlternationIndex" Value="1">
- <Setter Property="Background" Value="#F6F6F6" TargetName="_markDetailItem"/>
- </Trigger>-->
- <Trigger Property="IsMouseOver" Value="True">
- <Setter Property="BorderBrush" Value="#6DA5FF" TargetName="ItemBorder"/>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListView.ItemContainerStyle>
- </ListView>
- </ScrollViewer>
- </Grid>
- </Canvas>
- </UserControl>
|