//--------------------------------------------------------------------------
        public void OnLoadDocumentProcessing(
            FileInfo documentFile, int percent, ref bool cancel)
        {
            cancel = _currentLoadingScreen.CancelClicked;
            if (cancel)
            {
                return;
            }

            _currentLoadingScreen.Invoke((MethodInvoker) delegate {
                _currentLoadingScreen.SetProgress(percent);
                _currentLoadingScreen.SetLabel(_documentsLoader.GetDescription());
            });
        }