schangxiang@126.com
2025-11-04 f5ed29dc26c7cd952d56ec5721a2efc43cd25992
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<UserControl x:Class="XHandler.View.MethodProperty.VolumnSettingPerWell"
             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:XHandler.View.MethodProperty"
             xmlns:str="clr-namespace:XHandler.Properties"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800" Loaded="UserControl_Loaded">
    <Grid Background="#20FFFFFF" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Border Background="White" BorderBrush="{DynamicResource lightGrayBrush}" BorderThickness="1" CornerRadius="10" Width="300" Height="410"
                Margin="0 0 20 200" HorizontalAlignment="Right" VerticalAlignment="Bottom">
            <Border.Effect>
                <DropShadowEffect x:Name="OG" BlurRadius="11" Color="Black" Direction="50" Opacity="0.8" RenderingBias="Performance" ShadowDepth="1">
                    <Storyboard.TargetProperty>
                        BlurRadius
                    </Storyboard.TargetProperty>
                </DropShadowEffect>
            </Border.Effect>
            <Grid x:Name="gdChannelSettings">
                <Grid.RowDefinitions>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width=".8*"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width=".5*"/>
                </Grid.ColumnDefinitions>
                <TextBlock Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Text="{x:Static str:Resources.strVolumnSettingPerWell}" FontSize="18" FontWeight="Bold"
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
 
                <Button Grid.Row="0" Grid.Column="2" Content="×" HorizontalAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10 0" FontSize="28" Width="40" Height="40"
                            FontWeight="Bold" Foreground="Gray" Style="{DynamicResource BlueButtonStyle}" Background="White" Click="btnCancel_Click"/>
 
                <TextBlock Grid.Row="1" Grid.Column="0" Text="channel1" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="2" Grid.Column="0" Text="channel2" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="3" Grid.Column="0" Text="channel3" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="4" Grid.Column="0" Text="channel4" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="5" Grid.Column="0" Text="channel5" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="6" Grid.Column="0" Text="channel6" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="7" Grid.Column="0" Text="channel7" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
                <TextBlock Grid.Row="8" Grid.Column="0" Text="channel8" FontSize="16" 
                   VerticalAlignment="Center" HorizontalAlignment="Left" Margin="20 0 0 0"/>
 
                <TextBox Grid.Row="1" Grid.Column="1" x:Name="tbxChannel1Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel1Value_TextChanged"/>
                <TextBox Grid.Row="2" Grid.Column="1" x:Name="tbxChannel2Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel2Value_TextChanged"/>
                <TextBox Grid.Row="3" Grid.Column="1" x:Name="tbxChannel3Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel3Value_TextChanged"/>
                <TextBox Grid.Row="4" Grid.Column="1" x:Name="tbxChannel4Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel4Value_TextChanged"/>
                <TextBox Grid.Row="5" Grid.Column="1" x:Name="tbxChannel5Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel5Value_TextChanged"/>
                <TextBox Grid.Row="6" Grid.Column="1" x:Name="tbxChannel6Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel6Value_TextChanged"/>
                <TextBox Grid.Row="7" Grid.Column="1" x:Name="tbxChannel7Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel7Value_TextChanged"/>
                <TextBox Grid.Row="8" Grid.Column="1" x:Name="tbxChannel8Value" Height="30" FontSize="16" VerticalContentAlignment="Center" Background="{DynamicResource lightGrayBrush}"
                         Margin="0" BorderThickness="0" TextChanged="tbxChannel8Value_TextChanged"/>
 
                <TextBlock Grid.Row="1" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="2" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="3" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="4" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="5" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="6" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="7" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
                <TextBlock Grid.Row="8" Grid.Column="2" Text="μL" FontSize="16" 
                           VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10 0 0 0"/>
 
                <Button x:Name="btnCancel" Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="2"  Content="{x:Static str:Resources.btnCancel}" Style="{DynamicResource BlueButtonStyle}"
                        Click="btnCancel_Click" Width="80" Height="30" HorizontalAlignment="Right" Background="{DynamicResource blueBrush}" FontSize="16" Margin="0 0 40 0"/>
                <Button x:Name="btnSave" Grid.Row="9" Grid.Column="1" Grid.ColumnSpan="2" Content="{x:Static str:Resources.btnSave}" Style="{DynamicResource BlueButtonStyle}"
                        Click="btnSave_Click" Width="80" Height="30" Background="{DynamicResource blueBrush}" FontSize="16" Margin="0 0 10 0" HorizontalAlignment="Right"/>
            </Grid>
        </Border>
    </Grid>
</UserControl>