Make FillCharges method public
Posted: Wed May 26, 2021 4:28 pm
Would it be possible for OpenDental.FormPayPlan.FillCharges() to be changed from private to public? One of our plugins overrides the default FormPayPlanChargeEdit with a custom one and I've noticed that I need to call FillCharges() in order for the UI to update after a change.
I currently use the following code, but I would like to be able to just call _FormPayPlan.FillCharges();
I currently use the following code, but I would like to be able to just call _FormPayPlan.FillCharges();
Code: Select all
_FormPayPlan.GetType()
.GetMethod("FillCharges", BindingFlags.NonPublic | BindingFlags.Instance)
.Invoke(_FormPayPlan, new object[] { });