BatchGuy.App.CreateEAC3ToBatchForm.HandleDgvBluRayDiscInfoDragDrop C# (CSharp) Метод

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

private HandleDgvBluRayDiscInfoDragDrop ( DragEventArgs e ) : void
e System.Windows.Forms.DragEventArgs
Результат void
        private void HandleDgvBluRayDiscInfoDragDrop(DragEventArgs e)
        {
            foreach (string folder in (Array)e.Data.GetData(DataFormats.FileDrop))
            {
                if (this.IsADirectory(folder) && this.NotADuplicate(folder))
                {
                    _bindingListBluRayDiscInfo.Add(new BluRayDiscInfo() { Id = _bindingListBluRayDiscInfo.Count() + 1, IsSelected = false, BluRayPath = folder });
                }
            }
            if (_bindingListBluRayDiscInfo.Count() > 0)
            {
                this.BindDgvBluRayDiscInfoGrid();

                _bluRayDiscGridSortConfiguration.SortDirection = 0; //reset for new discs
                this.SortBluRayDiscGrid(2);
            }
        }
CreateEAC3ToBatchForm