Esempio n. 1
0
        private void OnTransferStarted(TransferStartedEventArgs e)
        {
            if (_transferProgressDialog == null)
            {
                _transferProgressDialog = new TransferProgressDialog(e.Sender as ITransferManagerViewModel);
                _transferProgressDialog.Closing += TransferProgressDialogOnClosing;
                _transferProgressDialog.Closed += TransferProgressDialogOnClosed;
            }

            MainWindowHitTestVisible(false);
            _isAbortionInProgress = false;
            _transferProgressDialog.Show();
        }
Esempio n. 2
0
 private void TransferProgressDialogOnClosed(object sender, EventArgs e)
 {
     MainWindowHitTestVisible(true);
     _transferProgressDialog.Closed -= TransferProgressDialogOnClosed;
     _transferProgressDialog = null;
 }