<UserControl x:Class="MECF.Framework.UI.Client.CenterViews.Dialogs.SystemInfoView"
             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:bhv="clr-namespace:MECF.Framework.UI.Core.Behaviors;assembly=MECF.Framework.UI.Core"
             xmlns:conv="clr-namespace:MECF.Framework.UI.Core.Converters;assembly=MECF.Framework.UI.Core"
             xmlns:cal="clr-namespace:Caliburn.Micro"
             mc:Ignorable="d" 
             Height="700" Width="600">
    <UserControl.Resources>
        <conv:MarkdownToHtmlConverter x:Key="MarkdownToHtmlConverter"/>
    </UserControl.Resources>
    <DockPanel Margin="10">
        <StackPanel DockPanel.Dock="Top" Margin="0 0 0 20">

            <TextBlock Text="SiC CVD System" Foreground="Black" FontSize="30" FontFamily="Segoe UI Semibold" FontWeight="Bold"/>
            <TextBlock Text="{Binding SicUIVersion}" Foreground="Black" FontSize="12" FontFamily="Segoe UI"/>
            <TextBlock Text="© 2023 Sicentury Semiconductor Technology (Suzhou) Co., Ltd" Foreground="Black" FontSize="12" FontFamily="Segoe UI"/>
            <TextBlock Text="All rights reserved." Foreground="Black" FontSize="12" FontFamily="Segoe UI"/>
        </StackPanel>

        <TabControl>
            <TabItem Header="Dependencies">
                <DockPanel>
                    <Button DockPanel.Dock="Bottom" Content="Copy Info" Height="30" cal:Message.Attach="CopyAssembliesInfo()"/>
                    <ListBox 
                        Style="{x:Null}"
                        Margin="0 0 0 5" ItemsSource="{Binding DependenciesInfo}"/>
                </DockPanel>
            </TabItem>

            <TabItem Header="Release Note">
                <DockPanel>
                    <WebBrowser bhv:BrowserBehavior.Html="{Binding MdReleaseNote}"/>
                </DockPanel>
            </TabItem>
        </TabControl>

    </DockPanel>
</UserControl>
