So if the hook looks some thing like this:
Code: Select all
Plugins.HookAddCode(this,"FormPatientEdit.Load_end",PatCur);
Code: Select all
OpenDental.UI.Button myButton = new OpenDental.UI.Button();
myButton.Name = "btnGreatAndWondrous";
myButton.Text = "Great and Wondrous Button";
myButton.Location = new System.Drawing.Point(8, 665);
myButton.Size = new System.Drawing.Size(115, 26);
myButton.Click += btnGreatAndWondrous_Click;
formPatientEdit.Controls.Add(myButton);
Now that I've downloaded 18.2, the plugin is failing on the line "formPatientEdit.Controls.Add(myButton);" because "Controls" is not a property of the form object anymore. The OpenDental project forms still inherit from ODForms, but now ODForms inherits from ODFormsAbs<Signalod> implements ISignalProcessor. When I reference formPatientEdit, the only methods available me are:
- - Equals
- GetHashCode
- GetType
- OnProcessObjects
- OnProcessSignals
- ShowHelp
- ToString
Is this something that isn't possible anymore or is there a new way of doing it that I just have not been able to find?
Thanks,
Dirk