alielie
2025-11-25 006c98e5650b530e5220f279c1e803fefe69d40d
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<pu:WindowX x:Class="WPFProject.LoadingWindow"
        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:WPFProject"
        xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI"
        xmlns:purs="clr-namespace:Panuon.WPF.UI.Resources;assembly=Panuon.WPF.UI"
        xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
        mc:Ignorable="d"
        Height="420"
        Width="600"
        pu:WindowXCaption.Background="Transparent"
        Background="{StaticResource VerBar}"
        pu:WindowXCaption.Buttons="None"
        ContentRendered="WindowX_ContentRendered"
            WindowStartupLocation="CenterScreen"
        Loaded="Window_Loaded">
    <Window.Resources>
        <!--<Style x:Key="CarouselStyle"
        TargetType="pu:Carousel">
            <Setter Property="Animation"
             Value="Flow,Fade" />
            <Setter Property="AnimationEasing"
             Value="CubicOut" />
            <Setter Property="IndicatorVisibility"
             Value="Visible" />
            <Setter Property="IndicatorPaginationStyle">
                <Setter.Value>
                    <Style TargetType="pu:Pagination"
                    BasedOn="{StaticResource {x:Static pu:Carousel.IndicatorPaginationStyleKey}}">
                        <Setter Property="ItemsWidth"
                         Value="NaN" />
                        <Setter Property="ItemsHeight"
                         Value="NaN" />
                        <Setter Property="ItemsBackground"
                         Value="Transparent" />
                        <Setter Property="ItemsForeground"
                         Value="#55000000" />
                        <Setter Property="ItemsSelectedBackground"
                         Value="{x:Null}" />
                        <Setter Property="ItemsSelectedForeground"
                         Value="#C62F2F" />
                        <Setter Property="ItemContainerStyle">
                            <Setter.Value>
                                <Style TargetType="pu:PaginationItem">
                                    <Setter Property="Cursor"
                                     Value="Hand" />
                                    <Setter Property="ContentTemplate">
                                        <Setter.Value>
                                            <DataTemplate>
                                                <TextBlock Text="&#xe954;"
                                                    FontFamily="{StaticResource PanuonIconFont}"
                                                    FontSize="16" />
                                            </DataTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </Setter.Value>
            </Setter>
        </Style>-->
    </Window.Resources>
    
    <Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <!--TextBox x:Name="Console" IsReadOnly="True" Text="{Binding ConsoleText}"/>-->
        <Image Height="25"
       Stretch="Uniform"
   HorizontalAlignment="Left"
   Source="/Icon/JingCeLogo.png"
               Margin="0,0,0,10"
   RenderOptions.BitmapScalingMode="HighQuality" />
 
        <!--<pu:Carousel
             AutoPlayDuration="0:0:2"
             Height="300"
             TextBlock.FontSize="40"
             TextBlock.TextAlignment="Center">
            <Border Background="#FAFAFA">
                <TextBlock Text="Page 1"
                   VerticalAlignment="Center" />
            </Border>
            <Border Background="#FAFAFA">
                <TextBlock Text="Page 2"
                   VerticalAlignment="Center" />
            </Border>
            <Border Background="#FAFAFA">
                <TextBlock Text="Page 3"
                   VerticalAlignment="Center" />
            </Border>
            <Border Background="#FAFAFA">
                <TextBlock Text="Page 4"
                   VerticalAlignment="Center" />
            </Border>
            <Border Background="#FAFAFA">
                <TextBlock Text="Page 5"
                   VerticalAlignment="Center" />
            </Border>
        </pu:Carousel>-->
 
        <ProgressBar Grid.Row="1" x:Name="processBar" Minimum="0" Maximum="100" Height="20" Margin="0,0,0,10"
                     Visibility="Visible"/>
 
        <RichTextBox Grid.Row="2" x:Name="Console" IsReadOnly="True" Padding="0" VerticalScrollBarVisibility="Auto"
                     VerticalContentAlignment="Top"
                     Margin="0,0,0,10"
                     Visibility="Visible"
                     HorizontalContentAlignment="Left"/>
        <Button Grid.Row="3" Style="{StaticResource PrimaryButton}" 
                x:Name="BtnNext" Visibility="Collapsed"
                Content="{DynamicResource App.Continue}" Click="Button_Click"/>
    </Grid>
</pu:WindowX>