Page 1 of 1

Hook Request - Signals

Posted: Sat Jun 07, 2014 7:55 pm
by jsalmon

Code: Select all

Plugins.HookAddCode(this,"FormOpenDental.ProcessSignals_end",sigList);
Allen, since I need access to sigList, it can't be at the absolute "end" of the method. It has to be at the end of the try block. I don't think the name needs to be renamed because who will ever care about failed signal processing? I'm open to suggestions if you disagree.

Exact hook placement:

Code: Select all

...
try {
	...
	newThread.Start(sigListButs);
	Plugins.HookAddCode(this,"FormOpenDental.ProcessSignals_end",sigList);
}
catch {
	signalLastRefreshed=DateTime.Now;
}