LunarMind/Dialogs/GraphicDemonstrator.xaml

(开头部分) 15KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<Window x:Class="SHomeWorkshop.LunarMind.Dialogs.GraphicDemonstrator"
        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:SHomeWorkshop.LunarMind.Dialogs"
        mc:Ignorable="d" WindowState="Maximized" Background="WhiteSmoke"
        Title="Lunar 图文演示" Height="450" Width="800"
        Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition />
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition />
            <ColumnDefinition Width="auto"/>
        </Grid.ColumnDefinitions>
        
        <Grid x:Name="gdTools" Grid.Column="2" Grid.RowSpan="3">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <Grid Grid.Column="0" Grid.ColumnSpan="2" Width="64">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition x:Name="cd2" Width="auto"/>
                    <ColumnDefinition x:Name="cd3" Width="auto"/>
                    <ColumnDefinition x:Name="cd4" Width="auto"/>
                    <ColumnDefinition x:Name="cd5" Width="auto"/>
                    <ColumnDefinition x:Name="cd6" Width="auto"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition Height="auto"/>
                </Grid.RowDefinitions>
                <Grid.Resources>
                    <Style TargetType="Button">
                        <Setter Property="Width" Value="52"/>
                        <Setter Property="Height" Value="52"/>
                        <Setter Property="Margin" Value="6"/>
                        <Setter Property="Padding" Value="0"/>
                        <Setter Property="Background" Value="Transparent"/>
                    </Style>
                </Grid.Resources>
                <StackPanel x:Name="sp1" VerticalAlignment="Center" Visibility="Visible">
                    <Button x:Name="btn_layout_default" Padding="0" Click="btn_layout_default_Click">
                        <Image Height="48" Width="48" Source="/LunarMind;component/Resources/DemoLayoutIcons/1.png"/>
                    </Button>
                    <Button x:Name="btn_layout_maxsize_1" Padding="0" Click="btn_layout_maxsize_Click">
                        <Image Height="48" Width="48" Source="/LunarMind;component/Resources/DemoLayoutIcons/maxSize.png"/>
                    </Button>
                    <Button x:Name="btn_layout_minsize_1" Padding="0" Click="btn_layout_minsize_Click">
后面还有 172 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。