Hi OpenDental
Could you please add the following hook for me.
private void FillMain(){
if (Plugins.HookMethod(this, "FormConfirmList.FillMain_End", this))
return;
Thanks
MOpenSoft
Hook Request: butText_Click in FormConfirmList.cs
Re: Hook Request: butText_Click in FormConfirmList.cs
I am confused. Where do you want this hook?
Do you want it in butText or FillMain? Also if wherever you want it, do you want it at the beginning or end of the method? I would assume at the beginning, but then it is named incorrectly.
This hook would fall in-line with our patterns if that is what you are looking for.
Code: Select all
private void FillMain(){
if (Plugins.HookMethod(this, "FormConfirmList.FillMain_End", this))
return;
Code: Select all
private void butText_Click() {
if (Plugins.HookMethod(this,"FormConfirmList.butText_Click_start",this)) {
return;
}
Re: Hook Request: butText_Click in FormConfirmList.cs
It is FillMain_Start and placed at the beginning. I do want to replace this function. Thanks
Code: Select all
private void FillMain(){
if (Plugins.HookMethod(this, "FormConfirmList.FillMain_Start", this))
return;
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Hook Request: butText_Click in FormConfirmList.cs
Also you pass the form (this) into the method, but you should already have access to it.
Is there a specific reason you need it passed in?
Code: Select all
private void FillMain(){
if (Plugins.HookMethod(this, "FormConfirmList.FillMain_Start", this))
return;