Method Overwrite Contact Edit Form
Posted: Wed Mar 11, 2015 10:12 pm
Hi All,
I want to over write the ok button click event of contact edit form.
I am using the below code but it is not working. Please guide me what i am doing wrong in it.
public override bool HookAddCode(object sender, string hookName, params object[] parameters)
{
try
{
switch (hookName)
{
case "FormContactEdit.Load_end":
MessageBox.Show("inside contact edit in plugin");
return true;
default:
return false;
}
}
catch (Exception pcex)
{
return false;
}
}
I want to over write the ok button click event of contact edit form.
I am using the below code but it is not working. Please guide me what i am doing wrong in it.
public override bool HookAddCode(object sender, string hookName, params object[] parameters)
{
try
{
switch (hookName)
{
case "FormContactEdit.Load_end":
MessageBox.Show("inside contact edit in plugin");
return true;
default:
return false;
}
}
catch (Exception pcex)
{
return false;
}
}