Example #1
0
        public void Close()
        {
            // If this was a dialog box we need to reactivate the parent
            if (!(dialog_parent is null))
            {
                dialog_parent.Activate();
                dialog_parent = null;
            }

            window.Dispose();
        }
Example #2
0
 public void Close() => window.Dispose();