mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
@@ -25,8 +25,11 @@ namespace AIStudio.Wpf.CSharpScript
|
||||
是不是很简单。
|
||||
|
||||
### 2.本次扩展的主要内容
|
||||
|
||||
【1】.可编程模块,使用C#语言。
|
||||
|
||||
【2】.控制台打印控件,可以打印程序中的Console.WriteLine数据
|
||||
|
||||
【3】.为了便于大家使用,写了一个Box工厂分配Box的数据流向效果图。
|
||||
|
||||
### 3.可编程模块的实现原理
|
||||
@@ -243,13 +246,18 @@ public class TextEditorThemeHelper
|
||||
```
|
||||
使用方法:
|
||||
TextEditorThemeHelper.SetCurrentTheme("VS2019_Dark");
|
||||
|
||||
或者
|
||||
TextEditorThemeHelper.SetCurrentTheme("TrueBlue");
|
||||
|
||||
或者
|
||||
TextEditorThemeHelper.SetCurrentTheme("Dark");
|
||||
|
||||
或者
|
||||
TextEditorThemeHelper.SetCurrentTheme("Light");
|
||||
|
||||
是不是超级简单。
|
||||
|
||||
### 5.代码编辑模块的编译与测试。
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user