LunarPresentation/Dialogs/ExRecordInfo.xaml

(完整代码) 2KB

<Window x:Class="SHomeWorkshop.LunarPresentation.Dialogs.ExRecordInfo"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:cp="clr-namespace:SHomeWorkshop.LunarPresentation"
        Icon="/LunarPresentation;component/Resources/Icons/Taiji.ico"
        WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner"
        TextOptions.TextFormattingMode="Display"
        Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"
        Title="{x:Static Member=cp:Globals.appName}" Height="260" Width="400" FontFamily="SimSun">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="32"/>
            <RowDefinition Height="28"/>
            <RowDefinition Height="28"/>
            <RowDefinition />
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="72"/>
            <ColumnDefinition />
            <ColumnDefinition Width="72"/>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <Label Grid.ColumnSpan="4" Margin="2" FontSize="14"
               FontWeight="Bold"
               HorizontalAlignment="Center">公式附加信息</Label>
        <Label Grid.Row="1" HorizontalAlignment="Left">关键词:</Label>
        <TextBox Name="tbxKeyWord" Grid.Column="1" Grid.ColumnSpan="3"
                 MaxLength="15" AcceptsTab="False" KeyDown="tbxKeyWord_KeyDown"
                 Grid.Row="1" Margin="2" AcceptsReturn="False"></TextBox>

        <Label Grid.Row="2" HorizontalAlignment="Left">作者信息:</Label>
        <Label Grid.Row="2" Grid.Column="2"
               HorizontalAlignment="Left">备注:</Label>

        <TextBox Name="tbxAuthorInfo" Grid.Row="3" Grid.ColumnSpan="2" Margin="2" 
                 GotFocus="tbxAuthorInfo_GotFocus" KeyDown="tbxAuthorInfo_KeyDown"
                 AcceptsReturn="True" AcceptsTab="False"/>
        <TextBox Name="tbxComment" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2"
                 GotFocus="tbxComment_GotFocus" KeyDown="tbxComment_KeyDown"
                 Margin="2" AcceptsReturn="True" AcceptsTab="False"/>

        <DockPanel Grid.Row="4" Grid.ColumnSpan="4" LastChildFill="False">
            <CheckBox Name="ckxSaveAsDefAuthorInfo" DockPanel.Dock="Left" Margin="10,0"
                      VerticalAlignment="Center">保存为默认作者信息</CheckBox>
            
            <Button Name="btnCancel" Click="btnCancel_Click" DockPanel.Dock="Right"
                    Margin="10,0" Padding="5,4,5,4" VerticalAlignment="Center">关闭(_C)</Button>

            <Button Name="btnSaveToDataBase" VerticalAlignment="Center"
                    DockPanel.Dock="Right" Margin="10,0" Padding="5,4,5,4" Click="btnSaveToDataBase_Click">存入数据库(_O)</Button>
        </DockPanel>
    </Grid>
</Window>

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

AI 解读 AI

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

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