EX添加日志记录
This commit is contained in:
commit
aa1b08f6c4
4 files changed
+86
-3
No files matched your search
+2
-2
@@ -5,12 +5,12 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:formula_manage.EX"
|
||||
mc:Ignorable="d"
|
||||
Title="ExProgram" Height="450" Width="800">
|
||||
Title="ExProgram" Height="450" Width="800" Background="#FFE0E0E0">
|
||||
<Grid>
|
||||
|
||||
|
||||
|
||||
<RichTextBox Margin="0,300,0,0" IsReadOnly="True">
|
||||
<RichTextBox x:Name="textLog" Margin="0,300,0,0" IsReadOnly="True" VerticalScrollBarVisibility="Visible" Background="White">
|
||||
<FlowDocument>
|
||||
<Paragraph>
|
||||
<Run Text="TEXTLOG"/>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using formula_manage.UserClass;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -22,6 +23,7 @@ namespace formula_manage.EX
|
||||
public ExProgram()
|
||||
{
|
||||
InitializeComponent();
|
||||
Log.SetTextControl(textLog);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user