HYPDM.WinUI.Document.DocRegForm.OnClosing C# (CSharp) Method