public override bool Close()
        {
            bool result = false;

            if (CanBeClosed())
            {
                Hide();
                result = true;
                ScreenClosed?.Invoke();
            }
            return(result);
        }
示例#2
0
        protected override void OnClosed()
        {
            base.OnClosed();

            ScreenClosed?.Invoke(this);
        }
示例#3
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);

            ScreenClosed?.Invoke(this);
        }