FormOpenDental.Load_end hook problem
Posted: Wed Sep 15, 2010 7:55 am
I have two separate plugin projects which need to operate on the OD file menu.
So each has the following in Plugin.cs (one uses FormOpenDentalA and the other FormOpenDentalT):
The problem I'm running into: Whichever plugin is listed first alphabetically seems to prevent the other's HookAddCode from executing.
The declarations look like
Does anything obvious stick out?
So each has the following in Plugin.cs (one uses FormOpenDentalA and the other FormOpenDentalT):
Code: Select all
public override bool HookAddCode(object sender, string hookName, params object[] parameters){//required method
switch (hookName){
case "FormOpenDental.Load_end":
FormOpenDentalA.Load_end((OpenDental.FormOpenDental)sender, patNum);
return true;
default:
return false;
}
}The declarations look like
Code: Select all
namespace Anesthesia{
///<summary></summary>
public class FormOpenDentalA : Control{
//Adds Anesthesia Menu to Main OpenDental Menu Bar
public static FormOpenDentalA formOpenDentalA;
public FormOpenDentalA(){