Esempio n. 1
0
        private void toPdfButton_Click(object sender, EventArgs e)
        {
            OpenFileDialog fd = CreateIndexPickupDialog();

            if (fd.ShowDialog(this) == DialogResult.OK)
            {
                var archiver   = new PdfArchiver();
                var workingDir = GetWorkingDirectory(fd.FileNames[0], "pdf", "*.wiki");
                DumpFileToArchive(fd.FileNames, archiver.Archive, Dumper.CreateRawDumper, workingDir, ".pdf", ".wiki");
            }
        }
Esempio n. 2
0
        private void toPdfButton_Click(object sender, EventArgs e)
        {
            OpenFileDialog fd = CreateIndexPickupDialog();

            if (fd.ShowDialog(this) == DialogResult.OK)
            {
                var archiver = new PdfArchiver();
                var workingDir = GetWorkingDirectory(fd.FileNames[0], "pdf", "*.wiki");
                DumpFileToArchive(fd.FileNames, archiver.Archive, Dumper.CreateRawDumper, workingDir,  ".pdf", ".wiki");
            }
        }