예제 #1
0
        private void MovePdfdown(PdfDocument pdfDocument)
        {
            var index = PDFs.IndexOf(pdfDocument);

            if (index != PDFs.Count - 1)
            {
                PDFs.Move(index, index + 1);
            }
        }
예제 #2
0
        private void MovePdfUp(PdfDocument pdfDocument)
        {
            var index = PDFs.IndexOf(pdfDocument);

            if (index != 0)
            {
                PDFs.Move(index, index - 1);
            }
        }