According to my knowledge, unfortunately NO
As a workaround, you may always use the
public void _Shutdown()
{
}
Method, But, code such as:
public void _Shutdown()
{
thisXDocument.UI.Alert("Exit");
}
Will never work, due to some InfoPath restrictions, and it does not seam to
me you will be able to block the form shutdown process either.
> Is there anyway to capture Infopath SP1 events from a windows form like
> beforeExit etc.
> Something like Word's ApplicationEvents2 ?
>
> Nick.