BatchGuy.App.CreateAviSynthFilesForm.HandlesCreateAviSynthFilesFormDragDrop C# (CSharp) Méthode

HandlesCreateAviSynthFilesFormDragDrop() private méthode

private HandlesCreateAviSynthFilesFormDragDrop ( DragEventArgs e ) : void
e DragEventArgs
Résultat void
        private void HandlesCreateAviSynthFilesFormDragDrop(DragEventArgs e)
        {
            try
            {
                foreach (string file in (Array)e.Data.GetData(DataFormats.FileDrop))
                {
                    if (this.IsBatchGuyEac3toSettingsFile(file))
                    {
                        this.HandlesLoadToolStripMenuItemClick(file);
                    }
                }
            }
            catch (Exception ex)
            {
                _displayErrorMessageService.DisplayError(new ErrorMessage() { DisplayMessage = "There was an error loading the avisynth files!", DisplayTitle = "Error.", Exception = ex, MethodNameWhereExceptionOccurred = MethodBase.GetCurrentMethod().Name });
            }
        }