Exemplo n.º 1
0
        protected override bool DoClose(CefBrowser browser)
        {
            var e = new FormiumCloseEventArgs();

            _owner.InvokeIfRequired(() => _owner.OnBeforeClose(e));


            if (!e.Canceled)
            {
                _owner.Close(true);
            }

            return(e.Canceled);
        }