// A static method to set the status and optionally update the reference. // This is useful if you are in a section of code that has a variable // set of status string updates. In that case, don't set the reference. static public void SetStatus(string newStatus, bool setReference) { if (ms_frmSplash == null) { return; } ms_frmSplash.m_sStatus = newStatus; if (setReference) { ms_frmSplash.SetReferenceInternal(); } }