LunarPresentation/Dialogs/MarkTextEditor.xaml

(完整代码) 1KB

<Window x:Class="SHomeWorkshop.LunarPresentation.Dialogs.MarkTextEditor"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" FontFamily="SimSun"
        xmlns:cp="clr-namespace:SHomeWorkshop.LunarPresentation"
        Title="{x:Static Member=cp:Globals.appName}" Height="140" Width="180" Topmost="True"
        Icon="/LunarPresentation;component/Resources/Icons/Taiji.ico"
        TextOptions.TextFormattingMode="Display" 
        Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"
        WindowStartupLocation="CenterOwner" ResizeMode="NoResize">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        
        <Label Margin="4" Grid.Row="0">上标:</Label>
        <Label Margin="4" Grid.Row="1">下标:</Label>
        <TextBox Name="topTextBox" Margin="4" Grid.Column="1" Grid.Row="0" MaxLength="10"
                 KeyDown="topTextBox_KeyDown"></TextBox>
        <TextBox Name="bottomTextBox" Margin="4" Grid.Column="1" Grid.Row="1" MaxLength="10"
                 GotFocus="bottomTextBox_GotFocus"
                 KeyDown="bottomTextBox_KeyDown"></TextBox>
        
        <Button Name="btnOk" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="2"
                Width="72" Height="24" Click="btnOk_Click">确定(_O)</Button>
    </Grid>
</Window>

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

AI 解读 AI

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

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