LunarMind/Dialogs/TitleTextEditor.xaml

(开头部分) 10KB

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

<Window x:Class="SHomeWorkshop.LunarMind.Dialogs.TitleTextEditor"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="Manual" SnapsToDevicePixels="True"
        Height="150" Background="White" MinHeight="100" MinWidth="240" MaxWidth="760"
        WindowStyle="ToolWindow" Title="Lunar Mind - 编辑文本" AllowsTransparency="False"
        RenderOptions.BitmapScalingMode="NearestNeighbor" FontFamily="Microsoft YaHei"
        TextOptions.TextFormattingMode="Display" PreviewKeyDown="Window_PreviewKeyDown"
        Icon="/LunarMind;component/Resources/LunarMind_Min.ico">
    <!--Icon="/LunarMind;component/Resources/LunarMind.ico"-->
    <!--在XP下主窗口用这个图标没问题,但子窗体就会抛出异常-->

    <!--<Border Name="outBorder" Background="White" BorderThickness="2" Padding="4"
            Margin="10" CornerRadius="4" BorderBrush="Transparent">
        <Border.Effect>
            <DropShadowEffect BlurRadius="10"/>
        </Border.Effect>-->
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition Height="28"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="3" Opacity="20">
            <Rectangle.Fill>
                <VisualBrush TileMode="Tile" ViewportUnits="Absolute" Viewport="0,0,100,100" ViewboxUnits="Absolute" Viewbox="0,0,100,100">
                    <VisualBrush.Visual>
                        <Canvas Width="100" Height="4">
                            <Rectangle Height="800" Width="51" StrokeThickness="1" Stroke="WhiteSmoke" Fill="Transparent"/>
                            <Rectangle Height="800" Width="50" StrokeThickness="1" Stroke="WhiteSmoke" Fill="WhiteSmoke" Canvas.Left="51"/>
                        </Canvas>
                    </VisualBrush.Visual>
                </VisualBrush>
            </Rectangle.Fill>
        </Rectangle>

        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="3" Grid.Row="1" Opacity="20">
            <Rectangle.Fill>
                <VisualBrush TileMode="Tile" ViewportUnits="Absolute" Viewport="0,0,100,100" ViewboxUnits="Absolute" Viewbox="0,0,100,100">
                    <VisualBrush.Visual>
                        <Canvas Width="100" Height="4">
                            <Rectangle Height="800" Width="51" StrokeThickness="1" Stroke="WhiteSmoke" Fill="WhiteSmoke"/>
                            <Rectangle Height="800" Width="50" StrokeThickness="1" Stroke="WhiteSmoke" Fill="Transparent" Canvas.Left="51"/>
                        </Canvas>
                    </VisualBrush.Visual>
                </VisualBrush>
            </Rectangle.Fill>
        </Rectangle>

        <!--<Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" Grid.ColumnSpan="3" Opacity="20">
            <Rectangle.Fill>
                <VisualBrush TileMode="Tile" ViewportUnits="Absolute" Viewport="0,0,200,4" ViewboxUnits="Absolute" Viewbox="0,0,200,100">
                    <VisualBrush.Visual>
                        <Canvas Width="200" Height="6">
                            <Rectangle Height="100" Width="101" StrokeThickness="1" Stroke="WhiteSmoke" Fill="Transparent"/>
后面还有 141 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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