C2025-038 Code cleanup to prevent multiple events from being assigned to the same method.
This commit is contained in:
@@ -393,6 +393,7 @@ namespace VEPROMS
|
||||
{
|
||||
SetupForProcedure();
|
||||
_MyTimer = new Timer();
|
||||
_MyTimer.Tick -= new EventHandler(_MyTimer_Tick);
|
||||
_MyTimer.Tick += new EventHandler(_MyTimer_Tick);
|
||||
_MyTimer.Interval = 100;
|
||||
_MyTimer.Enabled = true;
|
||||
|
Reference in New Issue
Block a user