C2025-038 Code cleanup to prevent multiple events from being assigned to the same method.
This commit is contained in:
@@ -254,6 +254,7 @@ namespace VEPROMS
|
||||
if (CancelStop) btnCancel.Visible = true;
|
||||
Application.DoEvents();
|
||||
|
||||
MyPromsPrinter.StatusChanged -= new PromsPrinterStatusEvent(pp_StatusChanged);
|
||||
MyPromsPrinter.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
|
||||
MyPromsPrinter.DocReplace = DocReplace; // used when approve generates an export with unlinked ROs and Transitions
|
||||
|
||||
|
Reference in New Issue
Block a user