| | |
| | | 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" |
| | |
| | | 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="" |
| | | 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}"/>--> |
| | | <RichTextBox x:Name="Console" IsReadOnly="True" Padding="0" VerticalScrollBarVisibility="Auto" |
| | | <Image Height="25" |
| | | Stretch="Uniform" |
| | | HorizontalAlignment="Left" |
| | | Source="/Resources/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" |
| | | HorizontalContentAlignment="Left" |
| | | /> |
| | | <Button Grid.Row="1" Style="{StaticResource PrimaryButton}" Content="下一步" Click="Button_Click"/> |
| | | 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> |