Home Cooker Classes Others Rice CookerGX
Classes  >  ehswitch  >  Stop()
ehswitch class : Stop() method

Description

Stops the execution of the event handler.

Syntax

ehswitchInstance.Stop()

Arguments

None

Return value

None

Sample code

open method void LoadCompleted(navigationeventargs ea)

ea.EHSwitch.Stop();

message m;

m.MessageDialog("This is a one-time event handler.");

return;

endmethod

Notes

If a event handler is already stopped, re-call of this method will be ignored.

Links for reference

None

Copyright © Rice All rights reserved.