I have a form that performs a specific task on form load. This is working properly. My question is, how do I disable/ignore this form load if I'm trying to open a submitted form. I only need to run the below code on creation.
using Microsoft.Office.InfoPath;
using System;
using System.Xml;
using System.Xml.XPath;namespace ...