LunarMind/TestEditor/QuestionEditorWindow.xaml

(完整代码) 2KB

<Window x:Class="SHomeWorkshop.LunarMind.TestEditor.QuestionEditorWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:LunarSF.SHomeWorkshop.LunarMind"
        Closing="Window_Closing"
        Title="试题编辑器" Height="540" Width="600" WindowStartupLocation="CenterOwner" Background="#293955">
    <Grid Name="mainGrid">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition />
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>


        <Menu Background="White">
            <MenuItem Name="miEditor" Header="编辑(_E)">
                <MenuItem Name="miWrapWithSquareBrackets" Header="用【】包围选定文本(_E)" InputGestureText="F2" Click="miWrapWithSquareBrackets_Click"/>

                <MenuItem Name="miInsertChoiceQuestionTags" Header="选择标签集(_I)" ToolTip="选中试题文本后自动生成【选择题】所需要标签集" InputGestureText="F4" Click="miInsertChoiceQuestionTags_Click"/>

                <MenuItem Name="miInsertJudgeQuestionTagsTrue" Header="判断标签集【正确】(_J)" ToolTip="选中试题文本后自动生成【答案为正确的判断题】所需要标签集" InputGestureText="F8" Click="miInsertJudgeQuestionTrueTags_Click"/>

                <MenuItem Name="miInsertJudgeQuestionTagsFalse" Header="判断标签集【错误】(_W)" ToolTip="选中试题文本后自动生成【答案为错误的判断题】所需要标签集" InputGestureText="F9" Click="miInsertJudgeQuestionTagsFalse_Click"/>

            </MenuItem>
        </Menu>

        <!--主编辑区由后台代码创建。-->

        <DockPanel Grid.Row="2" HorizontalAlignment="Stretch" LastChildFill="False" Grid.ColumnSpan="2">
            <DockPanel.Resources>
                <Style TargetType="Button">
                    <Setter Property="Margin" Value="10"/>
                    <Setter Property="Padding" Value="10,4"/>
                </Style>
            </DockPanel.Resources>
            <Button Name="btnClose" IsCancel="True" DockPanel.Dock="Right">关闭(_X)</Button>
            <Button Name="btnOk" IsDefault="True" DockPanel.Dock="Right" Click="btnOk_Click">提交(_O)</Button>
            
            <TextBlock DockPanel.Dock="Left" Foreground="White" VerticalAlignment="Center" Margin="10,0">Ctrl+Enter,提交。</TextBlock>
        </DockPanel>
    </Grid>
</Window>

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

AI 解读 AI

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

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