C2025-038 Code cleanup to prevent multiple events from being assigned to the same method.

This commit is contained in:
jjenko committed 2025-07-10 10:47:06 -04:00
1 parent 9ef9dcd7b9
commit 2953e977ef
18 files changed
+71 -1

No files matched your search

@@ -211,7 +211,9 @@ namespace Volian.Controls.Library
}
_myRTB = value;
MyRTB.LinkChanged -= new StepRTBLinkEvent(MyRTB_LinkChanged);
MyRTB.LinkChanged += new StepRTBLinkEvent(MyRTB_LinkChanged);
MyRTB.SelectionChanged -= new EventHandler(MyRTB_SelectionChanged);
MyRTB.SelectionChanged += new EventHandler(MyRTB_SelectionChanged);
if (string.IsNullOrEmpty(MyRTB.MyLinkText))