//****************************************************************** /// <summary> /// Sets moInstance back to null when the form is closed. /// </summary> protected override void OnClosed(EventArgs oArgs) { try { moInstance = null; } catch (Exception oException) { ShowException(oException); } }