|
@@ -86,14 +86,8 @@
|
|
|
<Grid Grid.Row="2">
|
|
|
<DockPanel LastChildFill="True" >
|
|
|
<TextBlock Text="前置项描述:" Style="{StaticResource textBlockStyle}" />
|
|
|
- <RichTextBox Margin="0,5,5,5" >
|
|
|
- <FlowDocument>
|
|
|
- <Paragraph>
|
|
|
- <Run Text="{Binding BeforeDetail,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
- </Paragraph>
|
|
|
- </FlowDocument>
|
|
|
-
|
|
|
- </RichTextBox>
|
|
|
+ <TextBox x:Name="txtBefore" TextWrapping="Wrap" Text="{Binding BeforeDetail }" AcceptsReturn="True" KeyDown="txtBefore_KeyDown"/>
|
|
|
+
|
|
|
</DockPanel>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
@@ -174,14 +168,8 @@
|
|
|
<Grid Grid.Row="2">
|
|
|
<DockPanel LastChildFill="True" >
|
|
|
<TextBlock Text="输入项描述:" Style="{StaticResource textBlockStyle}" />
|
|
|
- <RichTextBox Margin="0,5,5,5" >
|
|
|
- <FlowDocument>
|
|
|
- <Paragraph>
|
|
|
- <Run Text="{Binding InDetail,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
- </Paragraph>
|
|
|
- </FlowDocument>
|
|
|
+ <TextBox x:Name="txtIn" TextWrapping="Wrap" Text="{Binding InDetail,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" AcceptsReturn="True" KeyDown="txtIn_KeyDown"/>
|
|
|
|
|
|
- </RichTextBox>
|
|
|
</DockPanel>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
@@ -263,14 +251,9 @@
|
|
|
<Grid Grid.Row="2">
|
|
|
<DockPanel LastChildFill="True" >
|
|
|
<TextBlock Text="结果项描述:" Style="{StaticResource textBlockStyle}" />
|
|
|
- <RichTextBox Margin="0,5,5,5" >
|
|
|
- <FlowDocument>
|
|
|
- <Paragraph>
|
|
|
- <Run Text="{Binding OutDetail,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
- </Paragraph>
|
|
|
- </FlowDocument>
|
|
|
+
|
|
|
+ <TextBox x:Name="txtOut" TextWrapping="Wrap" Text="{Binding OutDetail,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" AcceptsReturn="True" KeyDown="txtOut_KeyDown"/>
|
|
|
|
|
|
- </RichTextBox>
|
|
|
</DockPanel>
|
|
|
</Grid>
|
|
|
</Grid>
|