There is no screenshot visible...
I am not sure if this is what you are asking, but if you have multiple forms in the entity, and you want to display the message bar only on a particular form, you can do that by checking which form you are on...
Example:
var frm = Xrm.Page.ui.formSelector.getCurrentItem();
var agreementTypeCode = 0;
if (frm != null) {
var formLabel = frm.getLabel();
if (formLabel.toUpperCase() == "Main Form") {
Xrm.Page.ui.setFormNotification("The information on this form is for internal purposes only", ...);
}
else
{
}
}