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