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
<UserControl x:Class="XHandler.View.ManualPick.ConfirmClose"
             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.ManualPick"
             xmlns:str="clr-namespace:XHandler.Properties"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800"
             Style="{StaticResource UCStyle}">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
 
        <Grid Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="450" Height="290">
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
 
            <Border Grid.Row="0" Background="{DynamicResource blueBrush}" CornerRadius="10 10 0 0" BorderThickness="0">
                <Grid>
                    <TextBlock Text="{x:Static str:Resources.strTips}" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="20 0" FontSize="20"
                               Foreground="White" FontWeight="Bold"/>
                    <Button Content="×" HorizontalAlignment="Right" VerticalAlignment="Center" VerticalContentAlignment="Center" Margin="10 0" FontSize="28" Width="40" Height="40"
                            FontWeight="Bold" Foreground="White" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}" Click="Button_Click"/>
                </Grid>
            </Border>
 
            <Border Grid.Row="1" Background="White" CornerRadius="0 0 10 10" BorderThickness="0">
                <Grid Margin="30 0">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="40"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <TextBlock Text="{x:Static str:Resources.strConfirmClose}" FontSize="16" VerticalAlignment="Center"/>
                    <RadioButton x:Name="radiobtnStopCurrentFlow" Grid.Row="1" Content="{x:Static str:Resources.strStopCurrentFlow}" FontSize="16" VerticalAlignment="Center"
                                 IsChecked="True"/>
                    <RadioButton x:Name="radiobtnSkipCurrentStep" Grid.Row="2" Content="{x:Static str:Resources.strSkipCurrentStep}" FontSize="16" VerticalAlignment="Center"/>
                    <RadioButton x:Name="radiobtnCancel" Grid.Row="3" Content="{x:Static str:Resources.strCancelOperation}" FontSize="16" VerticalAlignment="Center"/>
                    <Button x:Name="btnConfirm" Grid.Row="4" Content="{x:Static str:Resources.btnOK}" Style="{DynamicResource BlueButtonStyle}" Background="{DynamicResource blueBrush}"
                            Width="100" Height="40" FontSize="16" HorizontalAlignment="Right" Click="btnConfirm_Click"/>
                </Grid>
            </Border>
 
        </Grid>
    </Grid>
</UserControl>