Hi OpenDental
Could you please add the following hook for me.
private void butText_Click(object sender,EventArgs e) {
if (Plugins.HookMethod(this, "FormApptEdit.butText_Click_Start", pat, AptCur, this))
{
return;
}
Thanks
MOpenSoft
Hook Request: butText_Click in FormApptEdit.cs
Re: Hook Request: butText_Click in FormApptEdit.cs
Can you also modify the existing hook at the end of FormApptEdit_load function from:
to
I found that my existing hook is not very useful to get appointment info.
Thanks
Code: Select all
Plugins.HookAddCode(this,"FormApptEdit.Load_End",pat,butText);
Code: Select all
Plugins.HookAddCode(this,"FormApptEdit.Load_End",AptCur);
Thanks
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Hook Request: butText_Click in FormApptEdit.cs
We cannot modify existing hooks because other plugins may rely on them. I can add another hook at the end that does what you want.
It would look like this.
Code: Select all
Plugins.HookAddCode(this,"FormApptEdit.Load_end2",AptCur);
Re: Hook Request: butText_Click in FormApptEdit.cs
Thanks Allen
Although the existing one was mine request but it's not harm to get both.
Cheers
Minh
Although the existing one was mine request but it's not harm to get both.
Cheers
Minh
MOpenSoft
info@mopensoft.com
info@mopensoft.com
Re: Hook Request: butText_Click in FormApptEdit.cs
Code: Select all
if(Plugins.HookMethod(this,"FormApptEdit.butText_Click_start",pat,AptCur,this)) {
return;
}
Code: Select all
Plugins.HookAddCode(this,"FormApptEdit.Load_end2",AptCur);