<!--
NavisworksTransport 关于对话框 - 采用与主界面一致的Navisworks 2026风格

功能说明：
1. 显示插件版本信息和开发者信息
2. 提供技术支持和联系方式
3. 与主界面保持一致的视觉风格

设计原则：使用统一的蓝色主题和样式规范
-->
<Window x:Class="NavisworksTransport.UI.WPF.Views.AboutDialog"
        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"
        mc:Ignorable="d"
        Title="关于插件" 
        Height="400" 
        Width="500"
        ResizeMode="NoResize" 
        WindowStartupLocation="CenterOwner"
        Topmost="True">
        
    <Window.Resources>
        <!-- 引用共享的Navisworks 2026样式资源 -->
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/TransportPlugin;component/src/UI/WPF/Resources/NavisworksStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <!-- 主内容区域 -->
        <Border Grid.Row="0" 
                BorderBrush="#FFD4E7FF" 
                BorderThickness="1" 
                CornerRadius="0" 
                Background="White"
                Margin="15,15,15,10">
            <StackPanel Margin="20">
                
                <!-- 插件标题和版本 -->
                <Label Content="NavisworksTransport" Style="{StaticResource DialogTitleStyle}"/>
                <Label Content="物流路径规划插件 v1.0" Style="{StaticResource DialogVersionStyle}"/>
                
                <!-- 分隔线 -->
                <Border Height="1" 
                        Background="#FFD4E7FF" 
                        Margin="0,15,0,20"/>
                
                <!-- 基本信息 -->
                <Grid Margin="0,10">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                    
                    <Label Grid.Row="0" Grid.Column="0" Content="适用版本:" Style="{StaticResource DialogInfoLabelStyle}"/>
                    <TextBlock Grid.Row="0" Grid.Column="1" Text="Autodesk Navisworks Manage 2026" Style="{StaticResource DialogInfoTextStyle}"/>
                    
                    <Label Grid.Row="1" Grid.Column="0" Content="版本号:" Style="{StaticResource DialogInfoLabelStyle}"/>
                    <TextBlock Grid.Row="1" Grid.Column="1" Text="1.0.0" Style="{StaticResource DialogInfoTextStyle}"/>
                    
                    <Label Grid.Row="2" Grid.Column="0" Content="发布日期:" Style="{StaticResource DialogInfoLabelStyle}"/>
                    <TextBlock Grid.Row="2" Grid.Column="1" Text="2024年9月" Style="{StaticResource DialogInfoTextStyle}"/>
                    
                    <Label Grid.Row="3" Grid.Column="0" Content="运行时框架:" Style="{StaticResource DialogInfoLabelStyle}"/>
                    <TextBlock Grid.Row="3" Grid.Column="1" Text=".NET Framework 4.8" Style="{StaticResource DialogInfoTextStyle}"/>                    
                </Grid>
                
                <!-- 功能描述 -->
                <TextBlock Text="专为Navisworks 2026设计的物流路径规划插件。支持3D路径规划、A*寻路算法、动画生成、碰撞检测等功能。通过直观的用户界面，帮助用户在建筑信息模型中进行高效的物流运输规划和冲突检测。"
                           Style="{StaticResource DialogDescriptionStyle}"/>
                
                <!-- 主要特性 -->
                <TextBlock Style="{StaticResource DialogDescriptionStyle}" Margin="20,10">
                    <Run Text="主要特性：" FontWeight="Medium" Foreground="#FF2B579A"/>
                    <LineBreak/>
                    <Run Text="• 智能分层与导出"/>
                    <LineBreak/>
                    <Run Text="• 自动路径规划"/>
                    <LineBreak/>
                    <Run Text="• 实时碰撞检测与冲突分析"/>
                    <LineBreak/>
                    <Run Text="• 流畅的3D动画演示"/>
                    <LineBreak/>
                    <Run Text="• 完整的物流类别管理"/>
                </TextBlock>
                
            </StackPanel>
        </Border>
        
        <!-- 底部按钮 -->
        <Border Grid.Row="1" 
                BorderBrush="#FFD4E7FF" 
                BorderThickness="1" 
                CornerRadius="0" 
                Background="#FFF8FBFF"
                Margin="15,0,15,15" 
                Padding="15,10">
            <StackPanel Orientation="Horizontal" 
                        HorizontalAlignment="Right">
                <Button Content="关闭" 
                        Click="CloseButton_Click" 
                        Style="{StaticResource ActionButtonStyle}"/>
            </StackPanel>
        </Border>
    </Grid>
</Window>
