Esempio n. 1
0
        private void resultItem_Drop(object sender, DragEventArgs e)
        {
            ArchiveItem selectedArchiveItem = (ArchiveItem)(sender as Grid).DataContext;
            InputDragDrop inputDD = new InputDragDrop(e);
            if (inputDD.ObjectHasDataPresent == false) { return; }

            e.Handled = true;

            vmArchive.ArchiveInput(inputDD, selectedArchiveItem.DirInfo);
        }
Esempio n. 2
0
        private void Grid_Drop(object sender, DragEventArgs e)
        {
            vmSearchPage.UserIsDragging = false;

            InputDragDrop inputDD = new InputDragDrop(e);
            if (inputDD.ObjectHasDataPresent == false) { return; }

            vmSearchPage.AddInput(inputDD);
        }