mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
block
This commit is contained in:
@@ -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