I need a hook at the top of OpenDentBusiness > Plugins as I need to manipulate the plugin filename before it loads. So the effect of what I want to do would be like so:
public static void LoadAllPlugins(Form host) {
Code: Select all
Version MainAppVersion = new Version(System.Windows.Forms.Application.ProductVersion);
Version MainAppMajMin = new Version(MainAppVersion.Major, MainAppVersion.Minor);
string fileName = "Anesthesia" + POut.String(MainAppMajMin.ToString()) + ".dll";
File.Copy(fileName, "Anesthesia.dll", true);
//No need to check RemotingRole; no call to db.
PluginList=new List<PluginContainer>();
so that the hook would insert what I have delineated in the code box. Hope thats clear.
