diff --git a/Machining/DemoUseMachiningProject.cs b/Machining/DemoUseMachiningProject.cs index 47ed66e..6289040 100644 --- a/Machining/DemoUseMachiningProject.cs +++ b/Machining/DemoUseMachiningProject.cs @@ -38,7 +38,7 @@ public static class DemoUseMachiningProject using StreamWriter writer = new StreamWriter("msg.txt"); //show message if something abnormal. - localProjectService.SessionProgress.CollectionItemAdded += pack => + localProjectService.MixedProgress.CollectionItemAdded += pack => { if (pack.Tags.Contains(MessageFlag.Warning.ToString()) || pack.Tags.Contains(MessageFlag.Error.ToString()) ||