Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Invoke() [1/2]

virtual void System.ComponentModel.Design.MenuCommand.Invoke ( )
inlinevirtual

Definition at line 88 of file MenuCommand.cs.

89 {
90 if (_execHandler == null)
91 {
92 return;
93 }
94 try
95 {
96 _execHandler(this, EventArgs.Empty);
97 }
98 catch (CheckoutException ex)
99 {
100 if (ex == CheckoutException.Canceled)
101 {
102 return;
103 }
104 throw;
105 }
106 }

References System.ComponentModel.Design.MenuCommand._execHandler, System.ComponentModel.Design.CheckoutException.Canceled, and System.EventArgs.Empty.

Referenced by System.ComponentModel.Design.MenuCommand.Invoke().