| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <Window x:Class="ivf_tl_Manage.Win.BusSettingWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:ivf_tl_Manage.Win"
- xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_PC"
- xmlns:controls="clr-namespace:ivf_tl_Manage.UserControls"
- mc:Ignorable="d"
- FontFamily="{StaticResource sourceHan}"
- WindowStyle="None"
- ShowInTaskbar="False"
- WindowStartupLocation="CenterOwner"
- Background="Transparent"
- AllowsTransparency="True"
- Width="710" Height="644"
- x:Name="_BusSettingWindow">
- <Canvas Width="710" Height="644">
- <Canvas.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/BusSettingWindowBackground.png"/>
- </Canvas.Background>
- <DockPanel Canvas.Left="60" Canvas.Top="57">
- <TextBlock Margin="2 0 2 2" DockPanel.Dock="Top" x:Name="_title_TextBlock" Canvas.Left="60" Canvas.Top="57" Text="胚胎操作业务功能关联" FontWeight="Medium" Foreground="Black" FontSize="20"/>
- <Rectangle DockPanel.Dock="Bottom" Canvas.Left="58" Canvas.Top="90" Width="205" Height="3" Fill="#4D75AC" RadiusX="1.5" RadiusY="1.5"/>
- </DockPanel>
- <!--<TextBlock x:Name="_title_TextBlock1" Canvas.Left="60" Canvas.Top="57" Text="胚胎操作业务功能关联" FontWeight="Medium" Foreground="Black" FontSize="20"/>
- <Rectangle Canvas.Left="58" Canvas.Top="90" Width="205" Height="2" Fill="#4D75AC" RadiusX="1" RadiusY="1"/>-->
- <customControl:ImageCustom Canvas.Left="634" Canvas.Top="60" Width="18" Height="18" MouseUp="Cancel_MouseUp"
- IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CloseGrayIcon.png"
- MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CloseBlueIcon.png"/>
- <TextBlock Canvas.Left="60" Canvas.Top="107" Text="{DynamicResource 0308}" FontWeight="Medium" Foreground="#707070" FontSize="16"/>
- <Border Canvas.Left="60" Canvas.Top="139" Width="280" Height="365" CornerRadius="6" BorderThickness="1" BorderBrush="#C6C6C6">
- <ListBox Style="{StaticResource ListBoxStyleAlarmSetting}" Margin="15 0 30 0" ItemsSource="{Binding ElementName=_BusSettingWindow,Path=NoSelectedBus}"
- BorderThickness="0" Background="Transparent">
- <ListBox.ItemContainerStyle>
- <Style TargetType="{x:Type ListBoxItem}">
- <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ListBoxItem}">
- <customControl:CheckBoxContent Margin="0 15 0 0" Height="20" Padding="0 0 10 0" Checked="CheckBoxContent_Checked"
- TextCntent="{Binding name}" Tag="{Binding}" FontWeight="Medium" FontSize="16" Foreground="#4D4D4D"
- CheckImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/MarkDefeatIcon.png">
- <customControl:CheckBoxContent.Content>
- <Rectangle Width="20" Height="20" StrokeThickness="1" Stroke="#9B9B9B" RadiusX="2" RadiusY="2"/>
- </customControl:CheckBoxContent.Content>
- </customControl:CheckBoxContent>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListBox.ItemContainerStyle>
- </ListBox>
- </Border>
- <TextBlock Canvas.Left="370" Canvas.Top="107" Text="{DynamicResource 0309}" FontWeight="Medium" Foreground="#707070" FontSize="16"/>
- <Border Canvas.Left="369" Canvas.Top="139" Width="280" Height="365" CornerRadius="6" BorderThickness="1" BorderBrush="#C6C6C6">
- <ListBox Style="{StaticResource ListBoxStyleAlarmSetting}" Margin="15 0 30 0" ItemsSource="{Binding ElementName=_BusSettingWindow,Path=SelectedBus}"
- BorderThickness="0" Background="Transparent">
- <ListBox.ItemContainerStyle>
- <Style TargetType="{x:Type ListBoxItem}">
- <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type ListBoxItem}">
- <customControl:CheckBoxContent Margin="0 15 0 0" IsChecked="True" Height="20" Padding="0 0 10 0" TextCntent="{Binding name}" Tag="{Binding}" FontSize="16" Foreground="#4D4D4D" BorderBrush="{Binding state,Converter={StaticResource DishInfoForegroundConver},ConverterParameter=funcSelected}" CheckImageSource="{Binding state,Converter={StaticResource CustomButtonMouseOverIconConvert},ConverterParameter=funcSelected}" Unchecked="CheckBoxContent_Unchecked">
- <customControl:CheckBoxContent.Content>
- <Rectangle Width="20" Height="20" StrokeThickness="1" Stroke="#9B9B9B" RadiusX="2" RadiusY="2"/>
- </customControl:CheckBoxContent.Content>
- </customControl:CheckBoxContent>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </ListBox.ItemContainerStyle>
- </ListBox>
- </Border>
- <customControl:ButtonCornerRadius IsTabStop="False" Canvas.Left="554" Canvas.Top="536" Width="104" Height="56" Click="Ok_Click" IsDefault="True" Content="{DynamicResource 0024}" FontSize="14" MarginMask="10">
- <customControl:ButtonCornerRadius.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/OkButtonIcon1.png"/>
- </customControl:ButtonCornerRadius.Background>
- </customControl:ButtonCornerRadius>
- <customControl:ButtonCornerRadius IsTabStop="False" Canvas.Left="446" Canvas.Top="536" Width="104" Height="56" Click="Cancel_Click" IsCancel="True" Content="{DynamicResource 0025}" Foreground="#717171" FontSize="14" MarginMask="10">
- <customControl:ButtonCornerRadius.Background>
- <ImageBrush ImageSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CancelButtonIcon1.png"/>
- </customControl:ButtonCornerRadius.Background>
- </customControl:ButtonCornerRadius>
- <!--<customControl:ButtonImage IsTabStop="False" Canvas.Left="446" Canvas.Top="536" Width="104" Height="56" Click="Cancel_Click" IsCancel="True" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CancelButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/CancelButtonMouseOverIcon.png"/>-->
- <!--<customControl:ButtonImage IsTabStop="False" Canvas.Left="554" Canvas.Top="536" Width="104" Height="56" Click="Ok_Click" IsDefault="True" IconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/OkButtonIcon.png" MouseOverIconSource="pack://application:,,,/ivf_tl_Manage;component/Resources/Images/OkButtonMouseOverIcon.png"/>-->
- </Canvas>
- </Window>
|