mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-06-07 02:18:20 +08:00
block
This commit is contained in:
+10
-1
@@ -430,7 +430,16 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
|
||||
public override async void PreviewExecuteEdit()
|
||||
{
|
||||
await BeforeExecute();
|
||||
var items = (this.GetFirst() ?? this).GetNexts(true);
|
||||
|
||||
items.ForEach(p => p.IsExecuting = true);
|
||||
}
|
||||
|
||||
public override async void ExitPreviewExecuteEdit()
|
||||
{
|
||||
var items = (this.GetFirst() ?? this).GetNexts(true);
|
||||
|
||||
items.ForEach(p => p.IsExecuting = false);
|
||||
}
|
||||
|
||||
public async Task Execute()
|
||||
|
||||
Reference in New Issue
Block a user