Bloom.CollectionChoosing.OpenAndCreateCollectionDialog.OpenAndCreateCollectionDialog_DragDrop C# (CSharp) Метод

OpenAndCreateCollectionDialog_DragDrop() приватный Метод

private OpenAndCreateCollectionDialog_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
Результат void
        private void OpenAndCreateCollectionDialog_DragDrop(object sender, DragEventArgs e)
        {
            var files = (string[])e.Data.GetData(DataFormats.FileDrop);
            if (files.Length == 1)
            {
                _openAndCreateControl.SelectCollectionAndClose(files[0]);
            }
        }